Exemple #1
0
 public void CheckIfAllTogglesOff(bool b)
 {
     if (!b)
     {
         if (!toggles[0].isOn && !toggles[1].isOn && !toggles[2].isOn)
         {
             Debug.Log("All toggles are off!");
             m_planeManager.SetNoneMode();
             m_groundPlaneUI.AllTogglesOff();
             resetButtonGGV.DisplayCanvasGroup(false);
         }
     }
 }