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