mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-12 08:47:37 +02:00
Editor: Autoplay button updates at start to reflect autoplay status.
This commit is contained in:
@ -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()
|
||||
|
Reference in New Issue
Block a user