Actions
An Action informs you about something (for example, tells a user where to stand or what object to click), changes the position of a camera (for example, to have a closer view of an object), shows or hides an object from a user, and other. You can assign actions from an always growing list of actions: Animation, Audio, Augmented Reality, Camera, Canvas, Control Flow, Hints, Interactions and Objects.
Actions Inspector
An action is the smallest element which can be executed by the system. It is defined in a context and can live only in a context. A context can be anything from a node to a transition. The context defines a boundary where execution elements, such as an action or a condition, can run and exchange data.
An action has the following elements:
| Element | Description |
|---|---|
| Drag Handle | Move the action up and down the list. |
| Network | Whether the action is applied locally or globally (across network). |
| Action's Body | Properties of an action that are available for a modification. |
| Add Action | Adds a new action after the current action. |
| Action's Title | Type of the action. |
| Revert | When enabled, reverses the changes to this action on exiting the context (Node, Transition, etc.). |
| Async | When enabled, the action is executed asynchronously (in parallel with other actions). |
| Execution Modes | Supported execution modes for this action. |
| Remove Action | Delete the action from its context (Node, Transition, etc.). |
| Make Variable | Make a variable out of this target. |
| Preview | Previews the execution of the action. Preview bars differ for every action. |
Actions are executed according to their specified execution modes. If you define the same execution mode for the action and the procedure, the action will be executed. You can move actions around the list (even from Enter Actions to Exit Actions) and copy them inside the same or diverse types of contexts.
You can quickly replace actions with other actions that belong to the same group. To do that, right-click the action Type, and then select the required action.
Action Categories
| Category | Examples |
|---|---|
| Animation | Animate objects, change color/material, move to target |
| Audio | Play audio clips and Text-to-Speech |
| Augmented Reality | Set AR Object |
| Canvas | Set Text, Set Image, Play Video |
| Camera | Camera Follow Target, Move Camera, Set Camera Orbit Target |
| Control Flow | Wait Time, Run/End Procedure, Set Variable, Events, Random |
| Generic | Math Expression, Whitelist Errors |
| Hints / Feedback | Show Billboard, Outline Object, Notifications |
| Interactions | Door, Connectable, Push Button, Teleport, Toggle Objects |
| Objects | Toggle, Set Material, Ghost, Reposition, Call Method |