Files
Fishing2/Assets/Scripts/Fishing/New/View/Player/States/IPlayerThrowAnimation.cs
2026-03-25 22:43:47 +08:00

23 lines
526 B
C#

using UnityEngine;
namespace NBF
{
public interface IPlayerThrowAnimation
{
Player Player { get; set; }
bool IsPlaying { get; }
void Play(ThrowAnimationRequest request);
void Tick(float deltaTime);
void Stop(bool snapToTarget);
}
public struct ThrowAnimationRequest
{
public LureController Lure;
public Vector3 ThrowOriginPosition;
public Vector3 StartPosition;
public Vector3 Forward;
public float ChargedProgress;
}
}