Summary
A variation of the base
Animancer.Examples.Events.FootstepEvents
which responds to Animation Events called "Footstep" by
playing a sound randomly selected from an array, using the Int Parameter of the event as the index to determine
which foot to play the sound on. 0 is the Left Foot and 1 is the Right Foot.
- Assembly
- Animancer
.dll - Namespace
- Animancer
.Examples .Events - Base Types
-
- MonoBehaviour
graph BT
Type-->Base0["MonoBehaviour"]
Type["FootstepEventsAnimation"]
class Type type-node
Syntax
[AddComponentMenu(Strings.ExamplesMenuPrefix + "Footstep Events - Footstep Events Animation")]
[HelpURL(Strings.DocsURLs.ExampleAPIDocumentation + nameof(Events) + "/" + nameof(FootstepEventsAnimation))]
public sealed class FootstepEventsAnimation : MonoBehaviour
Examples
Attributes
Type | Description |
---|---|
AddComponentMenu | |
HelpURLAttribute |