public System.Int32 Invoke_HotFix_Int32_Int32_Int32(HotFix arg0, System.Int32 arg1, System.Int32 arg2) { LuaAPI.PushLuaFunction(L, reference); LuaCallback.PushObject(L, arg0); LuaCallback.PushNumber(L, arg1); LuaCallback.PushNumber(L, arg2); LuaAPI.CallLuaFunction(L, 3, 1); System.Int32 arg3 = (System.Int32)LuaCallback.ToNumber(L, -1); return(arg3); }
public static int set_hideFlags(System.IntPtr L) { if (true && LuaAPI.IsObject(L, 1) && LuaAPI.IsNumber(L, 3)) { UnityEngine.Object arg0 = (UnityEngine.Object)LuaCallback.ToObject(L, 1); UnityEngine.HideFlags arg1 = (UnityEngine.HideFlags)LuaCallback.ToNumber(L, 3); arg0.hideFlags = arg1; return(0); } return(0); }
public static int set_hierarchyCapacity(System.IntPtr L) { if (true && LuaAPI.IsObject(L, 1) && LuaAPI.IsNumber(L, 3)) { UnityEngine.Transform arg0 = (UnityEngine.Transform)LuaCallback.ToObject(L, 1); System.Int32 arg1 = (System.Int32)LuaCallback.ToNumber(L, 3); arg0.hierarchyCapacity = arg1; return(0); } return(0); }
public static int GetChild(System.IntPtr L) { int nargs = LuaAPI.GetTop(L); if (nargs == 2 && LuaAPI.IsObject(L, 1) && LuaAPI.IsNumber(L, 2)) { UnityEngine.Transform arg0 = (UnityEngine.Transform)LuaCallback.ToObject(L, 1); System.Int32 arg1 = (System.Int32)LuaCallback.ToNumber(L, 2); UnityEngine.Transform res = arg0.GetChild(arg1); LuaCallback.PushObject(L, res); return(1); } return(0); }
public static int SetSiblingIndex(System.IntPtr L) { int nargs = LuaAPI.GetTop(L); if (nargs == 2 && LuaAPI.IsObject(L, 1) && LuaAPI.IsNumber(L, 2)) { UnityEngine.Transform arg0 = (UnityEngine.Transform)LuaCallback.ToObject(L, 1); System.Int32 arg1 = (System.Int32)LuaCallback.ToNumber(L, 2); arg0.SetSiblingIndex(arg1); return(0); } return(0); }
public static int Invoke(System.IntPtr L) { int nargs = LuaAPI.GetTop(L); if (nargs == 3 && LuaAPI.IsObject(L, 1) && LuaAPI.IsString(L, 2) && LuaAPI.IsNumber(L, 3)) { UnityEngine.MonoBehaviour arg0 = (UnityEngine.MonoBehaviour)LuaCallback.ToObject(L, 1); System.String arg1 = (System.String)LuaCallback.ToString(L, 2); System.Single arg2 = (System.Single)LuaCallback.ToNumber(L, 3); arg0.Invoke(arg1, arg2); return(0); } return(0); }
public static int Add(System.IntPtr L) { int nargs = LuaAPI.GetTop(L); if (nargs == 3 && LuaAPI.IsObject(L, 1) && LuaAPI.IsNumber(L, 2) && LuaAPI.IsNumber(L, 3)) { HotFix arg0 = (HotFix)LuaCallback.ToObject(L, 1); System.Int32 arg1 = (System.Int32)LuaCallback.ToNumber(L, 2); System.Int32 arg2 = (System.Int32)LuaCallback.ToNumber(L, 3); System.Int32 res = arg0.Add(arg1, arg2); LuaCallback.PushNumber(L, res); return(1); } return(0); }
public static int RotateAround(System.IntPtr L) { int nargs = LuaAPI.GetTop(L); if (nargs == 4 && LuaAPI.IsObject(L, 1) && LuaAPI.IsVector3(L, 2) && LuaAPI.IsVector3(L, 3) && LuaAPI.IsNumber(L, 4)) { UnityEngine.Transform arg0 = (UnityEngine.Transform)LuaCallback.ToObject(L, 1); UnityEngine.Vector3 arg1 = (UnityEngine.Vector3)LuaCallback.ToVector3(L, 2); UnityEngine.Vector3 arg2 = (UnityEngine.Vector3)LuaCallback.ToVector3(L, 3); System.Single arg3 = (System.Single)LuaCallback.ToNumber(L, 4); arg0.RotateAround(arg1, arg2, arg3); return(0); } return(0); }
public static int BroadcastMessage(System.IntPtr L) { int nargs = LuaAPI.GetTop(L); if (nargs == 4 && LuaAPI.IsObject(L, 1) && LuaAPI.IsString(L, 2) && LuaAPI.IsObject(L, 3) && LuaAPI.IsNumber(L, 4)) { UnityEngine.Component arg0 = (UnityEngine.Component)LuaCallback.ToObject(L, 1); System.String arg1 = (System.String)LuaCallback.ToString(L, 2); System.Object arg2 = (System.Object)LuaCallback.ToObject(L, 3); UnityEngine.SendMessageOptions arg3 = (UnityEngine.SendMessageOptions)LuaCallback.ToNumber(L, 4); arg0.BroadcastMessage(arg1, arg2, arg3); return(0); } if (nargs == 3 && LuaAPI.IsObject(L, 1) && LuaAPI.IsString(L, 2) && LuaAPI.IsObject(L, 3)) { UnityEngine.Component arg0 = (UnityEngine.Component)LuaCallback.ToObject(L, 1); System.String arg1 = (System.String)LuaCallback.ToString(L, 2); System.Object arg2 = (System.Object)LuaCallback.ToObject(L, 3); arg0.BroadcastMessage(arg1, arg2); return(0); } if (nargs == 2 && LuaAPI.IsObject(L, 1) && LuaAPI.IsString(L, 2)) { UnityEngine.Component arg0 = (UnityEngine.Component)LuaCallback.ToObject(L, 1); System.String arg1 = (System.String)LuaCallback.ToString(L, 2); arg0.BroadcastMessage(arg1); return(0); } if (nargs == 3 && LuaAPI.IsObject(L, 1) && LuaAPI.IsString(L, 2) && LuaAPI.IsNumber(L, 3)) { UnityEngine.Component arg0 = (UnityEngine.Component)LuaCallback.ToObject(L, 1); System.String arg1 = (System.String)LuaCallback.ToString(L, 2); UnityEngine.SendMessageOptions arg2 = (UnityEngine.SendMessageOptions)LuaCallback.ToNumber(L, 3); arg0.BroadcastMessage(arg1, arg2); return(0); } return(0); }
public static int Destroy(System.IntPtr L) { int nargs = LuaAPI.GetTop(L); if (nargs == 2 && LuaAPI.IsObject(L, 1) && LuaAPI.IsNumber(L, 2)) { UnityEngine.Object arg0 = (UnityEngine.Object)LuaCallback.ToObject(L, 1); System.Single arg1 = (System.Single)LuaCallback.ToNumber(L, 2); UnityEngine.Object.Destroy(arg0, arg1); return(0); } if (nargs == 1 && LuaAPI.IsObject(L, 1)) { UnityEngine.Object arg0 = (UnityEngine.Object)LuaCallback.ToObject(L, 1); UnityEngine.Object.Destroy(arg0); return(0); } return(0); }
public static int InverseTransformPoint(System.IntPtr L) { int nargs = LuaAPI.GetTop(L); if (nargs == 2 && LuaAPI.IsObject(L, 1) && LuaAPI.IsVector3(L, 2)) { UnityEngine.Transform arg0 = (UnityEngine.Transform)LuaCallback.ToObject(L, 1); UnityEngine.Vector3 arg1 = (UnityEngine.Vector3)LuaCallback.ToVector3(L, 2); UnityEngine.Vector3 res = arg0.InverseTransformPoint(arg1); LuaCallback.PushVector(L, res); return(1); } if (nargs == 4 && LuaAPI.IsObject(L, 1) && LuaAPI.IsNumber(L, 2) && LuaAPI.IsNumber(L, 3) && LuaAPI.IsNumber(L, 4)) { UnityEngine.Transform arg0 = (UnityEngine.Transform)LuaCallback.ToObject(L, 1); System.Single arg1 = (System.Single)LuaCallback.ToNumber(L, 2); System.Single arg2 = (System.Single)LuaCallback.ToNumber(L, 3); System.Single arg3 = (System.Single)LuaCallback.ToNumber(L, 4); UnityEngine.Vector3 res = arg0.InverseTransformPoint(arg1, arg2, arg3); LuaCallback.PushVector(L, res); return(1); } return(0); }
public static int Translate(System.IntPtr L) { int nargs = LuaAPI.GetTop(L); if (nargs == 3 && LuaAPI.IsObject(L, 1) && LuaAPI.IsVector3(L, 2) && LuaAPI.IsNumber(L, 3)) { UnityEngine.Transform arg0 = (UnityEngine.Transform)LuaCallback.ToObject(L, 1); UnityEngine.Vector3 arg1 = (UnityEngine.Vector3)LuaCallback.ToVector3(L, 2); UnityEngine.Space arg2 = (UnityEngine.Space)LuaCallback.ToNumber(L, 3); arg0.Translate(arg1, arg2); return(0); } if (nargs == 2 && LuaAPI.IsObject(L, 1) && LuaAPI.IsVector3(L, 2)) { UnityEngine.Transform arg0 = (UnityEngine.Transform)LuaCallback.ToObject(L, 1); UnityEngine.Vector3 arg1 = (UnityEngine.Vector3)LuaCallback.ToVector3(L, 2); arg0.Translate(arg1); return(0); } if (nargs == 5 && LuaAPI.IsObject(L, 1) && LuaAPI.IsNumber(L, 2) && LuaAPI.IsNumber(L, 3) && LuaAPI.IsNumber(L, 4) && LuaAPI.IsNumber(L, 5)) { UnityEngine.Transform arg0 = (UnityEngine.Transform)LuaCallback.ToObject(L, 1); System.Single arg1 = (System.Single)LuaCallback.ToNumber(L, 2); System.Single arg2 = (System.Single)LuaCallback.ToNumber(L, 3); System.Single arg3 = (System.Single)LuaCallback.ToNumber(L, 4); UnityEngine.Space arg4 = (UnityEngine.Space)LuaCallback.ToNumber(L, 5); arg0.Translate(arg1, arg2, arg3, arg4); return(0); } if (nargs == 4 && LuaAPI.IsObject(L, 1) && LuaAPI.IsNumber(L, 2) && LuaAPI.IsNumber(L, 3) && LuaAPI.IsNumber(L, 4)) { UnityEngine.Transform arg0 = (UnityEngine.Transform)LuaCallback.ToObject(L, 1); System.Single arg1 = (System.Single)LuaCallback.ToNumber(L, 2); System.Single arg2 = (System.Single)LuaCallback.ToNumber(L, 3); System.Single arg3 = (System.Single)LuaCallback.ToNumber(L, 4); arg0.Translate(arg1, arg2, arg3); return(0); } if (nargs == 3 && LuaAPI.IsObject(L, 1) && LuaAPI.IsVector3(L, 2) && LuaAPI.IsObject(L, 3)) { UnityEngine.Transform arg0 = (UnityEngine.Transform)LuaCallback.ToObject(L, 1); UnityEngine.Vector3 arg1 = (UnityEngine.Vector3)LuaCallback.ToVector3(L, 2); UnityEngine.Transform arg2 = (UnityEngine.Transform)LuaCallback.ToObject(L, 3); arg0.Translate(arg1, arg2); return(0); } if (nargs == 5 && LuaAPI.IsObject(L, 1) && LuaAPI.IsNumber(L, 2) && LuaAPI.IsNumber(L, 3) && LuaAPI.IsNumber(L, 4) && LuaAPI.IsObject(L, 5)) { UnityEngine.Transform arg0 = (UnityEngine.Transform)LuaCallback.ToObject(L, 1); System.Single arg1 = (System.Single)LuaCallback.ToNumber(L, 2); System.Single arg2 = (System.Single)LuaCallback.ToNumber(L, 3); System.Single arg3 = (System.Single)LuaCallback.ToNumber(L, 4); UnityEngine.Transform arg4 = (UnityEngine.Transform)LuaCallback.ToObject(L, 5); arg0.Translate(arg1, arg2, arg3, arg4); return(0); } return(0); }