예제 #1
0
    void Update()
    {
        levelNum = currentLevel.CurrentLevelNum();

        //if (levelNum == 0)
        //{
        //    levelName = "Entrance";
        //}else if(levelNum == 1)
        //{
        //    levelName = "Level One";
        //}

        if (openTrue == true)
        {
            Open();
        }
    }
예제 #2
0
 // Update is called once per frame
 void Update()
 {
     levelNum = currentLevel.CurrentLevelNum();
 }