public CenterOn ( |
||
r | ||
restraint | bool | Add relations to ensure keeping center on screen size changed. |
리턴 | void |
static int CenterOn(IntPtr L) { try { ToLua.CheckArgsCount(L, 3); FairyGUI.Window obj = (FairyGUI.Window)ToLua.CheckObject(L, 1, typeof(FairyGUI.Window)); FairyGUI.GRoot arg0 = (FairyGUI.GRoot)ToLua.CheckObject(L, 2, typeof(FairyGUI.GRoot)); bool arg1 = LuaDLL.luaL_checkboolean(L, 3); obj.CenterOn(arg0, arg1); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static public int CenterOn(IntPtr l) { try { FairyGUI.Window self = (FairyGUI.Window)checkSelf(l); FairyGUI.GRoot a1; checkType(l, 2, out a1); System.Boolean a2; checkType(l, 3, out a2); self.CenterOn(a1, a2); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }