static int Dispose(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); FairyGUI.NTexture obj = (FairyGUI.NTexture)ToLua.CheckObject <FairyGUI.NTexture>(L, 1); obj.Dispose(); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
protected virtual void FreeExternal(NTexture texture) { texture.Dispose(); }