mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-10 11:45:09 +00:00
Editor: Autoplay button updates at start to reflect autoplay status.
This commit is contained in:
parent
890dfecbad
commit
96e7b7c3e1
1 changed files with 8 additions and 0 deletions
|
@ -189,6 +189,14 @@ namespace RhythmHeavenMania.Editor.Track
|
|||
MetronomeBTN.transform.GetChild(0).GetComponent<Image>().color = Color.gray;
|
||||
|
||||
timelineState.SetState(true, false, false);
|
||||
|
||||
AutoBtnUpdate();
|
||||
}
|
||||
|
||||
public void AutoBtnUpdate()
|
||||
{
|
||||
var animName = GameManager.instance.autoplay ? "Idle" : "Disabled";
|
||||
AutoplayBTN.GetComponent<Animator>().Play(animName, 0, 0);
|
||||
}
|
||||
|
||||
public static string RandomID()
|
||||
|
|
Loading…
Reference in a new issue