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 .StateMachines - Base Types
-
- MonoBehaviour
graph BT
Type-->Base0["MonoBehaviour"]
Type["Character"]
class Type type-node
Syntax
[AddComponentMenu(Strings.SamplesMenuPrefix + "Characters - Character")]
[AnimancerHelpUrl(typeof(Character))]
[DefaultExecutionOrder(-10000)]
public class Character : MonoBehaviour
Remarks
Sample:
Characters
Attributes
| Type | Description |
|---|---|
| AddComponentMenu | |
| Animancer |
[Assert-Conditional]
A UnityEngine.HelpURLAttribute which points to Animancer's documentation.
|
| Default |
Properties
| Name | Value | Summary |
|---|---|---|
| Animancer | AnimancerComponent | |
| Equipment | Equipment | |
| Health | HealthPool | |
| Parameters | CharacterParameters | |
| StateMachine | StateMachine |
Methods
| Name | Value | Summary |
|---|---|---|
| Awake |
void |