Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

PrefabStageUtility.GetPrefabStage

Declaration

public static 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.