public GetSides ( Transform relativeTo ) : Vector3[] | ||
relativeTo | Transform | |
Результат | Vector3[] |
static int GetSides(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 2); UIRect.AnchorPoint obj = (UIRect.AnchorPoint)LuaScriptMgr.GetNetObjectSelf(L, 1, "UIRect.AnchorPoint"); Transform arg0 = (Transform)LuaScriptMgr.GetUnityObject(L, 2, typeof(Transform)); Vector3[] o = obj.GetSides(arg0); LuaScriptMgr.PushArray(L, o); return(1); }
static public int GetSides(IntPtr l) { try { UIRect.AnchorPoint self = (UIRect.AnchorPoint)checkSelf(l); UnityEngine.Transform a1; checkType(l, 2, out a1); var ret = self.GetSides(a1); pushValue(l, true); pushValue(l, ret); return(2); } catch (Exception e) { return(error(l, e)); } }