Exemple #1
0
    static int DORestart(IntPtr L)
    {
        try
        {
            int count = LuaDLL.lua_gettop(L);

            if (count == 1)
            {
                DG.Tweening.Core.ABSAnimationComponent obj = (DG.Tweening.Core.ABSAnimationComponent)ToLua.CheckObject <DG.Tweening.Core.ABSAnimationComponent>(L, 1);
                obj.DORestart();
                return(0);
            }
            else if (count == 2)
            {
                DG.Tweening.Core.ABSAnimationComponent obj = (DG.Tweening.Core.ABSAnimationComponent)ToLua.CheckObject <DG.Tweening.Core.ABSAnimationComponent>(L, 1);
                bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
                obj.DORestart(arg0);
                return(0);
            }
            else
            {
                return(LuaDLL.luaL_throw(L, "invalid arguments to method: DG.Tweening.Core.ABSAnimationComponent.DORestart"));
            }
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e));
        }
    }
 static int QPYX_DORestart_YXQP(IntPtr L_YXQP)
 {
     try
     {
         int QPYX_count_YXQP = LuaDLL.lua_gettop(L_YXQP);
         if (QPYX_count_YXQP == 1)
         {
             DG.Tweening.Core.ABSAnimationComponent QPYX_obj_YXQP = (DG.Tweening.Core.ABSAnimationComponent)ToLua.CheckObject <DG.Tweening.Core.ABSAnimationComponent>(L_YXQP, 1);
             QPYX_obj_YXQP.DORestart();
             return(0);
         }
         else if (QPYX_count_YXQP == 2)
         {
             DG.Tweening.Core.ABSAnimationComponent QPYX_obj_YXQP = (DG.Tweening.Core.ABSAnimationComponent)ToLua.CheckObject <DG.Tweening.Core.ABSAnimationComponent>(L_YXQP, 1);
             bool QPYX_arg0_YXQP = LuaDLL.luaL_checkboolean(L_YXQP, 2);
             QPYX_obj_YXQP.DORestart(QPYX_arg0_YXQP);
             return(0);
         }
         else
         {
             return(LuaDLL.luaL_throw(L_YXQP, "invalid arguments to method: DG.Tweening.Core.ABSAnimationComponent.DORestart"));
         }
     }
     catch (Exception e_YXQP)                {
         return(LuaDLL.toluaL_exception(L_YXQP, e_YXQP));
     }
 }
Exemple #3
0
 static public int DORestart(IntPtr l)
 {
     try {
         DG.Tweening.Core.ABSAnimationComponent self = (DG.Tweening.Core.ABSAnimationComponent)checkSelf(l);
         System.Boolean a1;
         checkType(l, 2, out a1);
         self.DORestart(a1);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Exemple #4
0
 static int DORestart(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         DG.Tweening.Core.ABSAnimationComponent obj = (DG.Tweening.Core.ABSAnimationComponent)ToLua.CheckObject(L, 1, typeof(DG.Tweening.Core.ABSAnimationComponent));
         bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
         obj.DORestart(arg0);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }