mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-12 10:07:38 +02:00
Fixed some play and pause bugs in the editor
This commit is contained in:
@ -92,13 +92,14 @@ namespace RhythmHeavenMania.Editor
|
||||
public void SelectGame(string gameName, int index)
|
||||
{
|
||||
mg = EventCaller.instance.minigames.Find(c => c.displayName == gameName);
|
||||
transform.GetChild(index).GetChild(0).gameObject.SetActive(true);
|
||||
SelectedMinigame = gameName;
|
||||
gameOpen = true;
|
||||
|
||||
DestroyEvents();
|
||||
AddEvents();
|
||||
|
||||
transform.GetChild(index).GetChild(0).gameObject.SetActive(true);
|
||||
|
||||
currentEventIndex = 0;
|
||||
UpdateIndex(0, false);
|
||||
|
||||
|
Reference in New Issue
Block a user