How to assign different prefabs on different images using ARcore

Hello,

I just started to play with the new image recognition using ARcore, I was able to create my custom image database but now I want to assign different models to different images, if anyone could point me in the right direction that would be awesome, Thanks!!

Just tackled the same problem, hope it’s still useful for someone.
You can check the name of the image that was detected using AugmentedImage.Name. This returns the name of the image as it is in your image database.

So in your detecting loop, you can just check the name and create different behavior based on the image that has been detected (null if none).

It does help! it’s a very simple solution and the best I’ve found. Thanks!