**Hey guys!**
I've worked in C# in Unity for few months now, but without using inheritance at all. :D
Today I decided to start learning it, I understand a lot now, but one simple (?) thing I don't (before I start implementing and refactoring my code), it's "Does my base class that inherits from MonoBehaviour needs to be attached to an gameobject within a scene?". I know that base class contains all required variables,methods for other scripts that inherits from it, but, if answer to my question is **Yes**, then where I should attach it?
I hope someone can answer this! BTW Thanks to Unity Community for helping me a lot! :D
↧