ECM2
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user