Implement Quentin Changes

Added cloud scrolling
Made day/night a prefab
"Merged" changes with the default scene
This commit is contained in:
RochesterX
2025-03-03 11:35:56 -05:00
parent 5fc9ae4db6
commit b3928fe076
7 changed files with 2718 additions and 1668 deletions

View File

@@ -1,4 +1,5 @@
using System.Collections;
using NUnit.Framework.Constraints;
using UnityEngine;
public class DayNightCycle : MonoBehaviour
@@ -86,6 +87,13 @@ public class DayNightCycle : MonoBehaviour
Color color = sprite.color;
color.a = alpha;
sprite.color = color;
foreach (Transform child in sprite.transform)
{
if (child.TryGetComponent(out SpriteRenderer childSprite))
{
childSprite.color = color;
}
}
}
}
}