On page 365, when i try to had the Level.cs script to the level gameObject,
i have a popup windows that tells me “Can’t had script. The script is an editor script”
I work on unity 5.4.1f1.
What is the problem?
My mistake. I put the level script in the editor folder.
Put it in scripts folder and it works correctly.
Glad you got it fixed! :]
Hi Jessica,
Your post here is very suspicious. Unity 5.4 was released in 2016 so I highly doubt you’re using that. If you are, I recommend an LTS release instead: Unity QA - LTS Releases - Unity
Besides that, you’ve replied to a topic that’s 5 years old instead of making your own and you went right off track. I looked you up and you’re a WordPress community manager, so I’m sure you can recommend something to yourself. I’ve flagged your post and I suggest an admin removes your account.