public static PrefabAssetType GetPrefabAssetType (Object componentOrGameObject);

파라미터

componentOrGameObjectAn object that is part of a Prefab Asset or Prefab instance.

반환

PrefabAssetType The type of Prefab.

설명

Enum value indicating the type of Prefab Asset, such as Regular Prefab, Model Prefab and Prefab Variant.