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”);
}
}
}
}