Hi,
How can I open a website URLs from an images marker using ARCore in Unity?
Thank you!
Hi,
How can I open a website URLs from an images marker using ARCore in Unity?
Thank you!
If you are trying to read URL from a QR code - it’s one thing (and IMO it doesn’t need AR Core).
If you have a set of images (not necessarily QR codes with URLs) and have a table of how they are related to URLs - then you should listen to ARTrackedImageManager.trackedImagesChanged
and then look at ARTrackedImagesChangedEventArgs.added
- this is the image that has been detected. Then you just look at ARTrackedImage.referenceImage.name
and perform an action based on that.
You can see the full code samples at AR tracked image manager | AR Foundation | 4.1.13