InfoPoints allow the easy addition of worldspace UI canvases to your scene. They can be used to show text, images, and video, or any custom UI elements you like.

Activatables Components

This is an activatable component. Activatables hold a boolean on/off value representing their activation state. This state will change when the player interacts with the component.

InfoPoints consist of two parts

  1. The trigger: The user clicks on this to activate the InfoPoint.
  2. The Canvas: When the InfoPoint is activated, the canvas will be activated. This is where the UI elements are held. The InfoPoint will be deactivated when the close button is clicked, reenabling the trigger

InfoPoint triggers

InfoPoint triggers

InfoPoint canvas

InfoPoint canvas

<aside> ℹ️ InfoPoints share a number of behaviours and properties with activatables. You can use the IV_InfoPoint interface to programmatically activate and deactivate the InfoPoint, and link your own scripts' functions to the OnActivate and OnDeactivate events in the inspector

</aside>

Currently, VE2 supports only a single infopoint type, the V_CustomInfoPoint

V_CustomInfoPoint

These supply a blank canvas, allowing you to add in whatever elements you would like, such as text, images, and interactable UI elements such as buttons.

To resize the canvas, use the Rect tool to resize the canvas

UI elements should be added to the “CenterPanel” GameObject

UI elements should be added to the “CenterPanel” GameObject

<aside> ⚠️ Activatables must have a non-trigger collider to register interactions

</aside>

Code Example

Inspector Properties