public Shot(AbstractProjectileLauncher2D cannon) { _cannon = cannon; }
private void Start() { _player = GameObject.FindGameObjectWithTag("Player"); _cannon = GetComponentInChildren <AbstractProjectileLauncher2D>(); _direction = (_cannon.transform.position - transform.position).normalized; }