Animator
Optional feature
Animator is part of Animation Graphs. A build includes it only when a scene, prefab or script uses it — see Feature cropping.
From a script
ts
import { AnimatorComponent } from "mmpx";
const animator = this.entity.TryGetComponent(AnimatorComponent);Full API: AnimatorComponent.
Fields
| Field | Type | Default | Description |
|---|---|---|---|
Graphgraph | animgraph asset | — | Animation graph (.animgraph) — states, transitions and parameters. Needs an Animation component on the same entity. |