I am doing the first few things in the script and it says this error every time and I don’t know what to do.
Here’s the code:
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Movement : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
ProcessInput();
}
void ProcessInput()
{
if(ProcessInput.GetKey(KeyCode.Space))
{
Debug.Log("Thrusting");
}
}
}