Ejemplo n.º 1
0
    public static TimerObj LazyScheduleTimer(float duration, TimerObj.FinishTimerDelegate _finishTimerDelegate)
    {
        TimerObj timer = new TimerObj(duration, _finishTimerDelegate);

        timer.isSchedule = true;
        return(timer);
    }
Ejemplo n.º 2
0
 public static TimerObj LazyTimer(float duration, TimerObj.FinishTimerDelegate _finishTimerDelegate)
 {
     return(new TimerObj(duration, _finishTimerDelegate));
 }