finally cleaned up input method detection
This commit is contained in:
@@ -2322,6 +2322,9 @@ public partial class PlayerController : CharacterBody3D,
|
||||
private PhysicsDirectSpaceState3D _spaceState;
|
||||
public void StartDashAction(bool isParry)
|
||||
{
|
||||
if (isParry) HeadSystem.OnParry();
|
||||
else HeadSystem.OnHit();
|
||||
|
||||
var streamName = isParry ? "parry" : "attacks";
|
||||
_audioStream!.SwitchToClipByName(streamName);
|
||||
IsInvincible = true;
|
||||
|
||||
Reference in New Issue
Block a user