示例#1
0
        private void SchedulePost(Notification notification)
        {
            Timer timer = m_timerManager.Schedule(PostCallback);

            timer.userData = notification;
        }
 public static Timer ScheduleTimer(Action callback, float delay = 0.0f, bool repeated = false, string name = null)
 {
     return(s_sharedInstance.Schedule(callback, delay, repeated, name));
 }