Interface SpriteAnimatorComponent.AnimationCompleteCallback

Enclosing class:
SpriteAnimatorComponent
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface SpriteAnimatorComponent.AnimationCompleteCallback
AnimationCompleteCallback is a FunctionalInterface for defining functionality that happens when an animation completes.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onComplete(String animationId)
    Method called when the animation with id is completed.
  • Method Details

    • onComplete

      void onComplete(String animationId)
      Method called when the animation with id is completed.
      Parameters:
      animationId - the id of the animation that just completed