So… I have a script and it is inactive… In the editor it is greyish and it wont work. I know it is not the code and there are no console errors. This is not a code problem btw. Help???
1 Answer
1Really? It’s not a code problem? Why are you so certain? I’ve been a programmer for over a decade, and I still assume it’s a problem with my code until I can definitively prove it’s not.
I’d be willing to bet good money you didn’t derive your class from MonoBehaviour, which makes a script unable to use as a component in the engine. But since you won’t post the code, I can’t say for sure.
Im using the unity standard assets and i havent changed the code at all sooo
– SharKodealso I dont know what part of the code does what...
– SharKodeI checked and there is no monoBehaviour... or I just don't know what that means...
– SharKode[71764-screenshot-29.png|71764]
– SharKodethank you, im very new to unity, this goes on update?
– mugen-sosa