This commit is contained in:
2025-05-11 00:46:26 +08:00
parent 366f9e95ec
commit 618f75f911
2404 changed files with 154475 additions and 924730 deletions

View File

@@ -6,15 +6,9 @@ public class FReel : FPlayerGear
{
public bool isBlockLineByFinger { get; set; }
/// <summary>
/// 手是否放在手柄上
/// </summary>
[HideInInspector]
public bool isHandOnHandle { get; set; }
[SerializeField] public float reelingDrag = 1f;
public ReelAsset reelAsset;
@@ -37,6 +31,12 @@ public class FReel : FPlayerGear
protected override void OnUpdate()
{
AnimatorCtrl.Reeling = Owner.Data.reelSpeed;
if (Owner.Data.reelSpeed > 0)
{
Unlock();
}
// Reeling();
}
public void Unlock(bool unlock = true)