Version: 2023.1
言語: 日本語
public static PrefabAssetType GetPrefabAssetType (Object componentOrGameObject);

パラメーター

componentOrGameObject An object that is part of a Prefab Asset or Prefab instance.

戻り値

PrefabAssetType The type of Prefab.

説明

Retrieves an enum value indicating the type of Prefab Asset, such as Regular Prefab, Model Prefab and Prefab Variant.