|
@ -1,6 +1,7 @@ |
|
|
using System.Collections; |
|
|
using System.Collections; |
|
|
using System.Collections.Generic; |
|
|
using System.Collections.Generic; |
|
|
using UnityEngine; |
|
|
using UnityEngine; |
|
|
|
|
|
using UnityEngine.UI; |
|
|
|
|
|
|
|
|
public class Timer : MonoBehaviour { |
|
|
public class Timer : MonoBehaviour { |
|
|
|
|
|
|
|
@ -16,7 +17,7 @@ public class Timer : MonoBehaviour { |
|
|
|
|
|
|
|
|
void Start() |
|
|
void Start() |
|
|
{ |
|
|
{ |
|
|
Sun.gameObject.GetComponent<Image>().Color = Dawn; |
|
|
|
|
|
|
|
|
Sun.gameObject.GetComponent<Image>().color = Dawn; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
void Update () { |
|
|
void Update () { |
|
|