"# UnityCompositionVsInhertianceExample"
This demo project contains code related to the "Composition vs Inheritance" article over at gamedevthings.com.
It illustrates the disadvantages of inheritance in a growing project. Phase 1 is the project in a very simple state. The issues with inheritance are not yet visible. Phase 2 shows the project in a more advanced state. The problems with inheritance are easy to spot there.
Simply clone the repo or look at the code online. It's not meant as a base for any project. It was published for educational purposes.