Serialization Class

Summary

[Editor-Only] Various serialization utilities.
Assembly
Animancer.dll
Namespace
Animancer.Editor
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["Serialization"] class Type type-node

Syntax

public static class Serialization

Fields

Name Constant Value Summary
ArrayDataPrefix .Array.data[
The text used in a UnityEditor.SerializedProperty.propertyPath to denote array elements.
static
ArrayDataSuffix ]
The text used in a UnityEditor.SerializedProperty.propertyPath to denote array elements.
static
InstanceBindings 52
Bindings for Public and Non-Public Instance members.
static

Methods

Name Value Summary
GetFriendlyPath(SerializedProperty) string
Returns a user friendly version of the UnityEditor.SerializedProperty.propertyPath.
static
GetValue(SerializedProperty, Object) Object
Gets the value of the specified UnityEditor.SerializedProperty.
static
IsValid(Serialization.ObjectReference) bool
Returns true if the `reference` and Animancer.Editor.Serialization.ObjectReference.Object are not null.
static
IsValid(Serialization.PropertyReference) bool
Returns true if the `reference` and Animancer.Editor.Serialization.PropertyReference.Property are not null.
static