void Awake()
 {
     inputState = GetComponent<InputState>();
     anim = GetComponentInChildren<SkeletonAnimation>();
     collisionState = GetComponent<CollisionState>();
     attackBehavior = GetComponent<Attack>();
     rb2d = GetComponent<Rigidbody2D>();
     crouchBehavior = GetComponent<CrouchBehavior>();
 }
 protected virtual void Awake()
 {
     _inputState = GetComponent<InputState>();
     _rb2d = GetComponent<Rigidbody2D>();
     _collisionState = GetComponent<CollisionState>();
 }