Example #1
0
 public void ScheduleQueueing <T>(ICancelable cancel, T state, Action <T> action)
 {
     MainThreadDispatcher.StartEndOfFrameMicroCoroutine(ImmediateAction(state, action, cancel));
 }
Example #2
0
 public EndOfFrameMainThreadScheduler()
 {
     MainThreadDispatcher.Initialize();
 }
Example #3
0
 public void ScheduleQueueing <T>(ICancelable cancel, T state, Action <T> action)
 {
     MainThreadDispatcher.Post(QueuedAction <T> .Instance, Tuple.Create(cancel, state, action));
 }
Example #4
0
 public FixedUpdateMainThreadScheduler()
 {
     MainThreadDispatcher.Initialize();
 }
Example #5
0
 public MainThreadScheduler()
 {
     MainThreadDispatcher.Initialize();
     scheduleAction = new Action <object>(Schedule);
 }