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

PrefabStageUtility.GetPrefabStage

Declaration

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

Parameters

gameObject The GameObject to check.

Returns

PrefabStage The containing Prefab stage.

Description

Get the Prefab stage which contains the given GameObject.