im getting errors in my script and do not know how to resolve them
using UnityEngine; The type or namespace name ‘UnityEngine’ could not be found (are you missing a using directive or an assembly reference?)
using System.Collections;
public class PlayerController : MonoBehaviour The type or namespace name ‘MonoBehaviour’ could not be found (are you missing a using directive or an assembly reference?)
public float speed;
private Rigidbody rb;The type or namespace name 'Rigidbody' could not be found (are you missing a using directive or an assembly reference?)
void Start ()
{
rb = GetComponent<Rigidbody>();
}
void FixedUpdate ()
{
float moveHorizontal = Input.GetAxis ("Horizontal");
float moveVertical = Input.GetAxis ("Vertical");
Vector3 movement = new Vector3 (moveHorizontal, 0.0f, moveVertical);
rb.AddForce (movement * speed);
}
}