Adding scripts to Unity
I have a script completed, but I CANNOT seem to get it to add to the object its on. I'm confused
There is no way anyone can answer your question as it is. We cannot read $$anonymous$$ds ;) Please explain your problem, the steps you took and what you have tried.
To add a script to an object: In the editor, select the object in your scene, click Add Component -> Scripts -> YourScript.
Answer by Statement · Oct 26, 2015 at 11:29 PM
Most likely the C# class name (JS doesn't require a class name) is different from your file name, or you forgot to inherit from MonoBehaviour.
Your answer
Follow this Question
Related Questions
"Method must have a return type" 1 Answer
plz help me in Trivia Quiz Game Template setup 0 Answers
How to put the server to the player and client see be in the camera? 0 Answers
Loading Next Scene 2 Answers
CAMERAS ERROR , I NEED HELP 0 Answers