protected virtual void DamageTarget(CharacterHealth health)
        {
            if (gameObject.CompareTag("Player") && health.CompareTag("Enemy"))
            {
                health.Health -= _damage;

                PlayerHitEnemy?.Invoke();

                StateMachineBrains brains = health.gameObject.GetComponentInChildren <StateMachineBrains>();
                if (brains != null)
                {
                    brains.IsShot = true;
                }
            }
            else if (gameObject.CompareTag("Enemy") && health.CompareTag("Player"))
            {
                health.Health -= _damage;
            }
        }