This version of Unity is unsupported.
Experimental: this API is experimental and might be changed or removed in the future.

PrefabStageUtility.GetPrefabStage

public static Experimental.SceneManagement.PrefabStage GetPrefabStage(GameObject gameObject);

Parameters

gameObjectThe GameObject to check.

Returns

PrefabStage The containing Prefab stage.

Description

Get the Prefab stage which contains the given GameObject.