By shiny987
on Wed, 08/07/2013 - 08:32
Hi i'm developing a sample application based on the UserDefinedTarget Example. After digging in the code i find out that it just create a new instance of the referenced object in UserDefinedTargetEventHandler. I would like to get the reference of the new created clone because i would like to attach a 3d model afterward. Because the QCARWrapper has no documentation I would like to know it provides such a reference.
--- Thank u in advace.
UserDefinedTarget - Reference of the Instantiated Target
Solved ty
UserDefinedTarget - Reference of the Instantiated Target
Care to share your solution?
N
UserDefinedTarget - Reference of the Instantiated Target
The solution is really easy, i associated a Tag to the UserDefinedTarget Object, so that by using GameObject.FindGameObjectsWithTag() i can get all the objects with that Tag.
UserDefinedTarget - Reference of the Instantiated Target
Thanks for sharing :)
N