Somehow I did the pause challenge at 4:00!
But I used very different code to make the player move:
using UnityEngine;
using System.Collections;
public class PlayerController : MonoBehaviour {
public float moveSpeed;
// Use this for initialization
void Start () {
moveSpeed = 1f;
}
// Update is called once per frame
void Update () {
transform.Translate(moveSpeed*Input.GetAxis("Horizontal")*Time.deltaTime,0f,0f);
}
}