Example #1
0
        private bool IsLevelCurrentLevelInProgress()
        {
            if (m_Level.levelId == 1)
            {
                return(true);
            }

            if (m_Level.levelId == 2 && !m_LevelManager.IsLevelComplete(1))
            {
                return(false);
            }

            return(m_Level.levelId <= m_LevelManager.GetHighestCompletedLevelID() + 1);
        }