Friday, November 18, 2022
HomeGame Developmentgui - Graphics Raycaster with VR

gui – Graphics Raycaster with VR


I’m making an attempt to determine tips on how to permit my gamers to place in a code to affix a bunch room utilizing photon. Unity appears to recommend utilizing a graphics raycaster however in most pattern code it makes use of mouse enter for the enter information like on this instance :

//Create the PointerEventData with null for the EventSystem
PointerEventData ped = new PointerEventData(null);
//Set required parameters, on this case, mouse place
ped.place = Enter.mousePosition;

I’ve been in a position to work together by placing a collider on the UI component and a collider on the OVR Participant’s hand however how would I create a pointer like in oculus house to work together with the GUI ?

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments