Example #1
0
        /// <summary>
        /// Callback invoked when an "in" animation has just finished.
        /// </summary>
        /// <param name="animation">The animation.</param>
        public void InAnimationFinished(Animations.Animation animation)
        {
            Debug.Log(gameObject.name + " - " + animation.GetType().Name + " finished");

            if (AnimationManager.Instance.Configuration.PingPongAfterInAnimation)
            {
                StartAllPingPongAnimations();
            }
        }
Example #2
0
 /// <summary>
 /// Callback invoked when an "out" animation is stopped before finishing.
 /// </summary>
 /// <param name="animation">The animation.</param>
 public void OutAnimationStopped(Animations.Animation animation)
 {
     Debug.Log(gameObject.name + " - " + animation.GetType().Name + " stopped");
 }
Example #3
0
 /// <summary>
 /// Callback invoked when an "out" animation has just finished.
 /// </summary>
 /// <param name="animation">The animation.</param>
 public void OutAnimationFinished(Animations.Animation animation)
 {
     Debug.Log(gameObject.name + " - " + animation.GetType().Name + " finished");
 }
Example #4
0
 /// <summary>
 /// Callback invoked when an "in" animation has just started.
 /// </summary>
 /// <param name="animation">The animation.</param>
 public void InAnimationStarted(Animations.Animation animation)
 {
     Debug.Log(gameObject.name + " - " + animation.GetType().Name + " started");
 }