static public IYieldInstruction WaitUntil(this object target, ICondition pConditionObject, float fTimeOut = float.PositiveInfinity) { _WaitConditionObj pWaiter = new _WaitConditionObj(); pWaiter.SetParams(pConditionObject, fTimeOut, null); return(pWaiter); }
static public IYieldInstruction DoUpdateUntil(this object target, Action updateHandler, ICondition pConditionObject, float fTimeOut = float.PositiveInfinity) { _WaitConditionObj pWaiter = new _WaitConditionObj(); pWaiter.SetParams(pConditionObject, fTimeOut, updateHandler); return(pWaiter); }