Question by
Mikeyran1 · Aug 09, 2017 at 03:05 AM ·
error message
How do i get rid of this "the name rb2d does not exist error"
Im learning how to make pong from a website, and I'm copying the code for the scrips as i should but i keep getting these errors and i don't know how to get rid of them. I am a Unity beginner.
screen-shot-2017-08-08-at-105806-pm.png
(166.4 kB)
Comment
Answer by ShadyProductions · Aug 09, 2017 at 07:49 AM
rb2d doesn't exist in your code anywhere.
I think you should rename
private Rigidbody2D rbed;
to
rb2d
Answer by Mikeyran1 · Aug 17, 2017 at 10:32 PM
Oh, thanks for pointing that out! What a stupid mistake lol! It's because I don't get to work on this during the day. I work on this at night, so i get tired prob.
Your answer
Follow this Question
Related Questions
Error CS0535? 0 Answers
Roll a Ball script error?! 2 Answers
NullReferenceException: Object reference not set to an instance of an object 1 Answer
Scene Won't Load 1 Answer
Socket: bind failed, error 3 Answers