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); RequestsPanel.SetActive(false); InRequestsTopTab.SetActive(false); InGroupsTopTab.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 CloseGamePanel() { FriendsPanel.SetActive(true); FullGamePanel.SetActive(false); isGamePanelOpen = false; GoToGroups(); BackToGroups(); }
public void BackToGroups() { // add invite to group button at top of group BackToGroupsTopTab.SetActive(false); InGroupsTopTab.SetActive(true); GroupFriendsPanel.SetActive(false); FriendsPanel.SetActive(true); }
public void OpenGroup() { GroupFriendsPanel.SetActive(true); FriendsPanel.SetActive(false); RequestsPanel.SetActive(false); // only for precaution BackToGroupsTopTab.SetActive(true); InGroupsTopTab.SetActive(false); }
public void OpenGroup() { GroupFriendsPanel.SetActive(true); ParentPanel.GetComponent <ScrollRect>().content = GroupFriendsPanel.GetComponent <RectTransform>(); FriendsPanel.SetActive(false); RequestsPanel.SetActive(false); // only for precaution BackToGroupsTopTab.SetActive(true); InGroupsTopTab.SetActive(false); }
public void OpenGamesPanel() { isGamePanelOpen = true; FriendsPanel.SetActive(false); RequestsPanel.SetActive(false); GroupFriendsPanel.SetActive(false); FullGamePanel.SetActive(true); TogglePanel(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); }
public void SetInitialState() { panel.SetActive(false); TopPanel.SetActive(false); FriendsPanel.SetActive(true); RequestsPanel.SetActive(false); tabsSpread = false; mapIsToggled = false; openPanelButton.SetActive(false); closePanelButton.SetActive(false); SpeakingPanel.SetActive(false); OpenTabsToggle.SetActive(true); EditOrGoHomePanel.SetActive(false); if (inMyRoom) { goBackHome.SetActive(false); } else { editWorld.SetActive(false); goBackHome.SetActive(true); } }
public void OpenPublicWorldsPanel() { FriendsPanel.SetActive(false); PublicWorldsPanel.SetActive(true); BackToGroupsTopTab.SetActive(true); }
public void ToggleRequestAndFriendsPanel() { RequestsPanel.SetActive(friendsPanelOpen); FriendsPanel.SetActive(!friendsPanelOpen); friendsPanelOpen = !friendsPanelOpen; }