Dash tweaks, quality of code

This commit is contained in:
2025-09-05 17:47:06 +02:00
parent 38704518b0
commit a11c5a8dd7
3 changed files with 10 additions and 2 deletions

View File

@@ -72,6 +72,7 @@ public class PlayerSkillHandler: MonoBehaviour
yield return null; // wait one frame
}
handleCooldownTimer(PlayerSkillTree.Skills.Dash);
yield return new WaitForSeconds(0.5f);
isDashing = false; // just for now. maybe will be removed
Physics.IgnoreLayerCollision(6, 7, false); // enable collisions between player and enemies
}