Device
Plays a use animation on the character, then signals when they finish: repair benches, crafting stations, and hand-pulled levers.
Introduction
Device plays an animation on the character while they use it, then sends a signal once they finish. Repair benches, crafting stations, and levers pulled by hand all live here. It is the perfect component whenever a player should trigger an animation by interacting: opening a door, cracking open a gift box, pulling a lever, or turning a crank. Pick the animation and the trigger style that fits the moment, and the character performs it before any connected actions run. The Device component panel in the Uni editor Image The Device 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 Device. 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, Others category, and click the Interactive device block. It spawns an interactive terminal with the Device component already attached, ready to pick its animation and interaction settings. How to Access - the Interactive device block in Asset Panel > Device > Others
Properties
Animation The animation the character performs. Loop Type Enum Plays the animation once, or keeps it looping. Trigger Mode How the interaction starts: entering the zone around the device, or pressing the interact button. Interact Text String The label on the interaction bubble. Property Type Description Every property on the Device component.
Events
When Interaction Start Fires when the player starts using the device. Player: the player who started When Interaction End Fires when the player walks away and the interaction ends. Player: the player who left Event Description Parameter Every event on the Device component. Each event links to its full guide, where its parameters and example live.
Commands
Device has no commands.
Example
Play a dance animation on interact Device - Simple Example