void Update() { levelNum = currentLevel.CurrentLevelNum(); //if (levelNum == 0) //{ // levelName = "Entrance"; //}else if(levelNum == 1) //{ // levelName = "Level One"; //} if (openTrue == true) { Open(); } }
// Update is called once per frame void Update() { levelNum = currentLevel.CurrentLevelNum(); }