Skip to content

How to setup enemy prefabs

KozlowskiXY edited this page Mar 28, 2024 · 3 revisions

Setup the Components similar to an existing instance of the enemy type. Camper, Hidden and Patroul Archetypes are basically identical in Setup, only the enemy type script is different. Make sure all child Objects (Gun, Sword, Healthbar) are present, even if you dont use them. The renderer can be disabled if you don't want them, but some of the scripts rely on them. For some Versions special Scripts have been added: Rig and IK Gameobjects with the components for this, Animation Script and Controller to add Animations to the Enemy. While there are some references to these in the base script, they are not mandatory.

Clone this wiki locally