public void switchRoom(switchRooms.roomType n) { studyHolder.SetActive(n == switchRooms.roomType.Study); trackingHolder.SetActive(n == switchRooms.roomType.Tracking); interactionHolder.SetActive(n == switchRooms.roomType.Interaction); locomotionHolder.SetActive(n == switchRooms.roomType.Locomotion); VRUXHolder.SetActive(n == switchRooms.roomType.VRUX); }
public void setRoom(switchRooms.roomType type) { curRoom = type; if (curRoom == rType) { m_Selected = true; if (m_Renderer) { m_Renderer.material = m_SelectedMaterial; } tmpLabel.color = labelSelectedColor; m_outMaterial = m_SelectedMaterial; } else { if (m_Renderer) { m_Renderer.material = m_NormalMaterial; } tmpLabel.color = labelUnselectedColor; m_outMaterial = m_NormalMaterial; } }
public void switchRoom(switchRooms.roomType rt) { }
private void RoomSwitcher_onRoomChanged(switchRooms.roomType r) { switchRoom(r); }