Assets/Scripts/PlayerController.cs
@@ -14,6 +14,7 @@ Animator animator; Animator animator_rotor; public GameObject rotorGO; TouchingDirections touchingDirections; [SerializeField] private bool _isMoving; @@ -60,6 +61,7 @@ rb = GetComponent<Rigidbody2D>(); animator = GetComponent<Animator>(); animator_rotor = rotorGO.GetComponent<Animator>(); touchingDirections = GetComponent<TouchingDirections>(); } // Start is called before the first frame update