Рет қаралды 12,665
Today I provide you with a demo on how to block touch events from instantiating AR objects when touch events collide with UI components. This video also shows you how to create a C# extension from a Vector2 which extends its functionality and adds a new method to check for UI collisions.
Get the AR Foundation demo shown in this video at:
github.com/dilmerv/UnityARBlockARRaycast
*** Support me by Subscribing to the channel as it will help me in bringing a lot more content ***
bit.ly/2NmnFMu
Support me in Patreon so I can keep doing stuff like this for free!
www.patreon.com/dilmerv
Get realtime indie development tips from me in Twitter
dilmerv
Subscribe to my indie development videos & game releases newsletter
www.dilmergames.com
Blog about Indie development and startup
www.dilmergames.com/blog