private void Update() { Vector3 direction = Vector3.zero; if (_target != null) { direction = (_target.position - this.transform.position).normalized; } if (_bulletHandler != null) { _bulletHandler.Fire(direction); } }