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 post
Share on other sites

Please sign in to comment

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

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...