PrefabStageUtility
Utility methods related to Prefab stages.
阅读时间1 分钟最后更新于 1 个月前
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. |