Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetAttribute<TAttribute>()

Returns the first attribute of the given type.
Read time 1 minuteLast updated 6 days ago

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.