//When triggered, the boxes will disable and the player can leave. public void FreePlayer() { if (isMonkey) { BarrierOne.SetActive(false); BarrierTwo.SetActive(false); } }
//When triggered, the box will disable and the player can leave. public void FreePlayer() { BarrierTwo.SetActive(false); }