I’m getting no errors from my script, but when I play in game mode nothing happens to my poor cube.
using UnityEngine;
using System.Collections;
public class Movement : MonoBehaviour
{
public float movespeed = 5f; //Change this to change how fast he moves
public float turnspeed = 5f; //Change this to change how quick he turns
void update () //Class - Subroutine. Void means no variables coming out. () signifies class.
{
if(Input.GetKeyDown(KeyCode.UpArrow)) //If the button is pressed then it will execute the next line.
transform.Translate(Vector3.forward * movespeed * Time.deltaTime); //It moves the character forward by the speed times delta time.
}
}