SceneView.MoveToView

public void MoveToView();
public void MoveToView(Transform target);

Parameters

targetA transform to place at the scene pivot.

Description 描述

Transforms all selected object to the scene pivot.

If no argument is passed, each selected object is moved to the pivot point, keeping their relative spacing.