Esempio n. 1
0
 static public int get_onDisableBehaviour(IntPtr l)
 {
     try {
         DG.Tweening.DOTweenVisualManager self = (DG.Tweening.DOTweenVisualManager)checkSelf(l);
         pushValue(l, true);
         pushEnum(l, (int)self.onDisableBehaviour);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Esempio n. 2
0
 static public int set_onDisableBehaviour(IntPtr l)
 {
     try {
         DG.Tweening.DOTweenVisualManager    self = (DG.Tweening.DOTweenVisualManager)checkSelf(l);
         DG.Tweening.Core.OnDisableBehaviour v;
         checkEnum(l, 2, out v);
         self.onDisableBehaviour = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Esempio n. 3
0
 static public int set_preset(IntPtr l)
 {
     try {
         DG.Tweening.DOTweenVisualManager     self = (DG.Tweening.DOTweenVisualManager)checkSelf(l);
         DG.Tweening.Core.VisualManagerPreset v;
         checkEnum(l, 2, out v);
         self.preset = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
    static int set_preset(IntPtr L)
    {
        object o = null;

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

        try
        {
            o = ToLua.ToObject(L, 1);
            DG.Tweening.DOTweenVisualManager    obj = (DG.Tweening.DOTweenVisualManager)o;
            DG.Tweening.Core.OnDisableBehaviour ret = obj.onDisableBehaviour;
            ToLua.Push(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index onDisableBehaviour on a nil value"));
        }
    }
    static int get_preset(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            DG.Tweening.DOTweenVisualManager     obj = (DG.Tweening.DOTweenVisualManager)o;
            DG.Tweening.Core.VisualManagerPreset ret = obj.preset;
            ToLua.Push(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index preset on a nil value"));
        }
    }
    static int set_onDisableBehaviour(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            DG.Tweening.DOTweenVisualManager    obj  = (DG.Tweening.DOTweenVisualManager)o;
            DG.Tweening.Core.OnDisableBehaviour arg0 = (DG.Tweening.Core.OnDisableBehaviour)ToLua.CheckObject(L, 2, typeof(DG.Tweening.Core.OnDisableBehaviour));
            obj.onDisableBehaviour = arg0;
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index onDisableBehaviour on a nil value"));
        }
    }