14 lines
418 B
C#
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();
|
|
}
|
|
|
|
}
|