Example #1
0
	static int IntToEnum(IntPtr L)
	{
		int arg0 = (int)LuaDLL.lua_tonumber(L, 1);
		DG.Tweening.Ease o = (DG.Tweening.Ease)arg0;
		ToLua.Push(L, o);
		return 1;
	}
        static StackObject *SetEase_0(ILIntepreter __intp, StackObject *__esp, IList <object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject *ptr_of_this_method;
            StackObject *__ret = ILIntepreter.Minus(__esp, 2);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            DG.Tweening.Ease @ease = (DG.Tweening.Ease) typeof(DG.Tweening.Ease).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            DG.Tweening.Tweener @t = (DG.Tweening.Tweener) typeof(DG.Tweening.Tweener).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
            __intp.Free(ptr_of_this_method);


            var result_of_this_method = DG.Tweening.TweenSettingsExtensions.SetEase <DG.Tweening.Tweener>(@t, @ease);

            object obj_result_of_this_method = result_of_this_method;

            if (obj_result_of_this_method is CrossBindingAdaptorType)
            {
                return(ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance));
            }
            return(ILIntepreter.PushObject(__ret, __mStack, result_of_this_method));
        }
    static int EasedValue(IntPtr L)
    {
        try
        {
            int count = LuaDLL.lua_gettop(L);

            if (count == 4 && TypeChecker.CheckTypes <UnityEngine.AnimationCurve>(L, 4))
            {
                float arg0 = (float)LuaDLL.luaL_checknumber(L, 1);
                float arg1 = (float)LuaDLL.luaL_checknumber(L, 2);
                float arg2 = (float)LuaDLL.luaL_checknumber(L, 3);
                UnityEngine.AnimationCurve arg3 = (UnityEngine.AnimationCurve)ToLua.ToObject(L, 4);
                float o = DG.Tweening.DOVirtual.EasedValue(arg0, arg1, arg2, arg3);
                LuaDLL.lua_pushnumber(L, o);
                return(1);
            }
            else if (count == 4 && TypeChecker.CheckTypes <DG.Tweening.Ease>(L, 4))
            {
                float            arg0 = (float)LuaDLL.luaL_checknumber(L, 1);
                float            arg1 = (float)LuaDLL.luaL_checknumber(L, 2);
                float            arg2 = (float)LuaDLL.luaL_checknumber(L, 3);
                DG.Tweening.Ease arg3 = (DG.Tweening.Ease)ToLua.ToObject(L, 4);
                float            o    = DG.Tweening.DOVirtual.EasedValue(arg0, arg1, arg2, arg3);
                LuaDLL.lua_pushnumber(L, o);
                return(1);
            }
            else if (count == 5)
            {
                float            arg0 = (float)LuaDLL.luaL_checknumber(L, 1);
                float            arg1 = (float)LuaDLL.luaL_checknumber(L, 2);
                float            arg2 = (float)LuaDLL.luaL_checknumber(L, 3);
                DG.Tweening.Ease arg3 = (DG.Tweening.Ease)ToLua.CheckObject(L, 4, typeof(DG.Tweening.Ease));
                float            arg4 = (float)LuaDLL.luaL_checknumber(L, 5);
                float            o    = DG.Tweening.DOVirtual.EasedValue(arg0, arg1, arg2, arg3, arg4);
                LuaDLL.lua_pushnumber(L, o);
                return(1);
            }
            else if (count == 6)
            {
                float            arg0 = (float)LuaDLL.luaL_checknumber(L, 1);
                float            arg1 = (float)LuaDLL.luaL_checknumber(L, 2);
                float            arg2 = (float)LuaDLL.luaL_checknumber(L, 3);
                DG.Tweening.Ease arg3 = (DG.Tweening.Ease)ToLua.CheckObject(L, 4, typeof(DG.Tweening.Ease));
                float            arg4 = (float)LuaDLL.luaL_checknumber(L, 5);
                float            arg5 = (float)LuaDLL.luaL_checknumber(L, 6);
                float            o    = DG.Tweening.DOVirtual.EasedValue(arg0, arg1, arg2, arg3, arg4, arg5);
                LuaDLL.lua_pushnumber(L, o);
                return(1);
            }
            else
            {
                return(LuaDLL.luaL_throw(L, "invalid arguments to method: DG.Tweening.DOVirtual.EasedValue"));
            }
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e));
        }
    }
    static int SetEase(IntPtr L)
    {
        try
        {
            int count = LuaDLL.lua_gettop(L);

            if (count == 2 && TypeChecker.CheckTypes <DG.Tweening.Ease>(L, 2))
            {
                DG.Tweening.TweenParams obj  = (DG.Tweening.TweenParams)ToLua.CheckObject <DG.Tweening.TweenParams>(L, 1);
                DG.Tweening.Ease        arg0 = (DG.Tweening.Ease)ToLua.ToObject(L, 2);
                DG.Tweening.TweenParams o    = obj.SetEase(arg0);
                ToLua.PushObject(L, o);
                return(1);
            }
            else if (count == 2 && TypeChecker.CheckTypes <UnityEngine.AnimationCurve>(L, 2))
            {
                DG.Tweening.TweenParams    obj  = (DG.Tweening.TweenParams)ToLua.CheckObject <DG.Tweening.TweenParams>(L, 1);
                UnityEngine.AnimationCurve arg0 = (UnityEngine.AnimationCurve)ToLua.ToObject(L, 2);
                DG.Tweening.TweenParams    o    = obj.SetEase(arg0);
                ToLua.PushObject(L, o);
                return(1);
            }
            else if (count == 2 && TypeChecker.CheckTypes <DG.Tweening.EaseFunction>(L, 2))
            {
                DG.Tweening.TweenParams  obj  = (DG.Tweening.TweenParams)ToLua.CheckObject <DG.Tweening.TweenParams>(L, 1);
                DG.Tweening.EaseFunction arg0 = (DG.Tweening.EaseFunction)ToLua.ToObject(L, 2);
                DG.Tweening.TweenParams  o    = obj.SetEase(arg0);
                ToLua.PushObject(L, o);
                return(1);
            }
            else if (count == 3)
            {
                DG.Tweening.TweenParams obj  = (DG.Tweening.TweenParams)ToLua.CheckObject <DG.Tweening.TweenParams>(L, 1);
                DG.Tweening.Ease        arg0 = (DG.Tweening.Ease)ToLua.CheckObject(L, 2, typeof(DG.Tweening.Ease));
                System.Nullable <float> arg1 = ToLua.CheckNullable <float>(L, 3);
                DG.Tweening.TweenParams o    = obj.SetEase(arg0, arg1);
                ToLua.PushObject(L, o);
                return(1);
            }
            else if (count == 4)
            {
                DG.Tweening.TweenParams obj  = (DG.Tweening.TweenParams)ToLua.CheckObject <DG.Tweening.TweenParams>(L, 1);
                DG.Tweening.Ease        arg0 = (DG.Tweening.Ease)ToLua.CheckObject(L, 2, typeof(DG.Tweening.Ease));
                System.Nullable <float> arg1 = ToLua.CheckNullable <float>(L, 3);
                System.Nullable <float> arg2 = ToLua.CheckNullable <float>(L, 4);
                DG.Tweening.TweenParams o    = obj.SetEase(arg0, arg1, arg2);
                ToLua.PushObject(L, o);
                return(1);
            }
            else
            {
                return(LuaDLL.luaL_throw(L, "invalid arguments to method: DG.Tweening.TweenParams.SetEase"));
            }
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e));
        }
    }
