예제 #1
0
 public static CTimer ScheduleTimer(Action callback, float delay = 0.0f, bool repeated = false, string name = null)
 {
     return(s_sharedInstance.Schedule(callback, delay, repeated, name));
 }
        private void SchedulePost(CNotification notification)
        {
            CTimer timer = m_timerManager.Schedule(PostCallback);

            timer.userData = notification;
        }