TransitionAsset Class

Summary

A UnityEngine.ScriptableObject based Animancer.ITransition.
Assembly
Animancer.dll
Namespace
Animancer
Interfaces
Base Types
graph BT Type-->Base0["TransitionAsset<ITransition>"] Base0-->Base1["TransitionAssetBase"] click Base1 "/animancer-v7-4/api/Animancer/TransitionAssetBase" Base1-->Base2["ScriptableObject"] Type-.->Interface0["ITransition"] click Interface0 "/animancer-v7-4/api/Animancer/ITransition" Type-.->Interface1["IHasKey"] click Interface1 "/animancer-v7-4/api/Animancer/IHasKey" Type-.->Interface2["IWrapper"] click Interface2 "/animancer-v7-4/api/Animancer/IWrapper" Type-.->Interface3["IAnimationClipSource"] Type["TransitionAsset"] class Type type-node

Syntax

[CreateAssetMenu(menuName = Strings.MenuPrefix + "Transition Asset", order = Strings.AssetMenuOrder + 1)]
[AnimancerHelpUrl(typeof(TransitionAsset))]
public class TransitionAsset : TransitionAsset<ITransition>, ITransition, IHasKey, IWrapper, 
    IAnimationClipSource

Remarks

Documentation: Transition Assets

When adding a UnityEngine.CreateAssetMenuAttribute to any derived classes, you can use Animancer.Strings.MenuPrefix and Animancer.Strings.AssetMenuOrder.

Attributes

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

Fields

Name Constant Value Summary
TransitionField _Transition
The name of the serialized backing field of Animancer.TransitionAssetBase.GetTransition.
Inherited from TransitionAssetBase
static

Properties

Name Value Summary
MainImplementation Type
[Editor-Only] The main non-abstract inheritor of this class.
Inherited from TransitionAssetBase
static

Methods

Name Value Summary
Reset() void
[Editor-Only] Assigns a default TTransition to the Animancer.TransitionAsset`1.Transition field.