Summary
[Editor-Only]
A wrapper for accessing the underlying values and fields of a
UnityEditor.SerializedProperty
.
- Assembly
- Animancer
.dll - Namespace
- Animancer
.Editor - Base Types
-
- Object
- Derived Types
graph BT
Type-->Base0["Object"]
Type["Serialization.PropertyAccessor"]
class Type type-node
Derived0["Serialization.CollectionPropertyAccessor"]-->Type
click Derived0 "/animancer-v7-4/api/Animancer.Editor/CollectionPropertyAccessor"
Syntax
public class Serialization.PropertyAccessor
Constructors
Name | Summary |
---|---|
PropertyAccessor |
Creates a new Animancer.Editor.Serialization.PropertyAccessor . |
Fields
Name | Constant Value | Summary |
---|---|---|
Field |
The field wrapped by this accessor.
|
|
FieldElementType |
The type of the wrapped
Animancer.Editor.Serialization.PropertyAccessor.Field .
Or if it's a collection, this is the type of items in the collection.
|
|
Name |
The name of the field wrapped by this accessor.
|
|
Parent |
The accessor for the field which this accessor is nested inside.
|
Methods
Name | Value | Summary |
---|---|---|
GetField |
FieldInfo |
Returns the
Animancer.Editor.Serialization.PropertyAccessor.Field if there is one or tries to get it from the object's type. |
GetField |
FieldInfo |
Returns the
Animancer.Editor.Serialization.PropertyAccessor.Field if there is one, otherwise calls Animancer.Editor.Serialization.PropertyAccessor.GetField(System.Object@) .
|
GetField |
FieldInfo |
Calls
Animancer.Editor.Serialization.PropertyAccessor.GetField(System.Object) with the UnityEditor.SerializedObject.targetObject .
|
GetField |
FieldInfo |
Calls
Animancer.Editor.Serialization.PropertyAccessor.GetField(UnityEditor.SerializedObject) with the
UnityEditor.SerializedProperty.serializedObject .
|
GetFieldElementType |
Type |
Returns the
Animancer.Editor.Serialization.PropertyAccessor.FieldElementType if there is one, otherwise calls Animancer.Editor.Serialization.PropertyAccessor.GetField(System.Object@)
and returns its System.Reflection.FieldInfo.FieldType .
|
GetFieldElementType |
Type |
Calls
Animancer.Editor.Serialization.PropertyAccessor.GetFieldElementType(System.Object) with the
UnityEditor.SerializedObject.targetObject .
|
GetFieldElementType |
Type |
Calls
Animancer.Editor.Serialization.PropertyAccessor.GetFieldElementType(UnityEditor.SerializedObject) with the
UnityEditor.SerializedProperty.serializedObject .
|
GetPath |
string |
Returns a this accessor's
UnityEditor.SerializedProperty.propertyPath . |
GetValue |
Object |
Gets the value of the from the
Animancer.Editor.Serialization.PropertyAccessor.Parent (if there is one), then uses it to get and return
the value of the Animancer.Editor.Serialization.PropertyAccessor.Field .
|
GetValue |
Object |
Gets the value of the from the
Animancer.Editor.Serialization.PropertyAccessor.Parent (if there is one), then uses it to get and return
the value of the Animancer.Editor.Serialization.PropertyAccessor.Field .
|
GetValue |
Object |
Gets the value of the from the
Animancer.Editor.Serialization.PropertyAccessor.Parent (if there is one), then uses it to get and return
the value of the Animancer.Editor.Serialization.PropertyAccessor.Field .
|
ResetValue |
void |
Resets the value of the
UnityEditor.SerializedProperty to the default value of its type by executing
its constructor and field initializers.
|
SetValue |
void |
Gets the value of the from the
Animancer.Editor.Serialization.PropertyAccessor.Parent (if there is one), then uses it to set the value
of the Animancer.Editor.Serialization.PropertyAccessor.Field .
|
SetValue |
void |
Gets the value of the from the
Animancer.Editor.Serialization.PropertyAccessor.Parent (if there is one), then uses it to set the value
of the Animancer.Editor.Serialization.PropertyAccessor.Field .
|
SetValue |
void |
Gets the value of the from the
Animancer.Editor.Serialization.PropertyAccessor.Parent (if there is one), then uses it to set the value
of the Animancer.Editor.Serialization.PropertyAccessor.Field .
|
ToString |
string |
Returns a description of this accessor's path.
|