예제 #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();
            }
        }
예제 #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");
 }
예제 #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");
 }
예제 #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");
 }