DirectionalCharacter Class

Summary

A more complex version of the Animancer.Samples.Sprites.DirectionalBasics which adds running and pushing animations as well as the ability to actually move around.
Assembly
Animancer.dll
Namespace
Animancer.Samples.Sprites
Base Types
  • MonoBehaviour
graph BT Type-->Base0["MonoBehaviour"] Type["DirectionalCharacter"] class Type type-node

Syntax

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

Remarks

Sample: Directional Character

Attributes

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

Methods

Name Value Summary
Awake() void
FixedUpdate() void
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