1
This commit is contained in:
19
Core/Animations/IAnimator.cs
Normal file
19
Core/Animations/IAnimator.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
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();
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user