In this tutorial I will show how we can apply SOLID principles for Unity game to make its code base more maintainable and ready for new features. We will take a prototype of a simple 2d game with a prototypical code that is very cramed into a single class and see how we can refactor it to comply with SOLID principles. I hope that by showing them on an example game project you will understand those principles more clearly.
Resources
https://github.com/SunnyValleyStudio/...
Learn more about Making games in Unity from my video courses:
https://courses.sunnyvalleystudio.com/
Assets used:
https://bakudas.itch.io/generic-rpg-pack
You can support me through Patreon:
/ sunnyvalleystudio
Join the discord:
/ discord