public override void Dispose() { if (_content.texture != null) { if (_contentItem == null) FreeExternal(image.texture); } if (_errorSign != null) _errorSign.Dispose(); _content.Dispose(); base.Dispose(); }
static public int Dispose(IntPtr l) { try { FairyGUI.GLoader self = (FairyGUI.GLoader)checkSelf(l); self.Dispose(); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }