Ejemplo n.º 1
0
 public void IsPlacingItem()
 {
     joystick.SetActive(false);
     MovePanel.SetActive(true);
     ShadowMove.SetActive(true);
     PlacePanel.SetActive(true);
     ShadowPlace.SetActive(true);
     PlacePanel.SetActive(true);
     confirmItemB.SetActive(false);
     ItemNameB.SetActive(false);
     ItemSelectPanel.SetActive(false);
     ItemSelectPanelBackdrop.SetActive(false);
     nextItemB.SetActive(false);
     prevItemB.SetActive(false);
     quitSelectorB.SetActive(false);
 }
Ejemplo n.º 2
0
 public void ToggleEditing()
 {
     if (isEditing)
     {
         OpenTabsToggle.SetActive(true);
         Coins.SetActive(true);
         confirmItemB.SetActive(false);
         ItemNameB.SetActive(false);
         ItemSelectPanel.SetActive(false);
         ItemSelectPanelBackdrop.SetActive(false);
         rotateB.SetActive(false);
         nextItemB.SetActive(false);
         prevItemB.SetActive(false);
         quitSelectorB.SetActive(false);
         joystick.SetActive(true);
         SpeakingPanel.SetActive(true);
         CameraButton.SetActive(true);
     }
     else
     {
         OpenTabsToggle.SetActive(false);
         Coins.SetActive(false);
         CameraButton.SetActive(false);
         SitDownButton.SetActive(false);
         JoinGameB.SetActive(false);
         SpeakingPanel.SetActive(false);
         if (tabsSpread)
         {
             SpreadTabs();
         }
         confirmItemB.SetActive(true);
         ItemNameB.SetActive(true);
         nextItemB.SetActive(true);
         ItemSelectPanel.SetActive(true);
         ItemSelectPanelBackdrop.SetActive(true);
         prevItemB.SetActive(true);
         quitSelectorB.SetActive(true);
         joystick.SetActive(false);
     }
     isEditing = !isEditing;
 }