Files
BITKit/Packages/Runtime~/Core/Animations/IAnimator.cs
CortexCore dfbcd03756 upgrade
2023-06-29 14:57:11 +08:00

14 lines
418 B
C#

using Unity.Mathematics;
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();
}
}