Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


MoveToView

Transforms all selected object to the scene SceneView.pivot.
Read time 1 minuteLast updated 10 days ago

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

target

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.