private void Fire()
        {
            if (_currentEnemy == null)
            {
                return;
            }

            StartCoroutine(ShowBeam(_firePoint.position, _currentEnemy.GetPosition()));
            _currentEnemy.ApplyDamage(_damage);
        }
 public void OnEnemyCollision(IEnemy enemy)
 {
     enemy.ApplyDamage(1f);
     Destroy(gameObject);
 }