public KTimer(float time, TimerCallbackId callback, object state) { GameObject obj = Flow.config; KTimerManager timer = obj.AddComponent<KTimerManager>(); timer.StartCoroutine(timer.TimerId(time, state, callback)); this.timer = timer; }
public KTimer(float time, TimerCallbackId callback, object state) { GameObject obj = Flow.config; KTimerManager timer = obj.AddComponent <KTimerManager>(); timer.StartCoroutine(timer.TimerId(time, state, callback)); this.timer = timer; }