static int DOScale(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); if (count == 3 && TypeChecker.CheckTypes(L, 1, typeof(ToLua_UnityEngine_Transform), typeof(float), typeof(float))) { ToLua_UnityEngine_Transform obj = (ToLua_UnityEngine_Transform)ToLua.ToObject(L, 1); float arg0 = (float)LuaDLL.lua_tonumber(L, 2); float arg1 = (float)LuaDLL.lua_tonumber(L, 3); DG.Tweening.Tweener o = obj.DOScale(arg0, arg1); ToLua.PushObject(L, o); return(1); } else if (count == 3 && TypeChecker.CheckTypes(L, 1, typeof(ToLua_UnityEngine_Transform), typeof(UnityEngine.Vector3), typeof(float))) { ToLua_UnityEngine_Transform obj = (ToLua_UnityEngine_Transform)ToLua.ToObject(L, 1); UnityEngine.Vector3 arg0 = ToLua.ToVector3(L, 2); float arg1 = (float)LuaDLL.lua_tonumber(L, 3); DG.Tweening.Tweener o = obj.DOScale(arg0, arg1); ToLua.PushObject(L, o); return(1); } else { return(LuaDLL.luaL_throw(L, "invalid arguments to method: ToLua_UnityEngine_Transform.DOScale")); } } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int DOBlendableScaleBy(IntPtr L) { try { ToLua.CheckArgsCount(L, 3); ToLua_UnityEngine_Transform obj = (ToLua_UnityEngine_Transform)ToLua.CheckObject(L, 1, typeof(ToLua_UnityEngine_Transform)); UnityEngine.Vector3 arg0 = ToLua.ToVector3(L, 2); float arg1 = (float)LuaDLL.luaL_checknumber(L, 3); DG.Tweening.Tweener o = obj.DOBlendableScaleBy(arg0, arg1); ToLua.PushObject(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int DOMoveX(IntPtr L) { try { ToLua.CheckArgsCount(L, 4); ToLua_UnityEngine_Transform obj = (ToLua_UnityEngine_Transform)ToLua.CheckObject(L, 1, typeof(ToLua_UnityEngine_Transform)); float arg0 = (float)LuaDLL.luaL_checknumber(L, 2); float arg1 = (float)LuaDLL.luaL_checknumber(L, 3); bool arg2 = LuaDLL.luaL_checkboolean(L, 4); DG.Tweening.Tweener o = obj.DOMoveX(arg0, arg1, arg2); ToLua.PushObject(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int DOLookAt(IntPtr L) { try { ToLua.CheckArgsCount(L, 5); ToLua_UnityEngine_Transform obj = (ToLua_UnityEngine_Transform)ToLua.CheckObject(L, 1, typeof(ToLua_UnityEngine_Transform)); UnityEngine.Vector3 arg0 = ToLua.ToVector3(L, 2); float arg1 = (float)LuaDLL.luaL_checknumber(L, 3); DG.Tweening.AxisConstraint arg2 = (DG.Tweening.AxisConstraint)ToLua.CheckObject(L, 4, typeof(DG.Tweening.AxisConstraint)); System.Nullable <UnityEngine.Vector3> arg3 = (System.Nullable <UnityEngine.Vector3>)ToLua.CheckVarObject(L, 5, typeof(System.Nullable <UnityEngine.Vector3>)); DG.Tweening.Tweener o = obj.DOLookAt(arg0, arg1, arg2, arg3); ToLua.PushObject(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int DOLocalJump(IntPtr L) { try { ToLua.CheckArgsCount(L, 6); ToLua_UnityEngine_Transform obj = (ToLua_UnityEngine_Transform)ToLua.CheckObject(L, 1, typeof(ToLua_UnityEngine_Transform)); UnityEngine.Vector3 arg0 = ToLua.ToVector3(L, 2); float arg1 = (float)LuaDLL.luaL_checknumber(L, 3); int arg2 = (int)LuaDLL.luaL_checknumber(L, 4); float arg3 = (float)LuaDLL.luaL_checknumber(L, 5); bool arg4 = LuaDLL.luaL_checkboolean(L, 6); DG.Tweening.Sequence o = obj.DOLocalJump(arg0, arg1, arg2, arg3, arg4); ToLua.PushObject(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int DOLocalPath(IntPtr L) { try { ToLua.CheckArgsCount(L, 7); ToLua_UnityEngine_Transform obj = (ToLua_UnityEngine_Transform)ToLua.CheckObject(L, 1, typeof(ToLua_UnityEngine_Transform)); UnityEngine.Vector3[] arg0 = ToLua.CheckObjectArray <UnityEngine.Vector3>(L, 2); float arg1 = (float)LuaDLL.luaL_checknumber(L, 3); DG.Tweening.PathType arg2 = (DG.Tweening.PathType)ToLua.CheckObject(L, 4, typeof(DG.Tweening.PathType)); DG.Tweening.PathMode arg3 = (DG.Tweening.PathMode)ToLua.CheckObject(L, 5, typeof(DG.Tweening.PathMode)); int arg4 = (int)LuaDLL.luaL_checknumber(L, 6); System.Nullable <UnityEngine.Color> arg5 = (System.Nullable <UnityEngine.Color>)ToLua.CheckVarObject(L, 7, typeof(System.Nullable <UnityEngine.Color>)); DG.Tweening.Core.TweenerCore <UnityEngine.Vector3, DG.Tweening.Plugins.Core.PathCore.Path, DG.Tweening.Plugins.Options.PathOptions> o = obj.DOLocalPath(arg0, arg1, arg2, arg3, arg4, arg5); ToLua.PushObject(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int _CreateToLua_UnityEngine_Transform(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); if (count == 0) { ToLua_UnityEngine_Transform obj = new ToLua_UnityEngine_Transform(); ToLua.PushObject(L, obj); return(1); } else { return(LuaDLL.luaL_throw(L, "invalid arguments to ctor method: ToLua_UnityEngine_Transform.New")); } } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }