Summary
[Editor-Only]
Returns the TAttribute attribute on the underlying field
of the `property` or its
System.Reflection.FieldInfo.FieldType
or
System.Reflection.MemberInfo.DeclaringType
or any of the parent properties
or the type of the UnityEditor.SerializedObject.targetObject
.
- Assembly
- Animancer
.dll - Namespace
- Animancer
.Editor - Containing Type
- AttributeCache
<TAttribute>
Syntax
public static TAttribute FindAttribute(SerializedProperty property)
Parameters
Name | Type | Description |
---|---|---|
property | SerializedProperty |
Return Value
Type | Description |
---|---|
TAttribute |