This page contains list of scripts (with description) in the asset:
Turret
- main script that contains a main logic of rotation and firing functionality.Projectile
- main script for projectiles. It initialize the damage and plays effects.FiringEvent
- abstract script for firing. Contains fire function and variables
SimpleFire
- child of FiringEvent
. Makes the simple fire.SequenceFire
- child of FiringEvent
. Makes the sequential gun fire if there more than 1 gun.RocketFire
- child of FiringEvent
. Chooses the random rocket and launchs it.Gun
- instantiates the projectile prefab.GunFireAnimation
- updates a gun position when event fires.RotateBarrel
- updates a gun rotation.Target
- main script for targets. Holds restore delay variable when target looses all it health.TargetMovement
- updates the target position depending on enum direction.ProjectileMovement
- projectile simple forward movement with lifespan event.RocketProjectileMovement
- rocket projectile homing movement.RigidForce
- for the buckshot projectile. Creates the random physical impulse.DamageManager
- holds the damage variable.HealthManager
- holds the health variable and functions to decrease it.SoundManager
- script for creating a sound game objects.TargetFinder
- script for finding targets.HeadMissles
- script for the rocket head turret. Holds the array of game objects to create the fake rockets