Version: 2022.1
public static void GoToStage (SceneManagement.Stage stage, bool setAsFirstItemAfterMainStage);

参数

stage The stage to navigate to.
setAsFirstItemAfterMainStage When set to true, the new stage replaces existing stages in the breadcrumbs, apart from the main stage.

描述

Navigates the Editor to the specified stage.

The specified stage can be a new stage, or an existing stage that is already open and part of the stage breadcrumbs in the Scene view.