Click or drag to resize

Laser Class

The component implementing the inflatable capsule bullets.
Inheritance Hierarchy

Namespace:  RavingBots.MagicGestures.Game.Magic
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public class Laser : ChargedBullet

The Laser type exposes the following members.

Constructors
  NameDescription
Public methodLaser
Initializes a new instance of the Laser class
Top
Methods
Fields
  NameDescription
Private field_bulletCapsule
The collider used.
Private field_bulletLine
The line renderer used.
Private field_collisionTime
The timestamp of previous collision with another body.
Private field_endY
The ending Y position of the bullet.
Private field_height
The height of the bullet capsule.
Private field_mass
The mass of the capsule.
Private field_posY
The Y position of the capsule center.
Private field_startY
The starting Y position of the bullet.
Protected fieldLines
The renderers used by the effect.
Protected fieldShrinkDuration
The duration of the shrink animation.
Top
See Also