コード例 #1
0
 private void ThrusterControl()
 {
     if (_movement.IsMoving())
     {
         if (!_thruster.activeSelf)
         {
             _thruster.SetActive(true);
         }
     }
     else
     {
         if (_thruster.activeSelf)
         {
             _thruster.SetActive(false);
         }
     }
 }