Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetAttributes

Returns all attribute of the given type.
Read time 1 minuteLast updated 8 days ago

Definition

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

GetAttributes<T>()

Returns all attribute of the given type.
IEnumerable<TAttribute> GetAttributes<TAttribute>() where TAttribute : Attribute

Returns

Type

Description

IEnumerable<T>An IEnumerable_1 for all attributes of the given type.

GetAttributes()

Returns all attribute for this property.
IEnumerable<Attribute> GetAttributes()

Returns

Type

Description

IEnumerable<Attribute>An IEnumerable_1 for all attributes.