Esempio n. 1
0
 /// <summary>
 /// Method called from the CloudReco Trackable Event Handler
 /// when a target has been Lost
 /// </summary>
 private void OnTrackingLost()
 {
     // Checks tha the book info is displayed
     if (mIsShowingBookData)
     {
         // Starts playing the animation to 2D
         AnimationsManager.PlayAnimationTo2D(AugmentationObject);
     }
 }
    protected override void OnTrackingLost()
    {
        Debug.Log("<color=blue>OnTrackingLost()</color>");

        // Checks that the book info is displayed
        if (m_isAugmentationVisible)
        {
            // Starts playing the animation to 2D
            m_AnimationsManager.PlayAnimationTo2D(transform.GetChild(0).gameObject);
        }
    }