static int ResetAndUpdateAnchors(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 1); UIRect obj = (UIRect)LuaScriptMgr.GetUnityObjectSelf(L, 1, "UIRect"); obj.ResetAndUpdateAnchors(); return(0); }
static int ResetAndUpdateAnchors(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 1); UIRect obj = LuaScriptMgr.GetNetObject <UIRect>(L, 1); obj.ResetAndUpdateAnchors(); return(0); }
static public int ResetAndUpdateAnchors(IntPtr l) { try { UIRect self = (UIRect)checkSelf(l); self.ResetAndUpdateAnchors(); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static int ResetAndUpdateAnchors(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); UIRect obj = (UIRect)ToLua.CheckObject(L, 1, typeof(UIRect)); obj.ResetAndUpdateAnchors(); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
private static int ResetAndUpdateAnchors(IntPtr L) { int result; try { ToLua.CheckArgsCount(L, 1); UIRect uIRect = (UIRect)ToLua.CheckObject(L, 1, typeof(UIRect)); uIRect.ResetAndUpdateAnchors(); result = 0; } catch (Exception e) { result = LuaDLL.toluaL_exception(L, e, null); } return(result); }