static int IntToEnum(IntPtr L)
    {
        int arg0 = (int)LuaDLL.lua_tointeger(L, 1);

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

        try
        {
            o = ToLua.ToObject(L, 1);
            DG.Tweening.DOTweenPath obj  = (DG.Tweening.DOTweenPath)o;
            DG.Tweening.PathType    arg0 = (DG.Tweening.PathType)ToLua.CheckObject(L, 2, typeof(DG.Tweening.PathType));
            obj.pathType = arg0;
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index pathType on a nil value" : e.Message));
        }
    }
Пример #3
0
    static int get_pathType(IntPtr L)
    {
        object o = null;

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

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

        try
        {
            o = ToLua.ToObject(L, 1);
            SWS.splineMove       obj = (SWS.splineMove)o;
            DG.Tweening.PathType ret = obj.pathType;
            ToLua.Push(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index pathType on a nil value"));
        }
    }
 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 void Push(IntPtr L, DG.Tweening.PathType arg)
 {
     ToLua.Push(L, arg);
 }
    static int QPYX_IntToEnum_YXQP(IntPtr L_YXQP)
    {
        int QPYX_arg0_YXQP = (int)LuaDLL.lua_tonumber(L_YXQP, 1);               DG.Tweening.PathType QPYX_o_YXQP = (DG.Tweening.PathType)QPYX_arg0_YXQP;

        ToLua.Push(L_YXQP, QPYX_o_YXQP);                return(1);
    }
 static void QPYX_Push_YXQP(IntPtr L_YXQP, DG.Tweening.PathType arg_YXQP)
 {
     ToLua.Push(L_YXQP, arg_YXQP);
 }
Пример #10
0
 public DG.Tweening.Core.TweenerCore <UnityEngine.Vector3, DG.Tweening.Plugins.Core.PathCore.Path, DG.Tweening.Plugins.Options.PathOptions> DOLocalPath(UnityEngine.Vector3[] arg1, float arg2, DG.Tweening.PathType arg3, DG.Tweening.PathMode arg4, int arg5, System.Nullable <UnityEngine.Color> arg6)
 {
     return(default(DG.Tweening.Core.TweenerCore <UnityEngine.Vector3, DG.Tweening.Plugins.Core.PathCore.Path, DG.Tweening.Plugins.Options.PathOptions>));
 }
Пример #11
0
 public DG.Tweening.Core.TweenerCore <Vector3, DG.Tweening.Plugins.Core.PathCore.Path, DG.Tweening.Plugins.Options.PathOptions> DOPath(Vector3[] arg1, float arg2, DG.Tweening.PathType arg3, DG.Tweening.PathMode arg4, int arg5, Nullable <Color> arg6)
 {
     return(default(DG.Tweening.Core.TweenerCore <Vector3, DG.Tweening.Plugins.Core.PathCore.Path, DG.Tweening.Plugins.Options.PathOptions>));
 }