Level Manager Improvement
This commit is contained in:
		@@ -77,6 +77,12 @@ namespace Level
 | 
			
		||||
        {
 | 
			
		||||
            DisableAllLevels();
 | 
			
		||||
 | 
			
		||||
            if (!Levels.ContainsKey(levelNumber))
 | 
			
		||||
            {
 | 
			
		||||
                UIManager.Instance.SwitchToCanvas("Level Selection Menu");
 | 
			
		||||
                return;
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            currentLevel = Levels[levelNumber];
 | 
			
		||||
            currentLevel.Enable();
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user