Unity OOP Principles Demo Project
This Unity project demonstrates the implementation of the four pillars of Object-Oriented Programming (OOP) using C#.
- Inheritance implemented using parent and child classes and marked with // INHERITANCE in the code.
- Polymorphism demonstrated using method overriding and marked with // POLYMORPHISM.
- Encapsulation implemented using getters and setters and marked with // ENCAPSULATION.
- Abstraction implemented using higher-level methods and marked with // ABSTRACTION.
The project was thoroughly playtested to ensure correct behavior and smooth gameplay.
Feedback on code structure, OOP concepts, and possible feature improvements is welcome.