public static void RunCallbacks(uint limit = 0) { if (limit == 0) { PXR_Callback.RunCallbacks(); } else { PXR_Callback.RunLimitedCallbacks(limit); } }
public PXR_Request <T> OnComplete(PXR_Message <T> .Callback callback) { if (msgCallback != null) { throw new UnityException("Attempted to attach multiple handlers to a Request. This is not allowed."); } msgCallback = callback; PXR_Callback.AddRequest(this); return(this); }
public static void RunCallbacks(uint limit = 0) { // default of 0 will run callbacks on all messages on the queue if (limit == 0) { PXR_Callback.RunCallbacks(); } else { PXR_Callback.RunLimitedCallbacks(limit); } }
void OnApplicationQuit() { PXR_Callback.OnApplicationQuit(); }
public Request OnComplete(PXR_Message.Callback callback) { callback_ = callback; PXR_Callback.AddRequest(this); return(this); }