protected override void OnARReadyStateChanged(ARReadyStateEventArgs obj)
    {
        base.OnARReadyStateChanged(obj);

        if (!obj.Ready)
        {
            if (imageInRoom != null)
            {
                // hide the image ( NEW: avoid hiding when tracking is lost )
                // imageInRoom.SetActive(false);
            }
        }
    }
Ejemplo n.º 2
0
 protected virtual void OnARReadyStateChanged(ARReadyStateEventArgs obj)
 {
     // allow override
 }