|
|
@ -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<Image>().Color = Dawn; |
|
|
|
Sun.gameObject.GetComponent<Image>().color = Dawn; |
|
|
|
} |
|
|
|
|
|
|
|
void Update () { |
|
|
|