diff --git a/Assets/Scipts/Timer.cs b/Assets/Scipts/Timer.cs index 2013fcf..599ef5e 100644 --- a/Assets/Scipts/Timer.cs +++ b/Assets/Scipts/Timer.cs @@ -1,6 +1,7 @@ using System.Collections; using System.Collections.Generic; using UnityEngine; +using UnityEngine.UI; public class Timer : MonoBehaviour { @@ -16,7 +17,7 @@ public class Timer : MonoBehaviour { void Start() { - Sun.gameObject.GetComponent().Color = Dawn; + Sun.gameObject.GetComponent().color = Dawn; } void Update () {