Unity Game: Refactoring - Extract Class Example

Опубликовано: 07 Октябрь 2024
на канале: Restful Coder
406
6

Extracting classes is a great way to keep objects encapsulated. When extracting a number of related classes it can allow you to take advantage of polymorphism and the Strategy pattern.

❤️ Support the channel!
----------------------------------------------
🛒 Shop Amazon with our link*: https://amzn.to/2WMs6U5
📚 Receive exclusive updates: https://bit.ly/2ysFWSh
I make a commission when you use this link. It doesn't cost you anything. Win-win!

🔍 Find me online
----------------------------------------------
🐦 Twitter:   / draffauf  
🐙 Github: https://github.com/draffauf