SceneView.AlignViewToObject

Switch to Manual
public void AlignViewToObject (Transform t);

Parameters

tThe transform to frame in the Scene view.

Description

Moves the Scene view to frame a transform.

This sets the scene pivot, rotation, and size to look at a transform.