コード例 #1
0
 public void OpenDoor(int index) //Allows the door to be openned and adds the corrosponding spawners for that openned room.
 {
     Debug.Log("index: " + index);
     //doors[index].GetComponent<Animator>().SetBool("Open", true);
     doorOpen[index] = true;
     spawner.CmdUnlockRoom(index + 1);
     doors[index].SetActive(false);
 }