PrefabStageUtility
Utility methods related to Prefab stages.
Read time 1 minuteLast updated 11 days ago
Definition
- Type: Class
- Namespace: UnityEditor.SceneManagement
- Assembly: UnityEditor.CoreModule
public static class PrefabStageUtility
Static Methods
Method | Description |
|---|---|
| GetCurrentPrefabStage | Get the current Prefab stage, or null if there is none. |
| GetPrefabStage | Get the Prefab stage which contains the given GameObject. |
| OpenPrefab | Opens a Prefab Asset in Prefab Mode. |