예제 #1
0
        public void Update()
        {
            m_CachedTime += Utils.Time.deltaTime;
            if (m_FrameBuffer.empty == false)
            {
                if (m_CachedTime > Utils.Time.kLogicDeltaTime)
                {
                    m_CachedTime -= Utils.Time.kLogicDeltaTime;
                    Utils.Time.logicFrameCount++;

                    m_InputManager.Tick();

                    m_GameLogicManager.HandleFrameData(m_FrameBuffer.GetOneFrame());
                    m_GameLogicManager.Tick();
                    m_FrameDataCollector.Tick();
                    coroutineManager.Tick();
                }
            }
            m_LevelManager.Tick();
        }