public override void Dispose() { base.Dispose(); if (callback != null) { callback.OnFree(); callback = null; } if (_peerTable != null) { _peerTable.Dispose(); _peerTable = null; } }
public void SetLuaTalbe(LuaTable peerTable) { _peerTable = peerTable; callback = peerTable.Cast <ILuaWindow>(); }
public void SetLuaTalbe(LuaTable t) { mLuatable = t; callBack = mLuatable.Cast <ILuaWindow>(); }