GetPrefabAssetType(Object)
Retrieves an enum value indicating the type of Prefab Asset, such as Regular Prefab, Model Prefab and Prefab Variant.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public static PrefabAssetType GetPrefabAssetType(Object componentOrGameObject)
Parameters
An object that is part of a Prefab Asset or Prefab instance.
Returns
Type | Description |
|---|---|
| PrefabAssetType | The type of Prefab. |