Version: 2021.2

StageUtility.GetCurrentStage

切换到手册
public static SceneManagement.Stage GetCurrentStage ();

返回

Stage The current Stage that is currently being rendered in the Scene view and shown in the Hierarchy.

描述

The current Stage can either be the MainStage or any other opened Stage, visualized in the Scene view as the last breadcrumb in the breadcrumb bar.