FairyGUI.Window.ToggleStatus C# (CSharp) Method

ToggleStatus() public method

Switch show and hide status.
public ToggleStatus ( ) : void
return void
        public void ToggleStatus()
        {
            if (isTop)
                Hide();
            else
                Show();
        }

Usage Example

 static public int ToggleStatus(IntPtr l)
 {
     try {
         FairyGUI.Window self = (FairyGUI.Window)checkSelf(l);
         self.ToggleStatus();
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
All Usage Examples Of FairyGUI.Window::ToggleStatus