Esempio n. 1
0
        public UnityAwaiter SecondsUnscaled(float secondsToWait)
        {
            RegisterUpdates();

            unscaledTimeAwaiter.AddContinuation(new UnscaledTimeContinuation(UnityAsyncManager.unscaledTime + secondsToWait));
            return(unscaledTimeAwaiter);
        }
Esempio n. 2
0
        public UnityAwaiter Custom(CustomYieldInstruction instruction)
        {
            RegisterUpdates();

            customAwaiter.AddContinuation(new CustomContinuation(instruction));
            return(customAwaiter);
        }
Esempio n. 3
0
        public UnityAwaiter Seconds(float secondsToWait)
        {
            RegisterUpdates();

            timeAwaiter.AddContinuation(new TimeContinuation(UnityAsyncManager.time + secondsToWait));
            return(timeAwaiter);
        }