ドキュメント

Unity Engine

Unity Engine

GetPrefabType(Object)

Given an object, returns its Prefab type (None, if it's not a Prefab).
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
注意
Deprecated. Use GetPrefabAssetType and GetPrefabInstanceStatus to get the full picture about Prefab types.
public static PrefabType GetPrefabType(Object target)

Parameters

target

Returns

Type

Description

PrefabType

Remarks

Additional Resources: The PrefabType enumeration for information on the possible return values.