Quaternion.SetLookRotation

Switch to Manual
public void SetLookRotation (Vector3 view, Vector3 up= Vector3.up);

Parameters

view The direction to look in.
up The vector that defines in which direction up is.

Description

Creates a rotation with the specified forward and upwards directions.