public void dispose() { _dead = true; //外派事件销毁... loop = 1; isStopedEf = false; // _overJudge.Clear(); // _LinkerList.Clear(); EffectRenderObjManager.Instance().RemoveRenderobj(this); }
public void clear() { for (int i = 0; i < freeList.Count; i++) { if (freeList[i] != null) { EffectRenderObjManager.Instance().RemoveRenderobj(freeList[i], false); freeList[i].Release(); } } freeList.Clear(); }
static int Instance(IntPtr L) { try { ToLua.CheckArgsCount(L, 0); EffectRenderObjManager o = EffectRenderObjManager.Instance(); ToLua.PushObject(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }