AttributeCache<TAttribute>.

FindAttribute(FieldInfo) Method

Summary

Returns the TAttribute attribute on the specified `field` or its System.Reflection.FieldInfo.FieldType or System.Reflection.MemberInfo.DeclaringType.
Assembly
Animancer.dll
Namespace
Animancer.Editor
Containing Type
AttributeCache<TAttribute>

Syntax

public static TAttribute FindAttribute(FieldInfo field)

Parameters

Name Type Description
field FieldInfo

Return Value

Type Description
TAttribute