//Takes care of changing sound mixing when changing rooms. SHOULD ALSO SEND TO room switching for text. Eventually. public void ChangeRoom(Button b) { buttons.Find(x => x == b).interactable = false; foreach (Button bu in buttons.FindAll(x => x != b)) { bu.interactable = true; roomMixer.SetFloat(bu.GetComponentInChildren <Text>().text, 600f); } roomIAmIn = buttons.Find(x => x == b).GetComponentInChildren <Text>().text; Camera.main.transform.position = rooms[roomIAmIn].position; Camera.main.transform.rotation = rooms[roomIAmIn].rotation; roomMixer.SetFloat(buttons.Find(x => x == b).GetComponentInChildren <Text>().text, 22000); txtM.AddSpace(); }