DirectionalBasics Class

Summary

Animates a character to either stand idle or walk using animations defined in Animancer.DirectionalAnimationSets.
Assembly
Animancer.dll
Namespace
Animancer.Samples.Sprites
Base Types
  • MonoBehaviour
graph BT Type-->Base0["MonoBehaviour"] Type["DirectionalBasics"] class Type type-node

Syntax

[AddComponentMenu(Strings.SamplesMenuPrefix + "Sprites - Directional Basics")]
[AnimancerHelpUrl(typeof(DirectionalBasics))]
public class DirectionalBasics : MonoBehaviour

Remarks

Sample: Directional Basics

Attributes

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

Methods

Name Value Summary
OnValidate() void
[Editor-Only] Sets the character's starting sprite in Edit Mode so you can see it while working in the scene.
Update() void