Nerd For Tech
Published in

Nerd For Tech

Beginning Unity Game Development

Damaging an Enemy using an Interface

//Polymorphism to the rescue

Whacking away at the skeleton

Over the past couple of days we have looked at adding the ability for the player to swing his weapon. Created a hit box to detect when the enemy was hit, and setup a modular enemy class to use in the combat system.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store