SceneView.AlignViewToObject

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.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答