Пример #1
0
        static StackObject *DOLocalRotate_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, 4);

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

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            System.Single @duration = *(float *)&ptr_of_this_method->Value;

            ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
            UnityEngine.Vector3 @endValue = (UnityEngine.Vector3) typeof(UnityEngine.Vector3).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 4);
            UnityEngine.Transform @target = (UnityEngine.Transform) typeof(UnityEngine.Transform).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
            __intp.Free(ptr_of_this_method);


            var result_of_this_method = DG.Tweening.ShortcutExtensions.DOLocalRotate(@target, @endValue, @duration, @mode);

            return(ILIntepreter.PushObject(__ret, __mStack, result_of_this_method));
        }
    static int IntToEnum(IntPtr L)
    {
        int arg0 = (int)LuaDLL.lua_tonumber(L, 1);

        DG.Tweening.RotateMode o = (DG.Tweening.RotateMode)arg0;
        ToLua.Push(L, o);
        return(1);
    }
Пример #3
0
    static int get_optionalRotationMode(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            DG.Tweening.DOTweenAnimation obj = (DG.Tweening.DOTweenAnimation)o;
            DG.Tweening.RotateMode       ret = obj.optionalRotationMode;
            ToLua.Push(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index optionalRotationMode on a nil value"));
        }
    }
Пример #4
0
    static int set_optionalRotationMode(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            DG.Tweening.DOTweenAnimation obj  = (DG.Tweening.DOTweenAnimation)o;
            DG.Tweening.RotateMode       arg0 = (DG.Tweening.RotateMode)ToLua.CheckObject(L, 2, typeof(DG.Tweening.RotateMode));
            obj.optionalRotationMode = arg0;
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index optionalRotationMode on a nil value"));
        }
    }
 static int DOBlendableLocalRotateBy(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 4);
         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.RotateMode arg2 = (DG.Tweening.RotateMode)ToLua.CheckObject(L, 4, typeof(DG.Tweening.RotateMode));
         DG.Tweening.Tweener    o    = obj.DOBlendableLocalRotateBy(arg0, arg1, arg2);
         ToLua.PushObject(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
 static void Push(IntPtr L, DG.Tweening.RotateMode arg)
 {
     ToLua.Push(L, arg);
 }
Пример #7
0
 public DG.Tweening.Tweener DORotate(UnityEngine.Vector3 arg1, float arg2, DG.Tweening.RotateMode arg3)
 {
     return(default(DG.Tweening.Tweener));
 }
Пример #8
0
 public DG.Tweening.Tweener DOLocalRotate(Vector3 arg1, float arg2, DG.Tweening.RotateMode arg3)
 {
     return(default(DG.Tweening.Tweener));
 }
Пример #9
0
 public DG.Tweening.Tweener DOBlendableRotateBy(Vector3 arg1, float arg2, DG.Tweening.RotateMode arg3)
 {
     return(default(DG.Tweening.Tweener));
 }
 public DG.Tweening.Tweener DOBlendableLocalRotateBy(UnityEngine.Vector3 arg1, float arg2, DG.Tweening.RotateMode arg3)
 {
     return(default(DG.Tweening.Tweener));
 }
Пример #11
0
    static int QPYX_IntToEnum_YXQP(IntPtr L_YXQP)
    {
        int QPYX_arg0_YXQP = (int)LuaDLL.lua_tonumber(L_YXQP, 1);               DG.Tweening.RotateMode QPYX_o_YXQP = (DG.Tweening.RotateMode)QPYX_arg0_YXQP;

        ToLua.Push(L_YXQP, QPYX_o_YXQP);                return(1);
    }
Пример #12
0
 static void QPYX_Push_YXQP(IntPtr L_YXQP, DG.Tweening.RotateMode arg_YXQP)
 {
     ToLua.Push(L_YXQP, arg_YXQP);
 }