AlignViewToObject(Transform)
Moves the Scene view to frame a transform.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public void AlignViewToObject(Transform t)
Parameters
The transform to frame in the Scene view.
Remarks
This sets the scene pivot, rotation, and SceneView.size to look at a transform.