[Solved] Unity Doublejump in C#
Haven’t tested your code, but the following should work: using UnityEngine; public class PlatformerCharacter2D : MonoBehaviour { bool facingRight = true; // For determining which way the player is currently facing. [SerializeField] float maxSpeed = 10f; // The fastest the player can travel in the x axis. [SerializeField] float jumpForce = 400f; // Amount of … Read more