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

Can someone point out my mistake?

$
0
0
I just started in Unity, so here is what I have: public class PlayerMovement : MonoBehaviour { private Rigidbody2D body; private void awake() { body = GetComponent Rigidbody2D(); } private void Update() { body.velocity = new Vector2(Input.GetAxis("Horizontal"), body.velocity.y); } }

Viewing all articles
Browse latest Browse all 2891

Trending Articles



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