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