Character Class

Summary

A centralised group of references to the common parts of a character and a state machine for their actions.
Assembly
Animancer.dll
Namespace
Animancer.Samples.AnimatorControllers.GameKit
Base Types
  • MonoBehaviour
graph BT Type-->Base0["MonoBehaviour"] Type["Character"] class Type type-node

Syntax

[AddComponentMenu(Strings.SamplesMenuPrefix + "Game Kit - Character")]
[AnimancerHelpUrl(typeof(Character))]
public class Character : MonoBehaviour

Remarks

Sample: 3D Game Kit

Attributes

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

Properties

Methods

Name Value Summary
Awake() void
CheckMotionState() bool
Check if this Animancer.Samples.AnimatorControllers.GameKit.Character should enter the Idle, Locomotion, or Airborne state depending on whether it is grounded and the movement input from the Brain.