Hello everyone, I’d like to learn how to properly implement inheritance into my scripts. I know that it is a very useful feature and will help with my workflow quite a lot (which is why I have come here to ask about it). I have read and seen some stuff but can’t quite get my head around it.
I’m in the process of making a TD game and would like my enemies and towers to be able to inherit some stats from a base class. If anyone has or knows of any good tutorials for doing this in Unity I would very much appreciate it!
I’d be interested in writing such a tutorial (atleast for C#), however I do believe C# and JavaScript inheritance are such general concepts of the language that a Unity-specific tutorial might not be right.