IHasEvents.cs 1.3 KB

1234567891011121314151617181920212223242526272829
  1. // Animancer // https://kybernetik.com.au/animancer // Copyright 2018-2024 Kybernetik //
  2. namespace Animancer
  3. {
  4. /// <summary>An object which has an <see cref="AnimancerEvent.Sequence.Serializable"/>.</summary>
  5. /// <remarks>
  6. /// <strong>Documentation:</strong>
  7. /// <see href="https://kybernetik.com.au/animancer/docs/manual/events/animancer">
  8. /// Animancer Events</see>
  9. /// </remarks>
  10. /// https://kybernetik.com.au/animancer/api/Animancer/IHasEvents
  11. public interface IHasEvents
  12. {
  13. /************************************************************************************************************************/
  14. /// <summary>Events which will be triggered as the animation plays.</summary>
  15. AnimancerEvent.Sequence Events { get; }
  16. /// <summary>Events which will be triggered as the animation plays.</summary>
  17. ref AnimancerEvent.Sequence.Serializable SerializedEvents { get; }
  18. /************************************************************************************************************************/
  19. }
  20. /// <summary>A combination of <see cref="ITransition"/> and <see cref="IHasEvents"/>.</summary>
  21. /// https://kybernetik.com.au/animancer/api/Animancer/ITransitionWithEvents
  22. public interface ITransitionWithEvents : ITransition, IHasEvents { }
  23. }