finally cleaned up input method detection
This commit is contained in:
@@ -372,7 +372,7 @@ tracks/3/keys = {
|
||||
}
|
||||
tracks/4/type = "method"
|
||||
tracks/4/imported = false
|
||||
tracks/4/enabled = true
|
||||
tracks/4/enabled = false
|
||||
tracks/4/path = NodePath("../..")
|
||||
tracks/4/interp = 1
|
||||
tracks/4/loop_wrap = true
|
||||
@@ -579,7 +579,7 @@ tracks/3/keys = {
|
||||
}
|
||||
tracks/4/type = "method"
|
||||
tracks/4/imported = false
|
||||
tracks/4/enabled = true
|
||||
tracks/4/enabled = false
|
||||
tracks/4/path = NodePath("../..")
|
||||
tracks/4/interp = 1
|
||||
tracks/4/loop_wrap = true
|
||||
|
||||
@@ -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