Example #1
0
 void OnDisable()
 {
     // remove the joysticks from the cross platform input
     if (useX)
     {
         horizontalVirtualAxis.Remove();
     }
     if (useY)
     {
         verticalVirtualAxis.Remove();
     }
 }
Example #2
0
 void OnDisable()
 {
     ResetPosition();
     // remove the joysticks from the cross platform input
     if (m_UseX)
     {
         m_HorizontalVirtualAxis.Remove();
     }
     if (m_UseY)
     {
         m_VerticalVirtualAxis.Remove();
     }
 }
Example #3
0
    private void OnDisable()
    {
        if (_useX)
        {
            _horizontalVirtualAxis.Remove();
        }

        if (_useY)
        {
            _verticalVirtualAxis.Remove();
        }

        if (canFire)
        {
            _virtualButton.Remove();
        }
    }
Example #4
0
 void OnDisable()
 {
     // The object is disabled so remove it from the cross platform input system
     horizontalAxis.Remove();
 }
Example #5
0
 void OnDisable()
 {
     hAxis.Remove();
     vAxis.Remove();
 }
Example #6
0
 void OnDisable()
 {
     m_HorizontalVirtualAxis.Remove();
     m_VerticalVirtualAxis.Remove();
 }
Example #7
0
 void OnDisable()
 {
     // remove the joystick from the cross platform input
     m_HorizontalVirtualAxis.Remove();
     m_VerticalVirtualAxis.Remove();
 }
 private void OnDisable()
 {
     // The object is disabled so remove it from the cross platform input system
     m_Axis.Remove();
 }
 protected void OnDisable()
 {
     // remove the joysticks from the cross platform input
     m_MouseXVirtualAxis.Remove();
     m_MouseYVirtualAxis.Remove();
 }
Example #10
0
 private void OnDisable()
 {
     m_horizontalVirtualAxis.Remove();
     m_verticalVirtualAxis.Remove();
 }
Example #11
0
 private void OnDisable()
 {
     m_SteerAxis.Remove();
 }