Пример #1
0
        public void Complete(bool withCallback)
        {
            if (Tween == null || !Tween.IsPlaying())
            {
                return;
            }

            Tween.Complete(withCallback);
        }
Пример #2
0
 static int Complete(IntPtr L)
 {
     LuaScriptMgr.CheckArgsCount(L, 1);
     DG.Tweening.Tween obj = (DG.Tweening.Tween)LuaScriptMgr.GetNetObjectSelf(L, 1, "DG.Tweening.Tween");
     obj.Complete();
     return(0);
 }
Пример #3
0
    static int Complete(IntPtr L)
    {
        try
        {
            int count = LuaDLL.lua_gettop(L);

            if (count == 1)
            {
                DG.Tweening.Tween obj = (DG.Tweening.Tween)ToLua.CheckObject <DG.Tweening.Tween>(L, 1);
                obj.Complete();
                return(0);
            }
            else if (count == 2)
            {
                DG.Tweening.Tween obj = (DG.Tweening.Tween)ToLua.CheckObject <DG.Tweening.Tween>(L, 1);
                bool arg0             = LuaDLL.luaL_checkboolean(L, 2);
                obj.Complete(arg0);
                return(0);
            }
            else
            {
                return(LuaDLL.luaL_throw(L, "invalid arguments to method: DG.Tweening.Tween.Complete"));
            }
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e));
        }
    }
Пример #4
0
    static int Complete(IntPtr L)
    {
        try
        {
            int count = LuaDLL.lua_gettop(L);

            if (count == 1 && TypeChecker.CheckTypes(L, 1, typeof(DG.Tweening.Tween)))
            {
                DG.Tweening.Tween obj = (DG.Tweening.Tween)ToLua.ToObject(L, 1);
                obj.Complete();
                return(0);
            }
            else if (count == 2 && TypeChecker.CheckTypes(L, 1, typeof(DG.Tweening.Tween), typeof(bool)))
            {
                DG.Tweening.Tween obj = (DG.Tweening.Tween)ToLua.ToObject(L, 1);
                bool arg0             = LuaDLL.lua_toboolean(L, 2);
                obj.Complete(arg0);
                return(0);
            }
            else
            {
                return(LuaDLL.luaL_throw(L, "invalid arguments to method: DG.Tweening.Tween.Complete"));
            }
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e));
        }
    }
Пример #5
0
 static int Complete(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         DG.Tweening.Tween obj = (DG.Tweening.Tween)ToLua.CheckObject <DG.Tweening.Tween>(L, 1);
         obj.Complete();
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
Пример #6
0
 // Token: 0x06000066 RID: 102 RVA: 0x00002E1D File Offset: 0x0000101D
 public static void Complete(this Tween t)
 {
     t.Complete(false);
 }