Esempio n. 1
0
    static int get_handlesType(IntPtr L)
    {
        object o = null;

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

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