Example #1
0
 public void SetGroundMode(bool active)
 {
     if (active)
     {
         planeMode = PlaneMode.GROUND;
         m_GroundPlaneUI.UpdateTitle();
         m_PlaneFinder.enabled         = true;
         m_MidAirPositioner.enabled    = false;
         m_TouchHandler.enableRotation = false;
     }
 }
Example #2
0
 public void SetGroundMode(bool active)
 {
     if (active)
     {
         planeMode = PlaneMode.GROUND;
         m_GroundPlaneUI.UpdateTitle();
         m_PlaneFinder.enabled = true;
     }
 }
Example #3
0
    public void SetGroundMode(bool active)
    {
        if (active)
        {
            m_GroundPlaneUI.UpdateTitle();
            m_PlaneFinder.enabled = true;

            m_TouchHandler.enableRotation = false;
        }
    }
Example #4
0
 public void SetMidAirMode(bool active)
 {
     if (active)
     {
         planeMode = PlaneMode.MIDAIR;
         m_GroundPlaneUI.UpdateTitle();
         m_MidAirPositioner.enabled    = true;
         m_TouchHandler.enableRotation = false;
     }
 }