Quantcast
Channel: Questions in topic: "error message"
Viewing all articles
Browse latest Browse all 2891

can i explanation to why i keep getting a error The referenced script on this behavior (Game Object 'Player') is missing!

$
0
0
using System.Collections; using UnityEngine; public class playercontroller : MonoBehaviour { private rigidbody rb; void Start() { rb = GetComponent(); } void FixedUpdate () { float moveHorizontal = Input.Getaxis ("horizontal") float moveVertical = Input.Getaxis ("Vertical") Vector3 movment = new Vector3 (MoveHorizontal, 0.0f , MoveVertical); rb.Addforce (movment); } }

Viewing all articles
Browse latest Browse all 2891

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>