Turret
pivot: Object to pivotate the muzzle from.
aimSpeed: Velocity to lerp the aim
damage: Damage to apply to the target on hit.
firingMode: Configure the way the firing works.
fireRate: Speed of the shooting
projectilePrefab: "Projectile object to instantiate on shoot [ONLY FOR PROJECTILE TURRETS]
projectileSpeed Speed of the projectile object [ONLY FOR PROJECTILE TURRETS]
projectileLifetime: Duration of the projectile before getting destroyed [ONLY FOR PROJECTILE TURRETS]
muzzle: Transform to shoot from
shootFromStart: Start shooting on awake. whatIsPlayer: “Player” layer.
muzzleFlash: Effect to instantiate on the player on shoot.
shootSFX: Sound to play on shoot.
volume: Volume of the shoot SFX.
Last updated