Version: 2019.1
Experimental: this API is experimental and might be changed or removed in the future.

PrefabStageUtility.GetPrefabStage

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

Parameters

gameObjectФункции утилиты GameObject.

Returns

PrefabStage The containing Prefab stage.

Description

Get the Prefab stage which contains the given GameObject.