Log in or register to post comments

Disable Gameobject OnTrackingFound() and enable gameObject OnTrackingLost()

February 25, 2020 - 6:46am #1

Hi,

I have a countdown script assigned to a gameObject to change from one scene to another. I need to disable the gameobject when OnTrackingFound() and reset the timer value to 0. Also enable the gameobject and counter from 0 when onTrackingLost(). How should i assign the gameobject in "DefaultTrackableEventHandler.cs" so that the expected scenario can be achieved?

 

 

Disable Gameobject OnTrackingFound() and enable gameObject OnTrackingLost()

March 17, 2020 - 10:36am #3

Where is the code? I don't find it

Disable Gameobject OnTrackingFound() and enable gameObject OnTrackingLost()

February 26, 2020 - 4:32am #2

Hi,

In this thread there is a code example on how to inherite and override the OnTrackingFound() /Lost() to fit your needs. 

Hope this helps.

Vuforia Engine Support

Log in or register to post comments