<aside> 🎞️ TLDR: Video tutorial

</aside>

Get Started

Radial menu is a lightweight UI component and a reliable solution to display options. In VR, the radial menu enables users to use the joystick/trackpad to select options.

  1. You can duplicate(copy/paste) the RadialItem Game Object under the RadialMenu Game Object. The radial menu will automatically adjust each sector’s size according to the total number of radial items.

  2. On the Radial Menu Manager, changing the Icon Radius will change the distance of all the children’s icons towards the centre.

  3. On the Radial Item, you can change the normal colour and hover colour. You can also assign the icon image.

    The OnClick Event will be triggered when the radial item is being pressed.

    https://lh3.googleusercontent.com/kZgwJ-ocQz9H50fpv15KdAun6DlcwM3FVkSqIPUomTvVYlO7aseNkvJVwm0ZdHw2I7Oustem9QysuLhUP1BBkjXRMcV3I451kT7GvC2K49CXF4gkYOAgf6WJ9mMFWpezZA

Platform Setup

Oculus

On the Radial Menu Manager, select the Controller. Then you will be able to move your Joystick on the assigned controller to highlight the radial button and press to select.

https://lh4.googleusercontent.com/iixpa2zNyAd2c8w3PlwI8WfP029tjRG6d7IkQRZ3Q_4pi1kdj1SgfL_VcaDAIfteR5STR_-BaOgozEdQhJ4NuxK33_RscAz2bTfCB_acF-7lWYqSLkkWbj1067h6bZRRsQ

Unity XR Interaction Toolkit

To use Radial Menu with Unity XR Interaction system, go to Window > VR UIKit > Setup XR Interaction Toolkit. It will take a few seconds to set up.

https://lh6.googleusercontent.com/wHdunxJ0xzAClGKzqM4bJjQazI5Yu93uKbOfzuwjwf62IQUQ9IawiNq3QfTrQw4oPfkviSCUzjKhntfkR0rhXK63EzxtQCB2DannaRFdkZWlmbvcyYeNreGtOBWHbsbwqg

Then on the Radial Menu Manager, you'll be able to select the input type.

Device Based

After assigning the controller, you can then move your Joystick/Trackpad on the assigned controller to highlight the radial button and press to select.

unnamed-1.png

Action Based

Please provide the input action references for the Joystick Move to hover the radial items, and the Joystick Press to select the radial item.