21 lines
446 B
C#
21 lines
446 B
C#
using UnityEngine;
|
|
|
|
namespace NBF
|
|
{
|
|
public interface IPlayerThrowAnimation
|
|
{
|
|
bool IsPlaying { get; }
|
|
void Play(ThrowAnimationRequest request);
|
|
void Tick(float deltaTime);
|
|
void Stop(bool snapToTarget);
|
|
}
|
|
|
|
public struct ThrowAnimationRequest
|
|
{
|
|
public LureController Lure;
|
|
public Vector3 StartPosition;
|
|
public Vector3 Forward;
|
|
public float ChargedProgress;
|
|
}
|
|
}
|