noob jump

Hey, I’m just starting out with unity and I’m trying to make a jump code. Please tell me whats wrong besides literally everything.

using UnityEngine;

public class jump : MonoBehaviour
{

private void FixedUpdate(Collision collisionInfo)
{
if (Input.GetKeyDown(KeyCode.Space))
{

if (collisionInfo.collider.tag == “ground”)
{
Debug.Log(“JUMP”);

}

}
}
}

btw I am just trying to make it output jump into the debug log.

Please do not spam the forums. This is 3 posts you’ve made that are identical. Please refer to the other responses, in the other 2 threads for some guidance… :slight_smile: