public void Remove() { if (button != null && button.displayObject.parent != null) _owner.RemoveChild(button.displayObject); }
static public int Remove(IntPtr l) { try { FairyGUI.Utils.HtmlButton self = (FairyGUI.Utils.HtmlButton)checkSelf(l); self.Remove(); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }