Esempio n. 1
0
 /// <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);
     }
 }
Esempio n. 2
0
    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);
    }