From 3a4d5de03a34dbe5cc5df18f6864fd34dd708c96 Mon Sep 17 00:00:00 2001 From: cemt1363 Date: Sat, 6 Jun 2026 00:41:23 +0200 Subject: [PATCH] current correct code inshallah --- Game/Assets/Scripts/DropletMovement.cs | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/Game/Assets/Scripts/DropletMovement.cs b/Game/Assets/Scripts/DropletMovement.cs index ca5702e..b070682 100644 --- a/Game/Assets/Scripts/DropletMovement.cs +++ b/Game/Assets/Scripts/DropletMovement.cs @@ -4,6 +4,7 @@ public class DropletMovement : MonoBehaviour { private Rigidbody2D rb; public float moveSpeed = 5f; + public float jumpingPower = 5f; private Vector2 movement; private Animator playerAnim; //for animation private float xInput; @@ -14,15 +15,6 @@ public class DropletMovement : MonoBehaviour [SerializeField] private float dashDuration; private float dashTime; - private Animator playerAnim; - private float xInput; - - private bool isGrounded = true; - - [SerializeField] private float dashSpeed; - [SerializeField] private float dashDuration; - private float dashTime; - void Start() { rb = GetComponent();