private void Update() { if (PlayerController.instance != null) { rocketController.SetTarget(PlayerController.instance.transform.position); } }
private void Update() { rocketController.SetTarget(PlayerController.instance.transform.position); distanceToPlayer = Vector3.Distance(transform.position, PlayerController.instance.transform.position); NormalUpdate(); }
private void Update() { rocketController.SetTarget(target); }