✅ Need help understanding inheritance with constructors
I know about constructors partially (I'm used to Unity's MonoBehaviour so constructors are mostly superseeded by using things like Awake) but I'm not fully there. Currently I need to inherit from a class and run its constructor alongside mine. How exactly does this work?
2 Replies
Mostly here. I cant get any guaranteed answers on if base is called automatically because everywhere I looked people are saying yes and no
I'm wanting to run base at the beginning then my code later
Ohhh wait
I didn't fully understand the : base thing but I just saw something
I suppose I should've made sense of that. That's my bad