public void SetInitialState() { panel.SetActive(false); TopPanel.SetActive(false); FriendsPanel.SetActive(true); ParentPanel.GetComponent <ScrollRect>().content = FriendsPanel.GetComponent <RectTransform>(); RequestsPanel.SetActive(false); tabsSpread = false; mapIsToggled = false; openPanelButton.SetActive(false); StandUpButton.SetActive(false); SitDownCameraChange.SetActive(false); SitDownButton.SetActive(false); closePanelButton.SetActive(false); FullGamePanel.SetActive(false); SpeakingPanel.SetActive(true); Coins.SetActive(true); OpenTabsToggle.SetActive(true); EditOrGoHomePanel.SetActive(false); GamePanel.SetActive(false); CameraButton.SetActive(true); JoinGameB.SetActive(false); SitDownCameraChange.SetActive(false); if (inMyRoom) { goBackHome.SetActive(false); } else { editWorld.SetActive(false); goBackHome.SetActive(true); } }
public void GoToGroups() { FriendsPanel.SetActive(true); ParentPanel.GetComponent <ScrollRect>().content = FriendsPanel.GetComponent <RectTransform>(); RequestsPanel.SetActive(false); InRequestsTopTab.SetActive(false); InGroupsTopTab.SetActive(true); }
public void BackToGroups() { BackToGroupsTopTab.SetActive(false); InGroupsTopTab.SetActive(true); GroupFriendsPanel.SetActive(false); FriendsPanel.SetActive(true); PublicWorldsPanel.SetActive(false); ParentPanel.GetComponent <ScrollRect>().content = FriendsPanel.GetComponent <RectTransform>(); LoadingNewMemberToggle(false); }