This version of Unity is unsupported.

StageUtility.GetStageHandle

Declaration

public static SceneManagement.StageHandle GetStageHandle(GameObject gameObject);

Parameters

gameObject The GameObject to find the stage of.

Returns

StageHandle The stage of the GameObject.

Description

Get the stage in which the given GameObject exists.


Declaration

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

Parameters

scene The Scene to find the stage of.

Returns

StageHandle The stage of the Scene.

Description

Get the stage in which the given Scene exists.