Log in or register to post comments

OnTrackableStateChanged function is not called

February 17, 2019 - 3:56am #1

I wrote sample code:

 

public GameObject object1;

    void Start()

    {

        object1.SetActive(false);

        StartCoroutine(wait());

    }

   IEnumerator wait()

    {

        yield return new WaitForSeconds(10);

        object1.SetActive(true);

    }

 

and i attach the imagetarget to object1

10seconds later, imageTarget was activated,but OnTrackableStateChanged is just called once,and cannot track image.

Log in or register to post comments