MoveToView
Transforms all selected object to the scene SceneView.pivot.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
MoveToView()
Transforms all selected object to the scene SceneView.pivot.
public void MoveToView()
Remarks
If no argument is passed, each selected object is moved to the SceneView.pivot point, keeping their relative spacing.
MoveToView(Transform)
Transforms all selected object to the scene SceneView.pivot.
public void MoveToView(Transform target)
Parameters
A transform to place at the scene SceneView.pivot.
Remarks
If no argument is passed, each selected object is moved to the SceneView.pivot point, keeping their relative spacing.