From 1bf0df585552bd306aef4690a9d53258ce0f8c9b Mon Sep 17 00:00:00 2001 From: Carson Kompon Date: Wed, 2 Mar 2022 23:40:59 -0500 Subject: [PATCH] Added WASD to Editor, Made Autoplay P as a result --- Assets/Scripts/LevelEditor/Timeline/Timeline.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Assets/Scripts/LevelEditor/Timeline/Timeline.cs b/Assets/Scripts/LevelEditor/Timeline/Timeline.cs index 6096d7eb2..c29d74e8b 100644 --- a/Assets/Scripts/LevelEditor/Timeline/Timeline.cs +++ b/Assets/Scripts/LevelEditor/Timeline/Timeline.cs @@ -173,7 +173,7 @@ namespace RhythmHeavenMania.Editor.Track Tooltip.AddTooltip(StopBTN.gameObject, "Stop [Space]"); Tooltip.AddTooltip(MetronomeBTN.gameObject, "Metronome [M]"); - Tooltip.AddTooltip(AutoplayBTN.gameObject, "Autoplay [A]"); + Tooltip.AddTooltip(AutoplayBTN.gameObject, "Autoplay [P]"); Tooltip.AddTooltip(SelectionsBTN.gameObject, "Tool: Selection [1]"); Tooltip.AddTooltip(TempoChangeBTN.gameObject, "Tool: Tempo Change [2]"); @@ -258,7 +258,7 @@ namespace RhythmHeavenMania.Editor.Track } } - if (Input.GetKeyDown(KeyCode.A)) + if (Input.GetKeyDown(KeyCode.P)) { AutoPlayToggle(); } @@ -292,11 +292,11 @@ namespace RhythmHeavenMania.Editor.Track float moveSpeed = 750; if (Input.GetKey(KeyCode.LeftShift)) moveSpeed *= 2; - if (Input.GetKey(KeyCode.LeftArrow)) + if (Input.GetKey(KeyCode.LeftArrow) || Input.GetKey(KeyCode.A)) { TimelineContent.transform.localPosition += new Vector3(moveSpeed * Time.deltaTime, 0); } - else if (Input.GetKey(KeyCode.RightArrow)) + else if (Input.GetKey(KeyCode.RightArrow) || Input.GetKey(KeyCode.D)) { TimelineContent.transform.localPosition += new Vector3(-moveSpeed * Time.deltaTime, 0); }