mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-12 12:07:41 +02:00
event caller refactoring
change operation order of minigame loading
This commit is contained in:
@ -353,12 +353,12 @@ namespace HeavenStudio.Editor.Track
|
||||
if (!GameManager.instance.autoplay)
|
||||
{
|
||||
AutoplayBTN.GetComponent<Animator>().Play("Idle", 0, 0);
|
||||
GameManager.instance.autoplay = true;
|
||||
GameManager.instance.ToggleAutoplay(true);
|
||||
}
|
||||
else
|
||||
{
|
||||
AutoplayBTN.GetComponent<Animator>().Play("Disabled", 0, 0);
|
||||
GameManager.instance.autoplay = false;
|
||||
GameManager.instance.ToggleAutoplay(false);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user