예제 #1
0
 /// <summary>
 /// Like <see cref="Poll"/>, but blocks until there is an event in the queue.
 /// </summary>
 /// <param name="scene">event handler</param>
 /// <returns></returns>
 public static void Wait(EventQueueBox box)
 {
     PollOrWaitReal(box, true);
 }
예제 #2
0
 /// <summary>
 /// Handle event queue.
 /// </summary>
 /// <param name="scene">event handler</param>
 /// <returns></returns>
 public static bool Poll(EventQueueBox box)
 {
     return(PollOrWaitReal(box, true));
 }