Summary
[Pro-Only]
A
UnityEngine.ScriptableObject
which serializes a Animancer.TransitionLibraries.TransitionLibraryDefinition
and creates a Animancer.TransitionLibraries.TransitionLibrary
from it at runtime.
- Assembly
- Animancer
.dll - Namespace
- Animancer
.TransitionLibraries - Interfaces
-
- IAnimationClipSource
- Base Types
-
- ScriptableObject
graph BT
Type-->Base0["ScriptableObject"]
Type-.->Interface0["IAnimationClipSource"]
Type["TransitionLibraryAsset"]
class Type type-node
Syntax
[CreateAssetMenu(menuName = Strings.MenuPrefix + "Transition Library", order = Strings.AssetMenuOrder + 0)]
[AnimancerHelpUrl(typeof(TransitionLibraryAsset))]
public class TransitionLibraryAsset : ScriptableObject, IAnimationClipSource
Remarks
Documentation:
Transition Libraries
Attributes
Type | Description |
---|---|
Create |
|
Animancer |
[Assert-Conditional]
A UnityEngine.HelpURLAttribute which points to Animancer's documentation.
|
Properties
Name | Value | Summary |
---|---|---|
Definition | Transition |
[
UnityEngine.SerializeField ]
The serialized data which will be used to initialize the Animancer.TransitionLibraries.TransitionLibraryAsset.Library at runtime.
|
Library | TransitionLibrary |
The runtime
Animancer.TransitionLibraries.TransitionLibrary created from the Animancer.TransitionLibraries.TransitionLibraryAsset.Definition . |
Methods
Name | Value | Summary |
---|---|---|
GetAnimationClips |
void |
Gathers all the animations in the
Animancer.TransitionLibraries.TransitionLibraryAsset.Definition and Animancer.TransitionLibraries.TransitionLibraryAsset.Library . |
OnDefinitionModified |
void |
Adds the contents of the
Animancer.TransitionLibraries.TransitionLibraryAsset.Definition
to the Animancer.TransitionLibraries.TransitionLibraryAsset.Library if it was already initialized.
|
OnEnable |
void |
Initializes the
Animancer.TransitionLibraries.TransitionLibraryAsset.Library . |
Extension Methods
Name | Value | Summary |
---|---|---|
GetEditorData |
Transition |
Animancer.Editor.TransitionLibraries.TransitionLibraryEditorData.GetEditorData(Animancer.TransitionLibraries.TransitionLibraryAsset) |
Get |
Transition |
Animancer.Editor.TransitionLibraries.TransitionLibraryEditorData.GetOrCreateEditorData(Animancer.TransitionLibraries.TransitionLibraryAsset) |