InternalSerializableTypeAttribute Class

Summary

[Editor-Conditional] A UnityEngine.Scripting.APIUpdating.MovedFromAttribute which indicates that a type may have been previously defined in the pre-compiled Animancer Lite DLL in an earlier version of Animancer.
Assembly
Animancer.dll
Namespace
Animancer.Editor
Base Types
  • MovedFromAttribute
graph BT Type-->Base0["MovedFromAttribute"] Type["InternalSerializableTypeAttribute"] class Type type-node

Syntax

[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct, Inherited = true)]
[System.Diagnostics.Conditional(Strings.UnityEditor)]
public sealed class InternalSerializableTypeAttribute : MovedFromAttribute

Remarks

This allows UnityEngine.SerializeReference fields of the attributed type to retain their values when upgrading from Animancer Lite to Animancer Pro.

Attributes

Type Description
AttributeUsageAttribute
ConditionalAttribute

Constructors

Name Summary
InternalSerializableTypeAttribute() Creates a new Animancer.Editor.InternalSerializableTypeAttribute.