I'm trying to get my player to jump when you press the button. I get NullReferenceException and can not find the solution to this could anyone help me with this? I have set the ground as tag "Ground", and made onClick on the button with the player as a reference.
The movement is working but not the jump button.