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; } }
public void SetGroundMode(bool active) { if (active) { planeMode = PlaneMode.GROUND; m_GroundPlaneUI.UpdateTitle(); m_PlaneFinder.enabled = true; } }
public void SetGroundMode(bool active) { if (active) { m_GroundPlaneUI.UpdateTitle(); m_PlaneFinder.enabled = true; m_TouchHandler.enableRotation = false; } }
public void SetMidAirMode(bool active) { if (active) { planeMode = PlaneMode.MIDAIR; m_GroundPlaneUI.UpdateTitle(); m_MidAirPositioner.enabled = true; m_TouchHandler.enableRotation = false; } }