Exemplo n.º 1
0
 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;
 }
Exemplo n.º 2
0
 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);
 }
Exemplo n.º 3
0
 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);
 }