diff --git a/Assets/Scripts/LevelEditor/Timeline/Timeline.cs b/Assets/Scripts/LevelEditor/Timeline/Timeline.cs index f943747bd..13ab01b33 100644 --- a/Assets/Scripts/LevelEditor/Timeline/Timeline.cs +++ b/Assets/Scripts/LevelEditor/Timeline/Timeline.cs @@ -189,6 +189,14 @@ namespace RhythmHeavenMania.Editor.Track MetronomeBTN.transform.GetChild(0).GetComponent().color = Color.gray; timelineState.SetState(true, false, false); + + AutoBtnUpdate(); + } + + public void AutoBtnUpdate() + { + var animName = GameManager.instance.autoplay ? "Idle" : "Disabled"; + AutoplayBTN.GetComponent().Play(animName, 0, 0); } public static string RandomID()