기술 자료

Unity Engine

Unity Engine

GetPrefabType(Object)

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

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
경고
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.