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

gameObject The GameObject to check.

Returns

PrefabStage The containing Prefab stage.

Description

Get the Prefab stage which contains the given GameObject.

Did you find this page useful? Please give it a rating: