com.alicizax.kybernetik.ani.../Runtime/Data Types/Updatable.cs
陈思海 3e7c253249 init
2025-01-08 15:26:57 +08:00

27 lines
1.1 KiB
C#

// Animancer // https://kybernetik.com.au/animancer // Copyright 2018-2024 Kybernetik //
namespace Animancer
{
/// <summary>[Pro-Only] An object that can be updated during Animancer's animation updates.</summary>
/// <remarks>
/// See <see cref="IUpdatable"/> for an example of how to use this class.
/// Simply inherit from this instead of implementing <see cref="IUpdatable"/> directly.
/// </remarks>
/// https://kybernetik.com.au/animancer/api/Animancer/Updatable
public abstract class Updatable : IUpdatable
{
/************************************************************************************************************************/
/// <inheritdoc/>
int IUpdatable.UpdatableIndex { get; set; } = IUpdatable.List.NotInList;
/************************************************************************************************************************/
/// <inheritdoc/>
public abstract void Update();
/************************************************************************************************************************/
}
}