//Oliver using UnityEngine; using UnityEngine.UI; public class PlayerController : MonoBehaviour { private int speed; private Vector3 position = Vector3.zero; private Text score; private int points; private Rigidbody rb; // Start is called once before the first execution of Update after the MonoBehaviour is created void Start() { rb = GetComponent(); } // Update is called once per frame void Update() { position = Vector3.zero; if (Input.GetKey(KeyCode.W)) { } } }