기술 자료

Unity Engine


User Manual

Script Reference

Unity Engine


GetPrefabType(Object)

Given an object, returns its Prefab type (None, if it's not a Prefab).
읽는 시간 1분최근 업데이트: 21일 전

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.