CurvedUI
  • ๐Ÿ‘‹Getting Started
    • Compatibility
    • CurvedUI in a new Project
    • Setup for Steam VR SDK
    • Setup for Meta XR SDK
    • Setup for Unity XR SDK
    • Setup for other Platforms
  • ๐Ÿ”ฐScripting API
    • CurvedUIInputModule
    • CurvedUISettings
    • CurvedUIRaycaster
  • โ“FAQ & Common Problems
  • ๐ŸžKnown Issues
  • ๐Ÿ—’๏ธChangelog
  • ๐Ÿ™‹Contact & Support
Powered by GitBook
On this page
  1. Getting Started

Setup for other Platforms

You can use any third-party physical or virtual remotes as CurvedUI input.

To do this, set your CurvedUISettings to Custom Ray Control Method and place the following script somewhere on the scene: (Of course, you have to fill the variables there with your remoteโ€™s data)

void Update()
{
    CurvedUIInputModule.CustomRay = new Ray(yourRemoteTransform.position, yourRemoteTransform.forward);

    CurvedUIInputModule.CustomRayButtonState = isButtonOnYourRemotePressed;
}

You can also Add ControllerLaserPointer prefab as a child of your remoteโ€™s transform to give it a laser pointer.

PreviousSetup for Unity XR SDKNextScripting API

Last updated 3 months ago

๐Ÿ‘‹