Demo Scene Overview
Demo Scene Overview
The asset includes a demo scene showcasing the core features of the system in action. Use it to quickly test turret behaviors, projectiles, and setup workflows.
🎮 Location
The demo scene can be found under:
🧪 What's Included
A fully functional double-barrel turret prefab
A moving capsule using
LinearPingPongMover
to simulate an enemyA basic target GameObject with
HealthSystem
Gizmos showing range, raycasts, and cone detection
Audio + visual feedback when firing
🔄 Moving Target
The capsule uses the LinearPingPongMover
component to move back and forth. This makes it ideal to test turret tracking and predictive shooting.
Settings:
Direction: typically along X or Z
Travel Distance: defines range of movement
Speed: determines movement frequency
You can add more moving targets to test multiple enemies at once.
✅ How to Use
Open the demo scene
Press Play
Watch the turret detect and engage the capsule
Adjust inspector settings on the turret to try different modes (e.g. raycast vs projectile)
Try increasing fire rate, enabling cone detection, changing the enemy tag, etc.
🧩 Experiment!
Feel free to:
Replace the turret prefab with a custom one
Change the projectile type to homing
Add your own enemies
Connect VFX, hit effects, and events to see how everything ties together
The demo is designed to be your sandbox. No setup required – just hit play!
Last updated