예제 #1
0
 void ITrackableEventHandler.OnTrackableStateChanged(TrackableBehaviour.Status previousStatus, TrackableBehaviour.Status newStatus)
 {
     if (newStatus == TrackableBehaviour.Status.TRACKED)
     {
         GameMgr.Activate();
     }
     else if (newStatus == TrackableBehaviour.Status.NOT_FOUND)
     {
         GameMgr.Desactivate();
     }
 }