This commit is contained in:
orsolya-st
2026-06-06 17:37:51 +02:00
parent 23484bf7d8
commit 36c584e70d
+2 -2
View File
@@ -40,7 +40,7 @@ public class DropletMovement : MonoBehaviour
{ {
//dashing //dashing
if (isDashing || isGrounded == false) if (isDashing)
{ {
return; return;
} }
@@ -149,7 +149,7 @@ public class DropletMovement : MonoBehaviour
private void OnCollisionEnter2D(Collision2D col) private void OnCollisionEnter2D(Collision2D col)
{ {
if (col.collider.CompareTag("Platform") && rb.linearVelocity.y == 0) if (col.collider.CompareTag("Platform"))
{ {
isGrounded = true; isGrounded = true;
} }