public FrequencyUpdateBatch(float frequency) { behaviours = new Dictionary <MonoBehaviour, List <System.Action> >(); timer = new StratusCountdown(frequency); timer.SetCallback(Invoke); timer.resetOnFinished = true; }
//------------------------------------------------------------------------/ // Messages //------------------------------------------------------------------------/ protected override void OnAwake() { timer = new StratusCountdown(duration); timer.SetCallback(OnTimerFinished); timer.resetOnFinished = resetOnDisabled; }