List
How to hide gameobject instead of renderer on image tracker
Posted Date: 2019-08-02 9:16     Edited Date: 2019-08-08 1:27     Writer: inactive

1. SDK Version: 4.1.3
2. Development Environment: Unity Android
3. Tracker/Scanner: Image Tracker
4. License Type(Free / Pro-One Time Fee / Pro-Subscription / Enterprise): Free until I finish development then I will buy One Time Fee
5. Target Device(Optional): Android

I have 5 ImageTrackable gameobject, and every ImageTrackable gameobject have 1 child.
How can I make this child gameobject active/deactive when tracking success/fail instead of enable/disable the renderer? 
I don't want to disable renderer, i just want to disable this child gameobject.

Thank you.

Posted Date: 2019-08-06 2:04     Edited Date: 2019-08-06 2:04     Writer: inactive

Hi asepsaepudinwork.

Try using SetActive instead of renderer enable.

Thank you.

 

Leo

Maxst Support Team

Posted Date: 2019-08-06 2:20     Edited Date: 2019-08-06 2:20     Writer: inactive

Yes I know it, but by default Maxst sample changed renderer enable and disable when it detect image target. I want to change it to SetActive, where can I change it?

Posted Date: 2019-08-08 1:27     Edited Date: 2019-08-08 1:27     Writer: inactive

Doesn't it work if you use SetActive instead of renderer.enable / disable?

 

Leo

Maxst Support Team