ドキュメント

Unity Engine

Unity Engine

GetAttribute<TAttribute>()

Returns the first attribute of the given type.
読み終わるまでの所要時間 1 分最終更新 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.