Example #5
0
 public override void Reset()
 {
     target           = null;
     applyOrientation = true;
     isInstant        = false;
     delay            = 0.3f;
     easeType         = DG.Tweening.Ease.InOutSine;
 }
Example #6
0
    static int IntToEnum(IntPtr L)
    {
        int arg0 = (int)LuaDLL.lua_tonumber(L, 1);

        DG.Tweening.Ease o = (DG.Tweening.Ease)arg0;
        LuaScriptMgr.Push(L, o);
        return(1);
    }
    public void DrawDOTweenSpringConfig(DOTweenSpring tw)
    {
        if (DOTweenUtilEditor.DrawHeader("DOTweener"))
        {
            EditorGUIUtility.labelWidth = 110;
            EditorGUILayout.BeginHorizontal("AS TextArea", GUILayout.MinHeight(10f));
            GUILayout.BeginVertical();
            GUILayout.Space(5);

            GUI.changed = false;

            AnimationCurve   animationCurve = EditorGUILayout.CurveField("Animation Curve", tw.AnimationCurves, GUILayout.Width(250), GUILayout.Height(30));
            DG.Tweening.Ease easeType       = (DG.Tweening.Ease)EditorGUILayout.EnumPopup("Ease Type", tw.EaseType, GUILayout.Width(250f));
            if (easeType != DG.Tweening.Ease.Unset)
            {
                EditorGUILayout.HelpBox("(PS: AnimationCurve won't work unless EasyType is Unset)", MessageType.Info);
            }

            float duration        = EditorGUILayout.FloatField("Duration", tw.Duration, GUILayout.Width(250f));
            float startDelay      = EditorGUILayout.FloatField("Start Delay", tw.StartDelay, GUILayout.Width(250f));
            bool  ignoreTimeScale = EditorGUILayout.Toggle("Ignore TimeScale", tw.IgnoreTimeScale);

            if (GUI.changed)
            {
                tw.AnimationCurves = animationCurve;
                tw.EaseType        = easeType;
                tw.Duration        = duration;
                tw.StartDelay      = startDelay;
                tw.IgnoreTimeScale = ignoreTimeScale;
            }

            GUILayout.EndVertical();
            EditorGUILayout.EndHorizontal();
            GUILayout.Space(5);
        }

        if (DOTweenUtilEditor.DrawHeader("Tweener Event"))
        {
            GUI.changed = false;

            EditorGUILayout.BeginHorizontal("AS TextArea", GUILayout.MinHeight(10f));
            GUILayout.BeginVertical();
            GUILayout.Space(5);

            EditorGUILayout.PropertyField(serializedObject.FindProperty("OnDOTweenStart"));
            EditorGUILayout.PropertyField(serializedObject.FindProperty("OnDOTweenComplete"));

            if (GUI.changed)
            {
                serializedObject.ApplyModifiedProperties();
            }

            GUILayout.EndVertical();
            EditorGUILayout.EndHorizontal();
            GUILayout.Space(5);
        }
        GUILayout.Space(5);
    }
    public void ReplaceGlassAnimation(int newY, DG.Tweening.Ease newEase)
    {
        var index     = GameComponentsLookup.GlassAnimation;
        var component = (GlassAnimationComponent)CreateComponent(index, typeof(GlassAnimationComponent));

        component.y    = newY;
        component.ease = newEase;
        ReplaceComponent(index, component);
    }
 static int SetEase(IntPtr L)
 {
     LuaScriptMgr.CheckArgsCount(L, 2);
     DG.Tweening.Tweener arg0 = (DG.Tweening.Tweener)LuaScriptMgr.GetNetObject(L, 1, typeof(DG.Tweening.Tweener));
     DG.Tweening.Ease    arg1 = (DG.Tweening.Ease)LuaScriptMgr.GetNetObject(L, 2, typeof(DG.Tweening.Ease));
     DG.Tweening.Tweener o    = DOTweenLuaUtils.SetEase(arg0, arg1);
     LuaScriptMgr.PushObject(L, o);
     return(1);
 }
    static int SetEase(IntPtr L)
    {
        try
        {
            int count = LuaDLL.lua_gettop(L);

            if (count == 2 && TypeChecker.CheckTypes(L, 1, typeof(DG.Tweening.TweenParams), typeof(DG.Tweening.EaseFunction)))
            {
                DG.Tweening.TweenParams  obj  = (DG.Tweening.TweenParams)ToLua.ToObject(L, 1);
                DG.Tweening.EaseFunction arg0 = null;
                LuaTypes funcType2            = LuaDLL.lua_type(L, 2);

                if (funcType2 != LuaTypes.LUA_TFUNCTION)
                {
                    arg0 = (DG.Tweening.EaseFunction)ToLua.ToObject(L, 2);
                }
                else
                {
                    LuaFunction func = ToLua.ToLuaFunction(L, 2);
                    arg0 = DelegateFactory.CreateDelegate(typeof(DG.Tweening.EaseFunction), func) as DG.Tweening.EaseFunction;
                }

                DG.Tweening.TweenParams o = obj.SetEase(arg0);
                ToLua.PushObject(L, o);
                return(1);
            }
            else if (count == 2 && TypeChecker.CheckTypes(L, 1, typeof(DG.Tweening.TweenParams), typeof(UnityEngine.AnimationCurve)))
            {
                DG.Tweening.TweenParams    obj  = (DG.Tweening.TweenParams)ToLua.ToObject(L, 1);
                UnityEngine.AnimationCurve arg0 = (UnityEngine.AnimationCurve)ToLua.ToObject(L, 2);
                DG.Tweening.TweenParams    o    = obj.SetEase(arg0);
                ToLua.PushObject(L, o);
                return(1);
            }
            else if (count == 4 && TypeChecker.CheckTypes(L, 1, typeof(DG.Tweening.TweenParams), typeof(DG.Tweening.Ease), typeof(System.Nullable <float>), typeof(System.Nullable <float>)))
            {
                DG.Tweening.TweenParams obj  = (DG.Tweening.TweenParams)ToLua.ToObject(L, 1);
                DG.Tweening.Ease        arg0 = (DG.Tweening.Ease)ToLua.ToObject(L, 2);
                System.Nullable <float> arg1 = (System.Nullable <float>)ToLua.ToObject(L, 3);
                System.Nullable <float> arg2 = (System.Nullable <float>)ToLua.ToObject(L, 4);
                DG.Tweening.TweenParams o    = obj.SetEase(arg0, arg1, arg2);
                ToLua.PushObject(L, o);
                return(1);
            }
            else
            {
                return(LuaDLL.luaL_throw(L, "invalid arguments to method: DG.Tweening.TweenParams.SetEase"));
            }
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e));
        }
    }
