BITKit/Src/Core/Animations/IAnimator.cs

14 lines
418 B
C#
Raw Normal View History

2023-06-29 14:57:11 +08:00
using Unity.Mathematics;
2023-06-05 19:57:17 +08:00
namespace BITKit.Animations
{
public interface IAnimator
{
void Play(string name, int index = 0, float normalizedTimeOffset = 0);
void CrossFade(string name, float duration, int index = 0, float normalizedTimeOffset = 0);
void OnStateEnter(int index, string name);
void OnStateExit(int index, string name);
float3 GetRootVelocity();
}
}