Im fairly new to Unity and I am currently working on my first project to build a 2D Platformer. Im familiar with coding in general as ive taken lots of course in High School such as AP Computer Science, but Im completely new to C#. I used a character controller from Brackeys for my movement purposes as Im not experienced enough to create one on my own. It works really well but the only issue is the jumping is set to a fixed height. Ive tried messing around with it to no avail. I would really appreicate any good starter tips/pointers for how this might be possible to implement in this code. Thank you.
This link should bring you to the code I am currently using:
In that case, may I encourage you to use the search function? This has been asked many times before with a variety of solutions for both 2D and 3D. Just search for “hold space jump”…