Exemple #1
0
 public void set(UIWidgetsWaitForSeconds yieldStatement)
 {
     if (this._current != yieldStatement)
     {
         this._current    = yieldStatement;
         this._targetTime = Timer.timeSinceStartup + yieldStatement.waitTime;
     }
 }
Exemple #2
0
        public bool moveNext(IEnumerator enumerator)
        {
            if (this._targetTime <= Timer.timeSinceStartup)
            {
                this._current    = null;
                this._targetTime = 0;
                return(enumerator.MoveNext());
            }

            return(true);
        }