Summary
An example of how you can use a
Animancer.LinearMixerState to mix a set of animations based on a
Animancer.Examples.Locomotion.LinearMixerLocomotion.Speed parameter.
- Assembly
- Animancer
.dll - Namespace
- Animancer
.Examples .Locomotion - Base Types
-
- MonoBehaviour
graph BT
Type-->Base0["MonoBehaviour"]
Type["LinearMixerLocomotion"]
class Type type-node
Syntax
[AddComponentMenu(Strings.ExamplesMenuPrefix + "Locomotion - Linear Mixer Locomotion")]
[HelpURL(Strings.DocsURLs.ExampleAPIDocumentation + nameof(Locomotion) + "/" + nameof(LinearMixerLocomotion))]
public sealed class LinearMixerLocomotion : MonoBehaviour
Examples
Attributes
| Type | Description |
|---|---|
| AddComponentMenu | |
| HelpURLAttribute |
Properties
| Name | Value | Summary |
|---|---|---|
| Speed | float |
Controlled by a
UnityEngine.UI.Slider. |