public void CloseAllWindows() { GObject[] arr = _children.ToArray(); foreach (GObject g in arr) { if (g is Window) HideWindowImmediately(g as Window); } }
static public int CloseAllWindows(IntPtr l) { try { FairyGUI.GRoot self = (FairyGUI.GRoot)checkSelf(l); self.CloseAllWindows(); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }