기술 자료

Unity Engine

Unity Engine

GetAttribute<TAttribute>()

Returns the first attribute of the given type.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: Unity.Properties
  • Assembly: UnityEngine.PropertiesModule

GetAttribute<T>()

TAttribute GetAttribute<TAttribute>() where TAttribute : Attribute

Returns

Type

Description

TThe attribute of the given type for this property.