コード例 #1
0
ファイル: LuaSvr.cs プロジェクト: Enanyy/LuaGame-slua
 protected override void tick()
 {
     base.tick();
                     #if !SLUA_STANDALONE
     LuaTimer.tick(Time.deltaTime);
                     #endif
     checkTop();
 }
コード例 #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);
        }
コード例 #3
0
ファイル: LuaSvr.cs プロジェクト: tinglei8/slua
        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);
        }
コード例 #4
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
        }
コード例 #5
0
 protected override void tick()
 {
     base.tick();
     LuaTimer.tick(Time.deltaTime);
     checkTop();
 }