current correct code inshallah
This commit is contained in:
@@ -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<Rigidbody2D>();
|
||||
|
||||
Reference in New Issue
Block a user