Beispiel #1
0
 void OnDisable()
 {
     // remove the joysticks from the cross platform input
     if (useX)
     {
         horizontalVirtualAxis.Remove();
     }
     if (useY)
     {
         verticalVirtualAxis.Remove();
     }
 }
Beispiel #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();
     }
 }
Beispiel #3
0
    private void OnDisable()
    {
        if (_useX)
        {
            _horizontalVirtualAxis.Remove();
        }

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

        if (canFire)
        {
            _virtualButton.Remove();
        }
    }
Beispiel #4
0
 void OnDisable()
 {
     // The object is disabled so remove it from the cross platform input system
     horizontalAxis.Remove();
 }
Beispiel #5
0
 void OnDisable()
 {
     hAxis.Remove();
     vAxis.Remove();
 }
Beispiel #6
0
 void OnDisable()
 {
     m_HorizontalVirtualAxis.Remove();
     m_VerticalVirtualAxis.Remove();
 }
Beispiel #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();
 }
Beispiel #10
0
 private void OnDisable()
 {
     m_horizontalVirtualAxis.Remove();
     m_verticalVirtualAxis.Remove();
 }
Beispiel #11
0
 private void OnDisable()
 {
     m_SteerAxis.Remove();
 }