Esempio n. 1
0
 /// <summary>
 ///     Used to follow a 3D object. Set by ScoreFlash when a message is
 ///     pushed.
 /// </summary>
 /// <param name="follow3D">a helper object used to follow a game object</param>
 internal void SetScoreFlashFollow3D(ScoreFlashFollow3D follow3D)
 {
     innerAnchor = follow3D.innerAnchor;
     followLocation = follow3D.GetLocation();
 }
Esempio n. 2
0
 internal ScoreFlashFollow3DLocation GetLocation()
 {
     if (location == null) {
         location = new ScoreFlashFollow3DLocation(this);
     }
     location.Init();
     location.UpdateScreenPositionOffset();
     return location;
 }