private void OnTriggerEnter(Collider other) { if (other.CompareTag("Buggy")) { cam.ChangeYaw(targetYaw, smoothing); cam.ChangeDistance(distance, smoothing); } }
private void OnTriggerEnter(Collider other) { if (other.CompareTag("Buggy")) { cam.ChangeYaw(targetYaw, smoothing); cam.ChangeDistance(distance, smoothing); } }