Example #11
0
 static void DOTweenSettings_defaultEaseType(JSVCall vc)
 {
     if (vc.bGet)
     {
         DG.Tweening.Core.DOTweenSettings _this = (DG.Tweening.Core.DOTweenSettings)vc.csObj;
         var result = _this.defaultEaseType;
         JSApi.setEnum((int)JSApi.SetType.Rval, (int)result);
     }
     else
     {
         DG.Tweening.Ease arg0 = (DG.Tweening.Ease)JSApi.getEnum((int)JSApi.GetType.Arg);
         DG.Tweening.Core.DOTweenSettings _this = (DG.Tweening.Core.DOTweenSettings)vc.csObj;
         _this.defaultEaseType = arg0;
     }
 }
Example #12
0
 static int SetEase(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         DG.Tweening.Tweener arg0 = (DG.Tweening.Tweener)ToLua.CheckObject(L, 1, typeof(DG.Tweening.Tweener));
         DG.Tweening.Ease    arg1 = (DG.Tweening.Ease)ToLua.CheckObject(L, 2, typeof(DG.Tweening.Ease));
         TweenUtils.SetEase(arg0, arg1);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
Example #13
0
 static int ConvertToEaseType(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         CFramework.ScriptFunc obj = (CFramework.ScriptFunc)ToLua.CheckObject <CFramework.ScriptFunc>(L, 1);
         int arg0           = (int)LuaDLL.luaL_checknumber(L, 2);
         DG.Tweening.Ease o = obj.ConvertToEaseType(arg0);
         ToLua.Push(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
    static int set_easeType(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            SWS.splineMove   obj  = (SWS.splineMove)o;
            DG.Tweening.Ease arg0 = (DG.Tweening.Ease)ToLua.CheckObject(L, 2, typeof(DG.Tweening.Ease));
            obj.easeType = arg0;
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index easeType on a nil value"));
        }
    }
    static int get_easeType(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            SWS.splineMove   obj = (SWS.splineMove)o;
            DG.Tweening.Ease ret = obj.easeType;
            ToLua.Push(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index easeType on a nil value"));
        }
    }
Example #16
0
    static int get_easeType(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            DG.Tweening.DOTweenPath obj = (DG.Tweening.DOTweenPath)o;
            DG.Tweening.Ease        ret = obj.easeType;
            ToLua.Push(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index easeType on a nil value" : e.Message));
        }
    }
Example #17
0
    static int set_easeType(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            DG.Tweening.DOTweenPath obj  = (DG.Tweening.DOTweenPath)o;
            DG.Tweening.Ease        arg0 = (DG.Tweening.Ease)ToLua.CheckObject(L, 2, typeof(DG.Tweening.Ease));
            obj.easeType = arg0;
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index easeType on a nil value" : e.Message));
        }
    }
 static int ToMoveUGUI(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 4);
         UnityEngine.GameObject arg0      = (UnityEngine.GameObject)ToLua.CheckObject(L, 1, typeof(UnityEngine.GameObject));
         UnityEngine.Vector2    arg1      = ToLua.ToVector2(L, 2);
         float            arg2            = (float)LuaDLL.luaL_checknumber(L, 3);
         DG.Tweening.Ease arg3            = (DG.Tweening.Ease)ToLua.CheckObject(L, 4, typeof(DG.Tweening.Ease));
         GameFramework.DoTweenAnimation o = GameFramework.UtilityUnity.ToMoveUGUI(arg0, arg1, arg2, arg3);
         ToLua.Push(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
Example #19
0
        static StackObject *SetEase_3(ILIntepreter __intp, StackObject *__esp, IList <object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject *ptr_of_this_method;
            StackObject *__ret = ILIntepreter.Minus(__esp, 2);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            DG.Tweening.Ease @ease = (DG.Tweening.Ease) typeof(DG.Tweening.Ease).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            DG.Tweening.Core.TweenerCore <UnityEngine.Vector3, UnityEngine.Vector3, DG.Tweening.Plugins.Options.VectorOptions> @t = (DG.Tweening.Core.TweenerCore <UnityEngine.Vector3, UnityEngine.Vector3, DG.Tweening.Plugins.Options.VectorOptions>) typeof(DG.Tweening.Core.TweenerCore <UnityEngine.Vector3, UnityEngine.Vector3, DG.Tweening.Plugins.Options.VectorOptions>).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
            __intp.Free(ptr_of_this_method);


            var result_of_this_method = DG.Tweening.TweenSettingsExtensions.SetEase <DG.Tweening.Core.TweenerCore <UnityEngine.Vector3, UnityEngine.Vector3, DG.Tweening.Plugins.Options.VectorOptions> >(@t, @ease);

            return(ILIntepreter.PushObject(__ret, __mStack, result_of_this_method));
        }
        static StackObject *SetEase_0(ILIntepreter __intp, StackObject *__esp, IList <object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject *ptr_of_this_method;
            StackObject *__ret = ILIntepreter.Minus(__esp, 2);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            DG.Tweening.Ease @ease = (DG.Tweening.Ease) typeof(DG.Tweening.Ease).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 20);
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            DG.Tweening.Tween @t = (DG.Tweening.Tween) typeof(DG.Tweening.Tween).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0);
            __intp.Free(ptr_of_this_method);


            var result_of_this_method = DG.Tweening.TweenSettingsExtensions.SetEase <DG.Tweening.Tween>(@t, @ease);

            return(ILIntepreter.PushObject(__ret, __mStack, result_of_this_method));
        }
