Quantcast
Channel: Answers for "Parent Start() not being called from base.Start()"
Browsing latest articles
Browse All 4 View Live

Answer by Bunny83

Your Start method isn't a virtual method and you're not overriding it in the derived class. That means you just hide the method in the base class. public class AggressiveBruiser : Personality {...

View Article



Answer by phxvyper

By default, MonoBehaviour hides inheritance. You need to define your higher Start function as virtual, so that the base.Start function may be called.

View Article
Browsing latest articles
Browse All 4 View Live




Latest Images