示例#1
0
 static public int set_showWpLength(IntPtr l)
 {
     try {
         DG.Tweening.DOTweenPath self = (DG.Tweening.DOTweenPath)checkSelf(l);
         System.Boolean          v;
         checkType(l, 2, out v);
         self.showWpLength = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
示例#2
0
 static public int set_fullWps(IntPtr l)
 {
     try {
         DG.Tweening.DOTweenPath self = (DG.Tweening.DOTweenPath)checkSelf(l);
         System.Collections.Generic.List <UnityEngine.Vector3> v;
         checkType(l, 2, out v);
         self.fullWps = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
示例#3
0
 static public int set_assignForwardAndUp(IntPtr l)
 {
     try {
         DG.Tweening.DOTweenPath self = (DG.Tweening.DOTweenPath)checkSelf(l);
         System.Boolean          v;
         checkType(l, 2, out v);
         self.assignForwardAndUp = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
示例#4
0
 static public int set_upDirection(IntPtr l)
 {
     try {
         DG.Tweening.DOTweenPath self = (DG.Tweening.DOTweenPath)checkSelf(l);
         UnityEngine.Vector3     v;
         checkType(l, 2, out v);
         self.upDirection = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
示例#5
0
 static public int set_pathMode(IntPtr l)
 {
     try {
         DG.Tweening.DOTweenPath self = (DG.Tweening.DOTweenPath)checkSelf(l);
         DG.Tweening.PathMode    v;
         checkEnum(l, 2, out v);
         self.pathMode = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
示例#6
0
 static public int set_lockRotation(IntPtr l)
 {
     try {
         DG.Tweening.DOTweenPath    self = (DG.Tweening.DOTweenPath)checkSelf(l);
         DG.Tweening.AxisConstraint v;
         checkEnum(l, 2, out v);
         self.lockRotation = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
示例#7
0
 static public int set_lookAhead(IntPtr l)
 {
     try {
         DG.Tweening.DOTweenPath self = (DG.Tweening.DOTweenPath)checkSelf(l);
         System.Single           v;
         checkType(l, 2, out v);
         self.lookAhead = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
示例#8
0
 static public int set_pathResolution(IntPtr l)
 {
     try {
         DG.Tweening.DOTweenPath self = (DG.Tweening.DOTweenPath)checkSelf(l);
         System.Int32            v;
         checkType(l, 2, out v);
         self.pathResolution = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
示例#9
0
 static public int set_lookAtTransform(IntPtr l)
 {
     try {
         DG.Tweening.DOTweenPath self = (DG.Tweening.DOTweenPath)checkSelf(l);
         UnityEngine.Transform   v;
         checkType(l, 2, out v);
         self.lookAtTransform = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
示例#10
0
 static public int set_orientType(IntPtr l)
 {
     try {
         DG.Tweening.DOTweenPath self = (DG.Tweening.DOTweenPath)checkSelf(l);
         DG.Tweening.Plugins.Options.OrientType v;
         checkEnum(l, 2, out v);
         self.orientType = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
示例#11
0
 static public int set_easeCurve(IntPtr l)
 {
     try {
         DG.Tweening.DOTweenPath    self = (DG.Tweening.DOTweenPath)checkSelf(l);
         UnityEngine.AnimationCurve v;
         checkType(l, 2, out v);
         self.easeCurve = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
示例#12
0
 static public int set_perspectiveHandleSize(IntPtr l)
 {
     try {
         DG.Tweening.DOTweenPath self = (DG.Tweening.DOTweenPath)checkSelf(l);
         System.Single           v;
         checkType(l, 2, out v);
         self.perspectiveHandleSize = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
示例#13
0
 static int DORestart(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         DG.Tweening.DOTweenPath obj = (DG.Tweening.DOTweenPath)ToLua.CheckObject(L, 1, typeof(DG.Tweening.DOTweenPath));
         bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
         obj.DORestart(arg0);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
示例#14
0
 static int GetTween(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         DG.Tweening.DOTweenPath obj = (DG.Tweening.DOTweenPath)ToLua.CheckObject(L, 1, typeof(DG.Tweening.DOTweenPath));
         DG.Tweening.Tween       o   = obj.GetTween();
         ToLua.PushObject(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
示例#15
0
 static int GetDrawPoints(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         DG.Tweening.DOTweenPath obj = (DG.Tweening.DOTweenPath)ToLua.CheckObject(L, 1, typeof(DG.Tweening.DOTweenPath));
         UnityEngine.Vector3[]   o   = obj.GetDrawPoints();
         ToLua.Push(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
示例#16
0
    static int set_duration(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            DG.Tweening.DOTweenPath obj = (DG.Tweening.DOTweenPath)o;
            float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
            obj.duration = arg0;
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index duration on a nil value" : e.Message));
        }
    }
示例#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));
        }
    }
示例#18
0
    static int get_lastSrcPosition(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            DG.Tweening.DOTweenPath obj = (DG.Tweening.DOTweenPath)o;
            UnityEngine.Vector3     ret = obj.lastSrcPosition;
            ToLua.Push(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index lastSrcPosition on a nil value" : e.Message));
        }
    }
示例#19
0
    static int get_wpsDropdown(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            DG.Tweening.DOTweenPath obj = (DG.Tweening.DOTweenPath)o;
            bool ret = obj.wpsDropdown;
            LuaDLL.lua_pushboolean(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index wpsDropdown on a nil value" : e.Message));
        }
    }
示例#20
0
    static int get_handlesDrawMode(IntPtr L)
    {
        object o = null;

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

        try
        {
            o = ToLua.ToObject(L, 1);
            DG.Tweening.DOTweenPath obj = (DG.Tweening.DOTweenPath)o;
            float ret = obj.perspectiveHandleSize;
            LuaDLL.lua_pushnumber(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index perspectiveHandleSize on a nil value" : e.Message));
        }
    }
示例#22
0
    static int get_fullWps(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            DG.Tweening.DOTweenPath obj = (DG.Tweening.DOTweenPath)o;
            System.Collections.Generic.List <UnityEngine.Vector3> ret = obj.fullWps;
            ToLua.PushObject(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index fullWps on a nil value" : e.Message));
        }
    }
示例#23
0
    static int get_path(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            DG.Tweening.DOTweenPath obj = (DG.Tweening.DOTweenPath)o;
            DG.Tweening.Plugins.Core.PathCore.Path ret = obj.path;
            ToLua.PushObject(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index path on a nil value" : e.Message));
        }
    }
示例#24
0
    static int get_pathResolution(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            DG.Tweening.DOTweenPath obj = (DG.Tweening.DOTweenPath)o;
            int ret = obj.pathResolution;
            LuaDLL.lua_pushinteger(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index pathResolution on a nil value" : e.Message));
        }
    }
示例#25
0
    static int get_lockRotation(IntPtr L)
    {
        object o = null;

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

        try
        {
            o = ToLua.ToObject(L, 1);
            DG.Tweening.DOTweenPath obj = (DG.Tweening.DOTweenPath)o;
            UnityEngine.Transform   ret = obj.lookAtTransform;
            ToLua.Push(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index lookAtTransform on a nil value" : e.Message));
        }
    }
示例#27
0
    static int get_orientType(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            DG.Tweening.DOTweenPath obj = (DG.Tweening.DOTweenPath)o;
            DG.Tweening.Plugins.Options.OrientType ret = obj.orientType;
            ToLua.Push(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index orientType on a nil value" : e.Message));
        }
    }
示例#28
0
    static int get_id(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            DG.Tweening.DOTweenPath obj = (DG.Tweening.DOTweenPath)o;
            string ret = obj.id;
            LuaDLL.lua_pushstring(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index id on a nil value" : e.Message));
        }
    }
示例#29
0
    static int get_easeCurve(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            DG.Tweening.DOTweenPath    obj = (DG.Tweening.DOTweenPath)o;
            UnityEngine.AnimationCurve ret = obj.easeCurve;
            ToLua.PushObject(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index easeCurve on a nil value" : e.Message));
        }
    }
示例#30
0
    static int set_wpsDropdown(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            DG.Tweening.DOTweenPath obj = (DG.Tweening.DOTweenPath)o;
            bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
            obj.wpsDropdown = arg0;
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index wpsDropdown on a nil value" : e.Message));
        }
    }