/// <summary> /// Method called from the CloudReco Trackable Event Handler /// when a target has been found /// </summary> private void OnTrackingFound() { // Checks tha the book info is displayed if (mIsShowingBookData) { // Starts playing the animation to 3D AnimationsManager.PlayAnimationTo3D(AugmentationObject); } }
protected override void OnTrackingFound() { Debug.Log("<color=blue>OnTrackingFound()</color>"); base.OnTrackingFound(); m_isAugmentationVisible = true; // Starts playing the animation to 3D m_AnimationsManager.PlayAnimationTo3D(transform.GetChild(0).gameObject); }