Beispiel #1
0
        void tick()
        {
            if (LuaDLL.lua_gettop(luaState.L) != errorReported)
            {
                errorReported = LuaDLL.lua_gettop(luaState.L);
                Debug.LogError(string.Format("Some function not remove temp value({0}) from lua stack. You should fix it.", LuaDLL.luaL_typename(luaState.L, errorReported)));
            }

            luaState.checkRef();
            LuaTimer.tick(Time.deltaTime);
        }
Beispiel #2
0
        void tick()
        {
            if (LuaDLL.lua_gettop(luaState.L) != errorReported)
            {
                Debug.LogError("Some function not remove temp value from lua stack. You should fix it.");
                errorReported = LuaDLL.lua_gettop(luaState.L);
            }

            luaState.checkRef();
            LuaTimer.tick(Time.deltaTime);
        }
Beispiel #3
0
        void tick()
        {
            if (!inited)
            {
                return;
            }

            if (LuaDLL.lua_gettop(luaState.L) != errorReported)
            {
                errorReported = LuaDLL.lua_gettop(luaState.L);
                Logger.LogError(string.Format("Some function not remove temp value({0}) from lua stack. You should fix it.", LuaDLL.luaL_typename(luaState.L, errorReported)));
            }

            luaState.checkRef();
                        #if !SLUA_STANDALONE
            LuaTimer.tick(Time.deltaTime);
                        #endif
        }