20 lines
558 B
C#
20 lines
558 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading;
|
|||
|
using System.Threading.Tasks;
|
|||
|
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();
|
|||
|
}
|
|||
|
|
|||
|
}
|