static public int Hide(IntPtr l) { try { FairyGUI.Window self = (FairyGUI.Window)checkSelf(l); self.Hide(); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static int Hide(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); FairyGUI.Window obj = (FairyGUI.Window)ToLua.CheckObject(L, 1, typeof(FairyGUI.Window)); obj.Hide(); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
/// <summary> /// Call window.Hide /// 关闭一个窗口。将调用Window.Hide方法。 /// </summary> /// <param name="win"></param> public void HideWindow(Window win) { win.Hide(); }