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); }
public void BrowseTypeOfAccessory(string type) { AccessoryName.SetActive(true); AccessoryNameShadow.SetActive(true); string mainType = type.Split('-')[0]; specificType = type.Split('-')[1]; BackToMainMenuCharacterSelect.SetActive(true); MainMenuCharacterSelect.SetActive(false); CancelSkinB.SetActive(false); ConfirmSkinB.SetActive(false); if (mainType != "Skin") { CharacterPanels[mainType].SetActive(true); } else { AccessoryName.SetActive(false); AccessoryNameShadow.SetActive(false); MainMenuCharacterBack.SetActive(false); } BrowseSpecificAccessory(specificType); }