Version: 2019.3
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.


Did you find this page useful? Please give it a rating: