public class BeamCannonBehaviour
Inherits CanShoot
, Messages.IUse
Controls the detached beam cannon
Fields
public Vector2 barrelPosition
Local barrel position
public Vector2 barrelDirection
Local barrel direction vector
public PhysicalBehaviour PhysicalBehaviour
[SkipSerialisation]
Reference to the object's PhysicalBehaviour
public LineRenderer LineRenderer
[SkipSerialisation]
Reference to the object's LineRenderer
public SpriteRenderer GlowSprite
[SkipSerialisation]
Reference to the object's renderer for the lighting
public AudioSource AudioSource
[SkipSerialisation]
Reference to the audio source that is used to play cannon noises
public float OverchargeThreshold
[SkipSerialisation]
Determines how much charge is necessary to make the cannon beam go through everything forever
public float ScreenShake
[SkipSerialisation]
Amount of screenshake when shot
public float Recoil
[SkipSerialisation]
Amount of recoil
public LayerMask LayerMask
[SkipSerialisation]
The layers to hit
Properties
public override Vector2 BarrelPosition
No description provided
public Vector2 BarrelDirection
No description provided
Methods
public void Use(ActivationPropagation activation)
No description provided
public override void Shoot()
No description provided
bi bij bibi