<aside>
<img src="/icons/reorder_gray.svg" alt="/icons/reorder_gray.svg" width="40px" />
Navigation
</aside>
🏠 Home Page
Overview
Level Editor
Player
Obstacle
Booster
Gate
Gun
Enemy
Road and Environment
Special Finish
UI Store
💰 Monetization (Ads & IAP)
Enemy is a gameplay element that can shoot back at the player.
Enemy consists of the following components:
- Root GameObject:
- Enemy Behavior - the main script of the enemy. It is responsible for enemy’s behavior.
- Collider - a component responsible for detecting collisions with other gameplay elements on the level.
- Health Behavior - a component that manages enemy’s healthbar and it’s health.
- Weapons Placement Behavior - a component that helps place a gun in the hands of the enemy.
- Character Graphics Behavior - a component responsible for interaction with enemy’s visuals. It’s a bridge between EnemyBehavior Component and the 3d Mesh.
- Gun Holder - a game object that works as a parent for the guns. The local position of the gun relative to the Gun Holder is configured by Weapons Placement Helper.
- Healthbar - a visual representation of the health of the enemy.
There are two enemies in the game: Enemy Soldier and Enemy Heavy


How to add a new enemy