Exemple #1
0
    static int get_inspectorMode(IntPtr L)
    {
        object o = null;

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

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