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.

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