protected override void Awake() { base.Awake(); if (!isDuplicate) { date = new CalenderDate(startingHour); date.AddSeconds(Time.realtimeSinceStartup); } }
private void Update() { date.AddSeconds(Time.unscaledDeltaTime * timeScale); CheckEvents(); }
protected override void Awake() { base.Awake(); if (!isDuplicate) { date = new CalenderDate(startingHour); date.AddSeconds(Time.realtimeSinceStartup); } }
private void Update() { date.AddSeconds(Time.unscaledDeltaTime * timeScale); CheckEvents(); }