Unity Learn home
1
0
Survive against zombie !
113 views
A wave-based survival game prototype where the player shoots enemies and avoids falling, featuring enemies with dynamic behaviors, a boss enemy, bonuses, and a game over system.

- Inheritance: StandardEnemy and BossEnemy inherit shared logic from the abstract Enemy class.
- Polymorphism: Each enemy overrides methods like Move() and OnPlayerHit() with different behaviors.
- Encapsulation: Variables like hp are protected, and access is controlled through public methods.
- Abstraction: Enemy defines required behaviors (e.g. Move) without specifying how each enemy moves.
Media
1
1