/// <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); }
/// <summary> /// Handle event queue. /// </summary> /// <param name="scene">event handler</param> /// <returns></returns> public static bool Poll(EventQueueBox box) { return(PollOrWaitReal(box, true)); }