public void BringToFront() { GRoot r = this.root; if (r == null) { r = GRoot.inst; } r.ShowWindow(this); }
static public int ShowWindow(IntPtr l) { try { FairyGUI.GRoot self = (FairyGUI.GRoot)checkSelf(l); FairyGUI.Window a1; checkType(l, 2, out a1); self.ShowWindow(a1); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static int ShowWindow(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.ShowWindow(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
/// <summary> /// /// </summary> /// <param name="r"></param> public void ShowOn(GRoot r) { r.ShowWindow(this); }
/// <summary> /// /// </summary> /// <param name="r"></param> public void ShowOn(GRoot r) { //r.ShowWindow(this); OnGetGlobalIndex(); r.ShowWindow(this, _global_index); }