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