HideWindow() public method

Call window.Hide 关闭一个窗口。将调用Window.Hide方法。
public HideWindow ( Window win ) : void
win Window
return void
 static public int HideWindow(IntPtr l)
 {
     try {
         FairyGUI.GRoot  self = (FairyGUI.GRoot)checkSelf(l);
         FairyGUI.Window a1;
         checkType(l, 2, out a1);
         self.HideWindow(a1);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Example #2
0
 static int HideWindow(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         FairyGUI.GRoot  obj  = (FairyGUI.GRoot)ToLua.CheckObject(L, 1, typeof(FairyGUI.GRoot));
         FairyGUI.Window arg0 = (FairyGUI.Window)ToLua.CheckObject(L, 2, typeof(FairyGUI.Window));
         obj.HideWindow(arg0);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }