示例#1
0
 void Update()
 {
     if (PlayerPrefs.GetInt("Pause") == 0)
     {
         GetInput();
     }
     m_launchGravityWeaponomponent.CheckDistance(m_cameraForward);
     GroundWalk();
     if (!m_isGrounded)
     {
         m_trans.SetParent(null);
     }
 }