Example #21
0
 static int TweenSpecialVector2(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 5);
         UnityEngine.Vector2 arg0 = ToLua.ToVector2(L, 1);
         UnityEngine.Vector2 arg1 = ToLua.ToVector2(L, 2);
         float               arg2 = (float)LuaDLL.luaL_checknumber(L, 3);
         DG.Tweening.Ease    arg3 = (DG.Tweening.Ease)ToLua.CheckObject(L, 4, typeof(DG.Tweening.Ease));
         LuaFunction         arg4 = ToLua.CheckLuaFunction(L, 5);
         DG.Tweening.Tweener o    = TweenUtils.TweenSpecialVector2(arg0, arg1, arg2, arg3, arg4);
         ToLua.PushObject(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
 static int ToFilledImage(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 5);
         UnityEngine.GameObject arg0      = (UnityEngine.GameObject)ToLua.CheckObject(L, 1, typeof(UnityEngine.GameObject));
         float            arg1            = (float)LuaDLL.luaL_checknumber(L, 2);
         float            arg2            = (float)LuaDLL.luaL_checknumber(L, 3);
         float            arg3            = (float)LuaDLL.luaL_checknumber(L, 4);
         DG.Tweening.Ease arg4            = (DG.Tweening.Ease)ToLua.CheckObject(L, 5, typeof(DG.Tweening.Ease));
         GameFramework.DoTweenAnimation o = GameFramework.DoTweenAnimation.ToFilledImage(arg0, arg1, arg2, arg3, arg4);
         ToLua.Push(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
Example #23
0
 static int DOMoveReturnEase(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 8);
         UnityEngine.GameObject arg0 = (UnityEngine.GameObject)ToLua.CheckObject(L, 1, typeof(UnityEngine.GameObject));
         UnityEngine.Vector3    arg1 = ToLua.ToVector3(L, 2);
         float            arg2       = (float)LuaDLL.luaL_checknumber(L, 3);
         bool             arg3       = LuaDLL.luaL_checkboolean(L, 4);
         DG.Tweening.Ease arg4       = (DG.Tweening.Ease)ToLua.CheckObject(L, 5, typeof(DG.Tweening.Ease));
         int         arg5            = (int)LuaDLL.luaL_checknumber(L, 6);
         float       arg6            = (float)LuaDLL.luaL_checknumber(L, 7);
         LuaFunction arg7            = ToLua.CheckLuaFunction(L, 8);
         LuaFramework.Util.DOMoveReturnEase(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
    static int ScrollToPosition(IntPtr L)
    {
        try
        {
            int count = LuaDLL.lua_gettop(L);

            if (count == 2)
            {
                ShibaInu.ScrollList obj = (ShibaInu.ScrollList)ToLua.CheckObject <ShibaInu.ScrollList>(L, 1);
                float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
                obj.ScrollToPosition(arg0);
                return(0);
            }
            else if (count == 3)
            {
                ShibaInu.ScrollList obj = (ShibaInu.ScrollList)ToLua.CheckObject <ShibaInu.ScrollList>(L, 1);
                float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
                float arg1 = (float)LuaDLL.luaL_checknumber(L, 3);
                obj.ScrollToPosition(arg0, arg1);
                return(0);
            }
            else if (count == 4)
            {
                ShibaInu.ScrollList obj = (ShibaInu.ScrollList)ToLua.CheckObject <ShibaInu.ScrollList>(L, 1);
                float            arg0   = (float)LuaDLL.luaL_checknumber(L, 2);
                float            arg1   = (float)LuaDLL.luaL_checknumber(L, 3);
                DG.Tweening.Ease arg2   = (DG.Tweening.Ease)ToLua.CheckObject(L, 4, typeof(DG.Tweening.Ease));
                obj.ScrollToPosition(arg0, arg1, arg2);
                return(0);
            }
            else
            {
                return(LuaDLL.luaL_throw(L, "invalid arguments to method: ShibaInu.ScrollList.ScrollToPosition"));
            }
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e));
        }
    }
Example #25
0
    static int DOMoveLua(IntPtr L)
    {
        int count = LuaDLL.lua_gettop(L);

        if (count == 3)
        {
            GameObject arg0 = (GameObject)LuaScriptMgr.GetUnityObject(L, 1, typeof(GameObject));
            Vector3    arg1 = LuaScriptMgr.GetVector3(L, 2);
            float      arg2 = (float)LuaScriptMgr.GetNumber(L, 3);
            SimpleFramework.Util.DOMoveLua(arg0, arg1, arg2);
            return(0);
        }
        else if (count == 4)
        {
            GameObject arg0 = (GameObject)LuaScriptMgr.GetUnityObject(L, 1, typeof(GameObject));
            Vector3    arg1 = LuaScriptMgr.GetVector3(L, 2);
            float      arg2 = (float)LuaScriptMgr.GetNumber(L, 3);
            bool       arg3 = LuaScriptMgr.GetBoolean(L, 4);
            SimpleFramework.Util.DOMoveLua(arg0, arg1, arg2, arg3);
            return(0);
        }
        else if (count == 5)
        {
            GameObject       arg0 = (GameObject)LuaScriptMgr.GetUnityObject(L, 1, typeof(GameObject));
            Vector3          arg1 = LuaScriptMgr.GetVector3(L, 2);
            float            arg2 = (float)LuaScriptMgr.GetNumber(L, 3);
            bool             arg3 = LuaScriptMgr.GetBoolean(L, 4);
            DG.Tweening.Ease arg4 = (DG.Tweening.Ease)LuaScriptMgr.GetNetObject(L, 5, typeof(DG.Tweening.Ease));
            SimpleFramework.Util.DOMoveLua(arg0, arg1, arg2, arg3, arg4);
            return(0);
        }
        else
        {
            LuaDLL.luaL_error(L, "invalid arguments to method: SimpleFramework.Util.DOMoveLua");
        }

        return(0);
    }
Example #26
0
 public DG.Tweening.Tween SetEase(DG.Tweening.Ease arg1, float arg2, float arg3)
 {
     return(default(DG.Tweening.Tween));
 }
Example #27
0
 public static DG.Tweening.EaseFunction GetEasingFunction(DG.Tweening.Ease type)
 {
     return(DG.Tweening.Core.Easing.EaseManager.ToEaseFunction(type));
 }
Example #28
0
 void performTooltipAnimation(Transform trans, Vector3 newScale, float animDuration, float animDelay, DG.Tweening.Ease easeType)
 {
     if (theGraph.tooltipAnimationsEnabled)
     {
         WMG_Anim.animScale(trans.gameObject, animDuration, easeType, newScale, animDelay);
     }
 }
Example #29
0
 public DG.Tweening.Tween SetEase(DG.Tweening.Ease arg1)
 {
     return(default(DG.Tweening.Tween));
 }
Example #30
0
 static void Push(IntPtr L, DG.Tweening.Ease arg)
 {
     ToLua.Push(L, arg);
 }