public void ToggleCharacterChange() { joystick.SetActive(changingCharacter); OpenTabsToggle.SetActive(changingCharacter); Coins.SetActive(changingCharacter); CameraButton.SetActive(changingCharacter); SpeakingPanel.SetActive(changingCharacter); WardrobeB.SetActive(changingCharacter); if (tabsSpread && !changingCharacter) { SpreadTabs(); } ConfirmSkinB.SetActive(!changingCharacter); CancelSkinB.SetActive(!changingCharacter); MainMenuCharacterSelect.SetActive(!changingCharacter); RotateCharacterB.SetActive(!changingCharacter); MainMenuCharacterBack.SetActive(!changingCharacter); PreviousSkinB.SetActive(false); NextSkinB.SetActive(false); if (changingCharacter) { SetInitialState(); } changingCharacter = !changingCharacter; }
public void BrowseSpecificAccessory(string type) { menuSelectors[specificType].SetActive(false); menuSelectors[type].SetActive(true); NoAccesoriesButton.SetActive(false); specificType = type; NextSkinB.SetActive(true); PreviousSkinB.SetActive(true); CharacterChange.GetComponent <CharacterChange>().SetBrowsingType(type); }
public void BackToCharacterselect() { NextSkinB.SetActive(false); PreviousSkinB.SetActive(false); ArmPanel.SetActive(false); TorsoPanel.SetActive(false); FacePanel.SetActive(false); MainMenuCharacterSelect.SetActive(true); MainMenuCharacterBack.SetActive(true); RotateCharacterB.SetActive(true); BackToMainMenuCharacterSelect.SetActive(false); CancelSkinB.SetActive(true); ConfirmSkinB.SetActive(true); AccessoryName.SetActive(false); AccessoryNameShadow.SetActive(false); NoAccesoriesButton.SetActive(false); menuSelectors[specificType].SetActive(false); }