Animation Record
Record and playback animation sequences on objects.
Introduction
Animation Record lets you record an object’s movement by hand right inside the editor, then plays that recording back during the game. Move the object around while recording, and it repeats your every move. The Animation Record component panel in the Uni editor Image The Animation Record component panel in the Object editor. caption
How to Access
Select an object, open the Properties Panel, then press the Add Component button at the bottom and pick Animation Record. The component stacks onto the object as a new accordion of properties. How to Access - Add Component in the Properties Panel
Another Way to Access
Shortcut: open the Asset Panel, go to the Device tab, Basic category, and click the Animation Record block. The editor spawns a cube with Animation Record already attached, ready to adjust. How to Access - the Animation Record block in Asset Panel > Device > Basic
Properties
Animation Record Enum Shows or hides the recording controls in the editor. Play Mode How the recording plays back: once, or on repeat. Auto Play Bool Plays the recording automatically the moment the world starts. Animation Speed Float How fast the recording plays back. Property Type Description Every property on the Animation Record component.
Events
Animation Record has no events.
Commands
Play Plays the recording from the current position. None Play from the Start Rewinds and plays the recording from the very beginning. Pause Freezes the playback where it is. Stop Halts the playback completely. Command Description Parameter Commands that drive the component from a script.
Example
A recorded arrow animation used as a directional guide. Animation Record - simple example