Character Interact
Adds the interaction button to a character or NPC: one of the eight components a character root accepts.
Introduction
Character Interact pops an interaction button above the character when a player comes close and looks at it: the classic Talk or Pet prompt for NPCs. It is the same Interact component that objects use, attached to the character root, and it is one of the eight components a character root accepts. The button bubble, its radius, and through-wall interaction are all adjustable from the character's Properties Panel. For the plain object version, see Interact . The Interact component panel on a character in the Uni editor Image The Interact component panel in the character's Properties Panel. caption
How to Access
Select the character, open its Properties Panel, press Add Component, and pick Interact under the Trigger category. It is one of the eight components a character root accepts. How to Access - Add Component on a character
Properties
Interact Radius Float How close a player needs to be before the button bubble appears. X-Ray Bool Allows interacting through walls. Glass and water are always see-through, no matter this setting. Buttons List The list of interaction button bubbles. You can add or remove options freely. Property Type Description Every property on the Interact component.
Events
When Button Is Clicked Fires when a player presses one of the interaction bubbles. Player: the player who clicked Event Description Parameter Every event on the Interact component. Each event links to its full guide, where its parameters and example live.
Commands
Interact has no commands.
Example
An NPC showing a Talk prompt that starts a chat when used. Character Interact - simple example