-
Notifications
You must be signed in to change notification settings - Fork 5
Enemies
Sorra edited this page Apr 25, 2024
·
2 revisions
This document introduces how to create and manage enemies.
- Open the
Assets/_Dev/Scenes Dev/Enemy Devscene - Ensure all enemies in the scene are disabled
- Create a new Empty object in the scene
- Set the Layer to
Enemy - Create an empty object as a child and position it to act as the enemies sensors, rename it "Sensor"
- Add a model as a child and position it correctly
- Add a
Basic Enemy Controlleror a subclass - Add a
Basic Health Manager - Add an
Audio Source - Add an
Enemy Juicer - Add a
Pooled Object
Now we will setup the model
- Add an appropriate collider
- Add a
Basic Damage Handler - Add a
Simple Surface
Configure each of these components, each field should have a Tooltip
Create a prefab