private static void OnAsyncSignalReceived(CollabTesting.AsyncState stateToRemove) { if ((CollabTesting._nextState & stateToRemove) != CollabTesting.AsyncState.NotWaiting) { CollabTesting._nextState &= ~stateToRemove; if (CollabTesting._nextState == CollabTesting.AsyncState.NotWaiting) { CollabTesting.Execute(); } } }
public static void OnAssetUpdate() { if ((CollabTesting._nextState & CollabTesting.AsyncState.WaitForAssetUpdate) != CollabTesting.AsyncState.NotWaiting) { CollabTesting._nextState &= ~CollabTesting.AsyncState.WaitForAssetUpdate; if (CollabTesting._nextState == CollabTesting.AsyncState.NotWaiting) { CollabTesting.Execute(); } } }
public static void OnCompleteJob() { if ((CollabTesting._nextState & CollabTesting.AsyncState.WaitForJobComplete) != CollabTesting.AsyncState.NotWaiting) { CollabTesting._nextState &= ~CollabTesting.AsyncState.WaitForJobComplete; if (CollabTesting._nextState == CollabTesting.AsyncState.NotWaiting) { CollabTesting.Execute(); } } }
public static void OnCompleteJob() { CollabTesting.Execute(); }