コード例 #1
0
        static public IYieldInstruction WaitUntil(this object target, ICondition pConditionObject, float fTimeOut = float.PositiveInfinity)
        {
            _WaitConditionObj pWaiter = new _WaitConditionObj();

            pWaiter.SetParams(pConditionObject, fTimeOut, null);
            return(pWaiter);
        }
コード例 #2
0
        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);
        }