static int SetHorizontal(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 3); UIRect.AnchorPoint obj = (UIRect.AnchorPoint)LuaScriptMgr.GetNetObjectSelf(L, 1, "UIRect.AnchorPoint"); Transform arg0 = (Transform)LuaScriptMgr.GetUnityObject(L, 2, typeof(Transform)); float arg1 = (float)LuaScriptMgr.GetNumber(L, 3); obj.SetHorizontal(arg0, arg1); return(0); }
static public int SetHorizontal(IntPtr l) { try { UIRect.AnchorPoint self = (UIRect.AnchorPoint)checkSelf(l); UnityEngine.Transform a1; checkType(l, 2, out a1); System.Single a2; checkType(l, 3, out a2); self.SetHorizontal(a1, a2); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }