public static void RegisterRunOnceTask(UITimerTask.TimerTick action) { UI.UITimerTask uiTimerTask = new UI.UITimerTask(action); uiTimerTask.Enabled = true; uiTimerTask.RunOnce = true; UIMsgQueueSystem.InternalMsgPumpRegister(uiTimerTask); }
public static void RegisterTimerTask(int intervalMillisec, UITimerTask.TimerTick timerTick) { UITimerTask timerTask = new UITimerTask(timerTick); timerTask.IntervalInMillisec = intervalMillisec; UIMsgQueueSystem.InternalMsgPumpRegister(timerTask); timerTask.Enabled = true; }
public static void RegisterRunOnceTask(Action <UITimerTask> action) { UIMsgQueueSystem.InternalMsgPumpRegister(new UI.UITimerTask(action) { Enabled = true, RunOnce = true }); }
protected static void InvokeMsgPumpOneStep() { if (s_Closing) { return; } // UIMsgQueueSystem.InternalMsgPumpOneStep(); }
public static void RegisterTimerTask(UITimerTask uiTimerTask) { UIMsgQueueSystem.InternalMsgPumpRegister(uiTimerTask); }
protected static void InvokeMsgPumpOneStep() { UIMsgQueueSystem.InternalMsgPumpOneStep(); }