Jump to content

Setting flexible beam


Recommended Posts

hi there, i have  a problem with "RaycastMode"  which is set to "Beam" but when i move far from UI object i m not able to click on the UI Buttons, here is my script.


void Start()
controller_right = GetComponent<WaveVR_ControllerLoader>();
if (EventSystem.current != null && EventSystem.current.GetComponent<WaveVR_ControllerInputModule>() != null)
EventSystem.current.GetComponent<WaveVR_ControllerInputModule>().RaycastMode = ERaycastMode.Beam;

( - tag added by moderator)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...