Version: 2020.3
public static SceneManagement.Stage GetStage (GameObject gameObject);
public static SceneManagement.Stage GetStage (SceneManagement.Scene scene);

返回

Stage The Stage that contains either the GameObject or the Scene.

描述

Get the Stage object that contains the input GameObject or Scene.