Browse Source

Added UnityEngine.UI to Timer Class

master
JoshuaReason 5 years ago
parent
commit
6f404b65ab
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      Assets/Scipts/Timer.cs

+ 2
- 1
Assets/Scipts/Timer.cs View File

@ -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 () {

Loading…
Cancel
Save