void LookAtTarget(GameObject lookAtTarget) { Vector3 pos = lookAtTarget.transform.localPosition; pos.y = transform.localPosition.y; transform.LookAt(pos); view.LookTo(pos); }