it says the referenced script that is missing is game object player
Having similar problems. Although my compiler errors are different (I’ve checked my code against the tutorial. My error messages are:
- Expression denotes a
type', where a
variable’,value' or
method group’ was expected - The best overloaded method match for `UnityEngine.Rigidbody.AddForce(UnityEngine.Vector3)’ has some invalid arguments
- Argument
#1' cannot convert
object’ expression to type `UnityEngine.Vector3’
My code is: `using UnityEngine;
using System.Collections;
public class PlayerController : MonoBehaviour {
private Rigidbody rb;
void Start ()
%|401944385_3|%
rb = GetComponent();
}
void FixedUpdate ()
%|2008330527_7|%
%|1761885109_8|%
float moveVertical = Input.GetAxis (“Vertical”);
%|-547505816_10|%
%|-131134806_11|%
}
}`