public static int set_timeScale(IntPtr L) { if (LuaAPI.IsNumber(L, -1)) { double arg0 = LuaAPI.ToNumber(L, -1); UnityEngine.Time.timeScale = (float)arg0; } 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 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 FindObjectOfType(System.IntPtr L) { int nargs = LuaAPI.GetTop(L); if (nargs == 1 && LuaAPI.IsNumber(L, 1)) { System.Type arg0 = (System.Type)LuaCallback.ToType(L, 1); UnityEngine.Object res = UnityEngine.Object.FindObjectOfType(arg0); LuaCallback.PushObject(L, res); return(1); } return(0); }
public static int GetComponentInParent(System.IntPtr L) { int nargs = LuaAPI.GetTop(L); if (nargs == 2 && LuaAPI.IsObject(L, 1) && LuaAPI.IsNumber(L, 2)) { UnityEngine.Component arg0 = (UnityEngine.Component)LuaCallback.ToObject(L, 1); System.Type arg1 = (System.Type)LuaCallback.ToType(L, 2); UnityEngine.Component res = arg0.GetComponentInParent(arg1); LuaCallback.PushObject(L, res); return(1); } 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 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 GetComponentsInChildren(System.IntPtr L) { int nargs = LuaAPI.GetTop(L); if (nargs == 3 && LuaAPI.IsObject(L, 1) && LuaAPI.IsNumber(L, 2) && LuaAPI.IsBool(L, 3)) { UnityEngine.Component arg0 = (UnityEngine.Component)LuaCallback.ToObject(L, 1); System.Type arg1 = (System.Type)LuaCallback.ToType(L, 2); System.Boolean arg2 = (System.Boolean)LuaCallback.ToBool(L, 3); UnityEngine.Component[] res = arg0.GetComponentsInChildren(arg1, arg2); LuaCallback.PushArray(L, res); return(1); } if (nargs == 2 && LuaAPI.IsObject(L, 1) && LuaAPI.IsNumber(L, 2)) { UnityEngine.Component arg0 = (UnityEngine.Component)LuaCallback.ToObject(L, 1); System.Type arg1 = (System.Type)LuaCallback.ToType(L, 2); UnityEngine.Component[] res = arg0.GetComponentsInChildren(arg1); LuaCallback.PushArray(L, res); return(1); } return(0); }
public static int GetComponents(System.IntPtr L) { int nargs = LuaAPI.GetTop(L); if (nargs == 2 && LuaAPI.IsObject(L, 1) && LuaAPI.IsNumber(L, 2)) { UnityEngine.Component arg0 = (UnityEngine.Component)LuaCallback.ToObject(L, 1); System.Type arg1 = (System.Type)LuaCallback.ToType(L, 2); UnityEngine.Component[] res = arg0.GetComponents(arg1); LuaCallback.PushArray(L, res); return(1); } if (nargs == 3 && LuaAPI.IsObject(L, 1) && LuaAPI.IsNumber(L, 2) && LuaAPI.IsObject(L, 3)) { UnityEngine.Component arg0 = (UnityEngine.Component)LuaCallback.ToObject(L, 1); System.Type arg1 = (System.Type)LuaCallback.ToType(L, 2); System.Collections.Generic.List <UnityEngine.Component> arg2 = (System.Collections.Generic.List <UnityEngine.Component>)LuaCallback.ToObject(L, 3); arg0.GetComponents(arg1, arg2); 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); }
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); }