This document is about: FUSION 1
SWITCH TO

This page is a work in progress and could be pending updates.

Interactive Menu


Available in the Industries Circle
Circle
Fusion Industries prototyping Addons

Interactive Menu

The interaction menu module provides :

  • a very simple menu UI prefab InteractiveMenu. It contains a title and a place holder to add text or buttons.
fusion meeting interactive menu prefab
  • a simple line rendered prefab (CurveLineRenderer) that can be used to link the interactive menu with the associated object.
  • the InteractiveMenu class in charge to display the menu that follows the target object. It checks if there is an object between the user and the interactive menu and finds an unobstructed position. The menu is automatically oriented towards the player's camera. It is possible to define the start & end point of the curve line thanks to offset parameters. Also, the menu can be displayed a limited number of times and for a limited time.
fusion meeting interactive menu for meeting sample

How to use it ?

  • Add the InteractiveMenu class to the grabbable object on which you need an interactive menu,
  • Create a menu prefab variant for you needs based on the InteractiveMenu prefab and choose it as the Interactive Menu GO. For example :
fusion meeting interactive menu for meeting sample
fusion meeting interactive menu for meeting sample
  • Set the Curve Prefab with the CurveLineRenderer or any line rendered prefab,
  • Define the Target Object to be followed by the menu

Interactive Menu parameters

fusion meeting interactive menu prefab
  • Always Display InteractiveMenu : if true, the menu will always be displayed. Otherwise, the menu will only be displayed a certain number of times (see Number Of Display Of InteractiveMenu parameter).

  • Number Of Display Of InteractiveMenu : Set the number of time the menu is displayed (Always Display InteractiveMenu must be set to false)

  • Menu Display Duration When Grabbed : the time (in seconds) during which the menu is displayed after the player grab the object

  • Menu Display Duration When UnGrabbed : the time (in seconds) during which the menu is displayed after the player ungrab the object

  • Elastic Speed : Control the elasticity of the curve. In other words, it defines how fast the menu follows the object.

  • Default Menu Offset : Define an offset position for the interactive menu.

  • Interactive Menu Offset In Focus Mode : Offset to control the interactive menu position when focus mode is enabled.

  • Start Position Offset : Offset of the first point of the curve. Useful if you don't want the curve to be in direct contact with the menu.

  • End Position Offset : Offset of the last point of the curve. Useful if you don't want the curve to be in direct contact with the object.

  • Curve Menu Offset : Offset to control the bezier curve near the menu.

  • Curve Object Offset : Offset to control the bezier curve near the object.

  • Obstacle layer : the menu can be displayed in undesirable positions (e.g. in walls). To avoid this, the class uses raycasts to try to find a position where no object obstructs the menu's visibility. You need to define which layers are taken into account in the raycast.

  • Offset Distance When Menu Touch An Object : offet used to move the menu if an object obstructs the menu's visibility.

Demo

A demo scene can be found in Assets\Photon\FusionAddons\Interactivemenu\Demo\Scenes\ folder.

fusion industries addon interactive menu

Three cubes with differente interactivemenu settings can be tested.

Download

This addon latest version is included into the addon project

Supported topologies

  • shared mode

Changelog

  • Version 1.0.4: Remove InteractiveMenu Action Variant prefab
  • Version 1.0.3: Namespace modification
  • Version 1.0.2: Reduce the delay to find the rig + add protection in CheckTargetMenuPosition()
  • Version 1.0.1: Add demo scene + remove unused assets + add namespace
  • Version 1.0.0: First release
Back to top