action-replay
# Action Replay System
Record player input as timestamped frames and replay it at any speed. Use it for ghost racing, replays, AI training data, QA reproduction, or highlight clips.
Structure
Quick Start
1. Record
2. Replay
API
ActionRecorder
ActionPlayer
InputFrame
Playback Speed
Serialization
ReplayData is [Serializable], so it can be saved as JSON.
Use Cases
Networking
Multiplayer replay sync requires a deterministic game loop. Physics-heavy games should drive physics manually, for example with Physics.simulationMode = Script.