Instantiate new object

0 votes
asked Jul 21, 2017 by eduardpopa (190 points)
Hello,

Now I try to understand this SDK, I work in unity3d...  I want on click to change the marker, I tried on click to call agine functions which it is in Start(), but dosen't work... Someone has same idea?

Good look!

1 Answer

0 votes
answered Jul 21, 2017 by kenn (18,790 points)
selected Jul 21, 2017 by eduardpopa
 
Best answer
If you want to change the marker, the easiest way is to replace image under streamingassets, (keep the filename unchanged).

You can follow the documents, https://www.easyar.com/doc/EasyAR%20SDK/Getting%20Started/2.0/Compile-and-Run-EasyAR-Unity-Samples.html
commented Jul 21, 2017 by eduardpopa (190 points)
edited Jul 21, 2017 by eduardpopa
Thank you for your answer...
I want to change this marker dinamically... The problem it is the new marker it is placed in game object, but the old marker is not deleted or hide), so on click I can see both markers.
commented Jul 21, 2017 by eduardpopa (190 points)
I found.... DestroyObject()
Welcome to EasyAR SDK Q&A, where you can ask questions and receive answers from other members of the community.
...