// Update is called once per frame void Update() { timeToCreate.Update(); if (timeToCreate.IsLimitReached()) { createNewElement(); } }
public override void OnUpdate() { TimerUtil.Update(); EventCenter.Broadcast <int>(EventType.coutdown, TimerUtil.Timer); }