Ejemplo n.º 1
0
 /// <summary>
 /// Callback invoked when a "ping-pong" animation is stopped before finishing.
 /// </summary>
 /// <param name="animation">The animation.</param>
 public void PingPongAnimationStopped(PingPongAnimation animation)
 {
     Debug.Log(gameObject.name + " - " + animation.GetType().Name + " stopped");
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Callback invoked when an "ping-pong" animation has just finished.
 /// </summary>
 /// <param name="animation">The animation.</param>
 public void PingPongAnimationFinished(PingPongAnimation animation)
 {
     Debug.Log(gameObject.name + " - " + animation.GetType().Name + " finished");
 }