# Conflicts: # Assets/Scenes/RopeTest.unity # Assets/Scripts/Fishing/New/View/Player/Tackle/FLine.cs # Assets/Scripts/Fishing/Rope/Rope.cs # Assets/Scripts/Fishing/Rope/Rope.cs.meta
23 lines
526 B
C#
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 FLineLogicNode Lure;
|
|
public Vector3 ThrowOriginPosition;
|
|
public Vector3 StartPosition;
|
|
public Vector3 Forward;
|
|
public float ChargedProgress;
|
|
}
|
|
}
|