Unity Event Actions
These actions allow you to easily synchronize logic between all session participants.
Other actions allow you to add interactivity to your VIROO Application, such as moving elements, playing audio and video, displaying action menus, etc. For other interactions, where you need to call your own code, third party or Unity's own logic that is not covered by other actions, you can use UnityEventActions. These allow you, by using a UnityEvent to call your own callbacks.
There are two actions to invoke your own callbacks: UnityEventAction and UnityEventNonBroadcastAction.
You can execute these actions as a result of an Interaction or from your own code.
UnityEventAction
This action allows you to invoke a callback (from your own Unity components or components) on all users in the session. The callback is executed synchronously among all users in your VIROO Application.
UnityEventAction Settings | |
---|---|
Field | Description |
Delay | Waiting time after the Action is called and the movement is started. |
Exposed Event | UnityEvent that will be invoked on all users when this Action is executed. |
UnityEventNonBroadcastAction
This action allows you to invoke a callback (from your own Unity components or components) only on the user that executes this Action.
UnityEventNonBroadcastAction Settings | |
---|---|
Field | Description |
Delay | Waiting time after the Action is called and the movement is started. |
Exposed Event | The action to be called only for the user who invokes this Action. |