Script error "The script is an editor script"
Even when i create a C# simple script and try to attach to a gameobject it says "The script is an editor script",can someone please help me and explain me what it is?
Check if the script Isn't in a folder named "Editor".
http://docs.unity3d.com/$$anonymous$$anual/SpecialFolders.html
oh lol thank you i have no idea how my scripts ended up there
Answer by bemmu · Apr 15, 2016 at 06:49 AM
You likely accidentally created your script in the "editor" folder. Try dragging your script to the main assets folder and then adding.
Your answer
Follow this Question
Related Questions
A Problem With A Script Of GUI.HorizontalSlider It Do not Move? 0 Answers
Accessing script from another object 1 Answer
Random Spawner not working properly 1 Answer
Can't open Unity Editor anymore after editing scripts 0 Answers
in my script component it says the compile error has to be fixed i dont know how to do that 0 Answers