mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-29 04:53:06 +00:00
Update DoubleDate.cs
Replace references to 'noon' with 'sunset'
This commit is contained in:
parent
59c928f16b
commit
8564146d9c
1 changed files with 7 additions and 7 deletions
|
@ -79,7 +79,7 @@ namespace HeavenStudio.Games.Loaders
|
||||||
defaultLength = 0.5f,
|
defaultLength = 0.5f,
|
||||||
parameters = new()
|
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")]
|
[Header("Variables")]
|
||||||
[SerializeField] private Color _skyColor;
|
[SerializeField] private Color _skyColor;
|
||||||
[SerializeField] private Color noonColor;
|
[SerializeField] private Color sunsetColor;
|
||||||
[SerializeField] private float _animSpeed = 1.25f;
|
[SerializeField] private float _animSpeed = 1.25f;
|
||||||
[SerializeField] public float cloudSpeed;
|
[SerializeField] public float cloudSpeed;
|
||||||
[SerializeField] public float cloudDistance;
|
[SerializeField] public float cloudDistance;
|
||||||
|
@ -192,7 +192,7 @@ namespace HeavenStudio.Games
|
||||||
public enum DayTime
|
public enum DayTime
|
||||||
{
|
{
|
||||||
Day,
|
Day,
|
||||||
Noon
|
Sunset
|
||||||
}
|
}
|
||||||
|
|
||||||
private void DayTimeCheck(double beat)
|
private void DayTimeCheck(double beat)
|
||||||
|
@ -206,9 +206,9 @@ namespace HeavenStudio.Games
|
||||||
|
|
||||||
public void SetTime(int time)
|
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;
|
bgSquare.color = squareColor;
|
||||||
bgGradient.sprite = bgLong;
|
bgGradient.sprite = bgLong;
|
||||||
return;
|
return;
|
||||||
|
@ -246,7 +246,7 @@ namespace HeavenStudio.Games
|
||||||
{
|
{
|
||||||
instance = this;
|
instance = this;
|
||||||
SetupBopRegion("doubleDate", "bop", "autoBop");
|
SetupBopRegion("doubleDate", "bop", "autoBop");
|
||||||
doubleDateCellAnim.SetColor("_Color", noonColor);
|
doubleDateCellAnim.SetColor("_Color", sunsetColor);
|
||||||
squareColor = bgSquare.color;
|
squareColor = bgSquare.color;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue