Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
println("Welcome to devRant.\n");
println("Well, you now know it, right? Congrats then. Experience is important.\n"); -
Mika-FIN738y@CozyPlanes I was being sarcastic. Of course I know that you need to attach code to the game object. I just somehow didn't notice I haven't done so :D
-
byIcee13028yIf you're like me you probably tried deleting some code, debug.log(); , restarting unity, deleting the object and then finding out you didn't attach the script
-
How about 4 hours trying to fix code. Code is on a game object. But the small checkbox at the top is unchecked.
I spend over 3 hours thinking why my code doesn't work. It turns out you need to attach the code to the game object. Who would have known...........
undefined
c# unity3d