Thank you so much for these videos, I'm just getting started with lol and this is extremely helpful, looking forward to more explanation videos on the rest of the API and SDK
Hi, Im in the middle of converting my PC game to Xbox. I've got the mouse pointer moving with the Xbox controller sorted. BUT I've got a level selector which did use buttons on PC , but I can't get the raycast to work for the canvas, have you any ideas or do a quick tutorial? Thanks
Make sure your canvas has a GraphicRaycaster component attached to it. You could also try manually handling this by adding an IPointerClickHandler interface to the components. Another idea is to attach an Image component to the objects to make them a valid target for raycasting within the canvas hierarchy.
Thank you so much for these videos, I'm just getting started with lol and this is extremely helpful, looking forward to more explanation videos on the rest of the API and SDK
@@sotofpv thanks! Glad it was helpful.
Nice ❤ video
@@codewitharib thanks!
Hi, Im in the middle of converting my PC game to Xbox. I've got the mouse pointer moving with the Xbox controller sorted. BUT I've got a level selector which did use buttons on PC , but I can't get the raycast to work for the canvas, have you any ideas or do a quick tutorial? Thanks
Make sure your canvas has a GraphicRaycaster component attached to it. You could also try manually handling this by adding an IPointerClickHandler interface to the components. Another idea is to attach an Image component to the objects to make them a valid target for raycasting within the canvas hierarchy.