URL: https://wiki.studiominus.nl/internalReference/CeilingTurretBehaviour.html Title: People Playground Modding - CeilingTurretBehaviour ================================================== public class CeilingTurretBehaviour Inherits MonoBehaviour Controls the ceiling turret Fields public float SightRadius [SkipSerialisation] The entity detection radius of the turret in game units, not meters public float MotorSpeedMultiplier [SkipSerialisation] How much faster should the motor rotate? public LayerMask LayerMask [SkipSerialisation] What layers should be considered when scanning for entities? public FirearmBehaviour FirearmBehaviour [SkipSerialisation] A reference to the FirearmBehaviour that actually does the shooting public HingeJoint2D Joint [SkipSerialisation] A reference to the HingeJoint2D that controls the barrel public UnityEngine.Events.UnityEvent OnSight [SkipSerialisation] Event that is invoked when the turret sees someone public UnityEngine.Events.UnityEvent OnLoseTarget [SkipSerialisation] Event that is invoked when the turret loses sight of its target public float SweepAnimationSpeed [SkipSerialisation] How fast should the sweeping animation go?