// Use this for initialization void Start() { clock = this.GetComponent <Clock>(); clock.IsFrozen = false; hour = clock.GetClockHour(); minute = clock.GetClockMinute(); cP = GUICheckpoint.inst; cP.Toggle(false); journal = Journal.inst; }
void Awake() { if (inst == null) { inst = this; } else { Destroy(this); } canvasGroup = GetComponent <CanvasGroup>(); }