新输入系统
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
@@ -85,7 +85,7 @@ namespace NBF
|
||||
if (_owner.Gears.Rod)
|
||||
{
|
||||
//如果准备好了杆子,则可进入抛竿
|
||||
if (Input.GetMouseButtonDown(0))
|
||||
if (InputManager.IsOp1)
|
||||
{
|
||||
return States.Player.WaitThrow;
|
||||
}
|
||||
|
||||
@@ -65,7 +65,7 @@ namespace NBF
|
||||
ChargedProgress = 1;
|
||||
}
|
||||
|
||||
if (!InputManager.IsMouseLeft)
|
||||
if (!InputManager.IsOp1)
|
||||
{
|
||||
Stage = Phase.Confirm;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user