First Person RPG | Enemy Control 1
** It's likely best to start a new project with this package as enough as changed. **

Our "Enemy Control" is an object populating scenes which helps us load enemies when we enter a scene. We create new classes, and have an "Enemy" class for storage of off-line enemy data (like a database holding all the possible enemies), and a "SceneEnemy" class that holds in-game enemy instance data.

Ultimately this allows us to fairly easily populate the scene with enemies which, when respawned, may be differnet than their previous versions.

This package doesn't get into saving position/rotation/status yet, but the stage is set for those. Because the scripts are getting long, I'll no longer print them out here. Instead, download the package and check out the scripts inside Unity!

Download Unity Package

Video Tutorial

Please download the package and view the scripts in Assets/SFBayStudios/SFB Game Templates/1st Person RPG/Scripts