public static SceneManagement.StageHandle GetStageHandle (GameObject gameObject);

Parameters

gameObjectThe GameObject to find the stage of.

Returns

StageHandle The stage of the GameObject.

Description

Get the stage in which the given GameObject exists.


public static SceneManagement.StageHandle GetStageHandle (SceneManagement.Scene scene);

Parameters

sceneThe Scene to find the stage of.

Returns

StageHandle The stage of the Scene.

Description

Get the stage in which the given Scene exists.