IHasEvents.cs 1.3 KB

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