public override void Apply() { if (_controller == null || pages == null || pages.Length == 0 || Array.IndexOf(pages, _controller.selectedPageId) != -1) _owner.internalVisible++; else _owner.internalVisible = 0; }
static public int Apply(IntPtr l) { try { FairyGUI.GearDisplay self = (FairyGUI.GearDisplay)checkSelf(l); self.Apply(); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }