新输入系统

This commit is contained in:
2025-05-11 21:42:24 +08:00
parent e5edaa7bca
commit aadd564c38
20 changed files with 12022 additions and 3525 deletions

View File

@@ -39,7 +39,7 @@ namespace NBF
return States.Player.Idle;
}
if (InputManager.IsMouseLeft)
if (InputManager.IsOp1)
{
if (_owner.PlayerAnimatorCtrl.ThrowMode == ThrowModeEnum.Float)
{
@@ -53,7 +53,7 @@ namespace NBF
}
}
if (InputManager.IsMouseRight)
if (InputManager.IsOp2)
{
if (_owner.PlayerAnimatorCtrl.ThrowMode == ThrowModeEnum.Spin)
{

View File

@@ -85,7 +85,7 @@ namespace NBF
if (_owner.Gears.Rod)
{
//如果准备好了杆子,则可进入抛竿
if (Input.GetMouseButtonDown(0))
if (InputManager.IsOp1)
{
return States.Player.WaitThrow;
}

View File

@@ -65,7 +65,7 @@ namespace NBF
ChargedProgress = 1;
}
if (!InputManager.IsMouseLeft)
if (!InputManager.IsOp1)
{
Stage = Phase.Confirm;
}