I am interested in using your solution but I'm having trouble to achieve the following:
I have a collection of 20 image targets.
I want to trigger a specific sound for each target, every time this target is found. For example:
Target01 --> plays Sound01.mp3
Target02 --> plays Sound02.mp3
At the moment, it seems that the only way to do this is by adding 20 x Image Target prefabs. It seems a lot of work when you have many targets to use. I am planning to have more targets in the future.
How can I get an OnTargetFound() event return a target ID, without adding 20 x Image Target prefabs?
I am sorry if it's written somewhere in the forums or in the documentation but I couldn't find it.
Thank you very much for your help,