// Update is called once per frame void Update() { timer.Increment(Time.deltaTime); if (timer.IsTimeUp()) { timer.Reset(); Tick(); } }
// Update is called once per frame void Update() { timer.Increment(Time.deltaTime); if (timer.IsTimeUp()) { timer.Reset(); Tick(); } }