MrGravity.LevelSelect.UnlockNextLevel C# (CSharp) Method

UnlockNextLevel() public method

Unlocks the next level in the game(if it is already unlocked than it won't do anything)
public UnlockNextLevel ( ) : void
return void
        public void UnlockNextLevel()
        {
            if (_mCurrentIndex + 12 * _mCurrentPage < _mLevels.Count)
                _mLevels[_mCurrentIndex + 12 * _mCurrentPage].Unlock();
        }