Exemplo n.º 1
0
 public void ShowControllers(bool show)
 {
     HandLeft?.HoldController(show);
     HandRight?.HoldController(show);
     ControllerLeft?.gameObject.SetActive(show);
     ControllerRight?.gameObject.SetActive(show);
 }
Exemplo n.º 2
0
 public void ShowControllers(bool show)
 {
     if (HandLeft != null)
     {
         HandLeft.HoldController(show);
     }
     if (HandRight != null)
     {
         HandRight.HoldController(show);
     }
     if (ControllerLeft != null)
     {
         ControllerLeft.gameObject.SetActive(show);
     }
     if (ControllerRight != null)
     {
         ControllerRight.gameObject.SetActive(show);
     }
 }