/// Garbage free static public IYieldInstruction WaitFrameEnd(this object target) { _WaitFrameEnd pWaiter = CoroutineMgr._Instance._waitFramePool.Get(); return(pWaiter); }
internal void _FreeFrameWaiter(_WaitFrameEnd pWaiter) { Debugger.Assert(pWaiter.GetRef() == 0); _waitFramePool.Free(pWaiter); }