-
Notifications
You must be signed in to change notification settings - Fork 81
Example 10.ControllerTooltips
ChengNan Yang edited this page Jan 3, 2024
·
1 revision
This example will guide you how to customize controller tooltips to fit your needs.
- Steps to config your project
- Checked Simulator under Edit>Preference...>VIU Settings
- Change Device Index 1 and 2 to Vive Focus 3 Controller
- Change Override Model to Vive Focus 3 Controller for both RightModel and LeftModel
- Under Tooltip>TooltipRenderer, set Vive Focus 3 Controller to corresponding tooltip rig asset
- In Play mode, you can see Teleport and Open Menu labels on right controller
- Modify ModeManager.cs to meet your needs. By default, it is set to Right controller
- How to adjust tooltip rig asset
- By default, it is set to Raw mode(PoseMode) for Vive Focus 3 controller
- Modify Button Position/Normal, drag your transform to yellow box
- Modify Label Position/Normal/Up, drag your transform to blue box