30 lines
1.3 KiB
C#
30 lines
1.3 KiB
C#
// Animancer // https://kybernetik.com.au/animancer // Copyright 2018-2024 Kybernetik //
|
|
|
|
namespace Animancer
|
|
{
|
|
/// <summary>An object which has an <see cref="AnimancerEvent.Sequence.Serializable"/>.</summary>
|
|
/// <remarks>
|
|
/// <strong>Documentation:</strong>
|
|
/// <see href="https://kybernetik.com.au/animancer/docs/manual/events/animancer">
|
|
/// Animancer Events</see>
|
|
/// </remarks>
|
|
/// https://kybernetik.com.au/animancer/api/Animancer/IHasEvents
|
|
public interface IHasEvents
|
|
{
|
|
/************************************************************************************************************************/
|
|
|
|
/// <summary>Events which will be triggered as the animation plays.</summary>
|
|
AnimancerEvent.Sequence Events { get; }
|
|
|
|
/// <summary>Events which will be triggered as the animation plays.</summary>
|
|
ref AnimancerEvent.Sequence.Serializable SerializedEvents { get; }
|
|
|
|
/************************************************************************************************************************/
|
|
}
|
|
|
|
/// <summary>A combination of <see cref="ITransition"/> and <see cref="IHasEvents"/>.</summary>
|
|
/// https://kybernetik.com.au/animancer/api/Animancer/ITransitionWithEvents
|
|
public interface ITransitionWithEvents : ITransition, IHasEvents { }
|
|
}
|
|
|