FairyGUI.GearDisplay.Apply C# (CSharp) Méthode

Apply() public méthode

public Apply ( ) : void
Résultat void
        public override void Apply()
        {
            if (_controller == null || pages == null || pages.Length == 0 || Array.IndexOf(pages, _controller.selectedPageId) != -1)
                _owner.internalVisible++;
            else
                _owner.internalVisible = 0;
        }

Usage Example

 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));
     }
 }