TransitionLibraryEditorData Class

Summary

[Editor-Only] Additional data for a Animancer.TransitionLibraries.TransitionLibraryAsset which is excluded from Runtime Builds.
Assembly
Animancer.dll
Namespace
Animancer.Editor.TransitionLibraries
Base Types
  • ScriptableObject
graph BT Type-->Base0["ScriptableObject"] Type["TransitionLibraryEditorData"] class Type type-node

Syntax

[AnimancerHelpUrl(typeof(TransitionLibraryEditorData))]
public class TransitionLibraryEditorData : ScriptableObject

Attributes

Type Description
AnimancerHelpUrlAttribute [Assert-Conditional] A UnityEngine.HelpURLAttribute which points to Animancer's documentation.

Properties

Name Value Summary
Library TransitionLibraryAsset
The library this data is associated with.
TransitionSortMode TransitionSortMode
[UnityEngine.SerializeField] The algorithm to use for sorting transitions.

Methods

Name Value Summary
GetEditorData(TransitionLibraryAsset) TransitionLibraryEditorData
Returns the Animancer.Editor.TransitionLibraries.TransitionLibraryEditorData sub-asset of the `library` if one exists.
static
GetOrCreateEditorData(TransitionLibraryAsset) TransitionLibraryEditorData
Returns the Animancer.Editor.TransitionLibraries.TransitionLibraryEditorData sub-asset of the `library` if one exists. Otherwise, creates and saves a new one.
static
OnDisable() void
Un-registers this data for the Animancer.Editor.TransitionLibraries.TransitionLibraryEditorData.Library.
OnEnable() void
Registers this data for the Animancer.Editor.TransitionLibraries.TransitionLibraryEditorData.Library.