From 80f72292a69e082b668c2afa1270dcbab61e9a9e Mon Sep 17 00:00:00 2001 From: blank3times <105398129+blank3times@users.noreply.github.com> Date: Sat, 20 Jan 2024 23:15:51 -0800 Subject: [PATCH] Update DoubleDate.cs Replace references to 'noon' with 'sunset' --- Assets/Scripts/Games/DoubleDate/DoubleDate.cs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Assets/Scripts/Games/DoubleDate/DoubleDate.cs b/Assets/Scripts/Games/DoubleDate/DoubleDate.cs index 02457f1e..de35b592 100644 --- a/Assets/Scripts/Games/DoubleDate/DoubleDate.cs +++ b/Assets/Scripts/Games/DoubleDate/DoubleDate.cs @@ -79,7 +79,7 @@ namespace HeavenStudio.Games.Loaders defaultLength = 0.5f, parameters = new() { - new("d", DoubleDate.DayTime.Noon, "Time", "Set the time of day.") + new("d", DoubleDate.DayTime.Sunset, "Time", "Set the time of day.") } } }, @@ -123,7 +123,7 @@ namespace HeavenStudio.Games [Header("Variables")] [SerializeField] private Color _skyColor; - [SerializeField] private Color noonColor; + [SerializeField] private Color sunsetColor; [SerializeField] private float _animSpeed = 1.25f; [SerializeField] public float cloudSpeed; [SerializeField] public float cloudDistance; @@ -192,7 +192,7 @@ namespace HeavenStudio.Games public enum DayTime { Day, - Noon + Sunset } private void DayTimeCheck(double beat) @@ -206,9 +206,9 @@ namespace HeavenStudio.Games public void SetTime(int time) { - if (time == (int)DayTime.Noon) + if (time == (int)DayTime.Sunset) { - doubleDateCellAnim.SetColor("_Color", noonColor); + doubleDateCellAnim.SetColor("_Color", sunsetColor); bgSquare.color = squareColor; bgGradient.sprite = bgLong; return; @@ -246,7 +246,7 @@ namespace HeavenStudio.Games { instance = this; SetupBopRegion("doubleDate", "bop", "autoBop"); - doubleDateCellAnim.SetColor("_Color", noonColor); + doubleDateCellAnim.SetColor("_Color", sunsetColor); squareColor = bgSquare.color; } @@ -508,4 +508,4 @@ namespace HeavenStudio.Games return shadow; } } -} \ No newline at end of file +}