示例#1
0
 void OnDisable()
 {
     // remove the joysticks from the cross platform input
     if (m_UseX)
     {
         m_HorizontalVirtualAxis.Remove();
     }
     if (m_UseY)
     {
         m_VerticalVirtualAxis.Remove();
     }
 }