LinearBlendTreeLocomotion Class

Summary

An example of how you can wrap a UnityEngine.RuntimeAnimatorController containing a single blend tree in a Animancer.Float1ControllerState to easily control its parameter.
Assembly
Animancer.dll
Namespace
Animancer.Examples.Locomotion
Base Types
  • MonoBehaviour
graph BT Type-->Base0["MonoBehaviour"] Type["LinearBlendTreeLocomotion"] class Type type-node

Syntax

[AddComponentMenu(Strings.ExamplesMenuPrefix + "Locomotion - Linear Blend Tree Locomotion")]
[HelpURL(Strings.DocsURLs.ExampleAPIDocumentation + nameof(Locomotion) + "/" + nameof(LinearBlendTreeLocomotion))]
public sealed class LinearBlendTreeLocomotion : MonoBehaviour

Examples

Linear Blending

Attributes

Type Description
AddComponentMenu
HelpURLAttribute

Properties

Name Value Summary
Speed float
Controlled by a UnityEngine.UI.Slider.