Serialization.

GetField(Serialization.PropertyAccessor, SerializedProperty, Type, string) Method

Summary

Returns a field with the specified `name` in the `declaringType` or any of its base types.

Syntax

public static FieldInfo GetField(Serialization.PropertyAccessor accessor, SerializedProperty property, Type declaringType, string name)

Remarks

Uses the InspectorGadgets.Editor.Serialization.InstanceBindings.

Parameters

Name Type Description
accessor Serialization.PropertyAccessor
property SerializedProperty
declaringType Type
name string

Return Value

Type Description
FieldInfo