ToggleStatus() public method

Switch show and hide status.
public ToggleStatus ( ) : void
return void
 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));
     }
 }
Ejemplo n.º 2
0
 static int ToggleStatus(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         FairyGUI.Window obj = (FairyGUI.Window)ToLua.CheckObject(L, 1, typeof(FairyGUI.Window));
         obj.ToggleStatus();
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }