Example #1
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));
        }
    }
Example #2
0
    static int set_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 arg0 = (DG.Tweening.Plugins.Options.OrientType)ToLua.CheckObject(L, 2, typeof(DG.Tweening.Plugins.Options.OrientType));
            obj.orientType = arg0;
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index orientType on a nil value" : e.Message));
        }
    }