![]() | Laser Class |
Namespace: RavingBots.MagicGestures.Game.Magic
public class Laser : ChargedBullet
The Laser type exposes the following members.
Name | Description | |
---|---|---|
![]() | Awake |
Reset this instance to the pristine state.
(Overrides ChargedBulletAwake.) |
![]() | OnBulletCollision |
Called when the bullet collides with something.
|
![]() | ResetState |
Reset this instance to the pristine state.
(Overrides ChargedBulletResetState.) |
![]() | SetCharge |
Called when the charge state of this bullet changes.
(Overrides ChargedBulletSetCharge(Single).) |
![]() | SetColor |
Called when the color of the effect changes.
(Overrides MagicEffectSetColor(Color).) |
![]() | Update |
Update the effect state.
(Overrides MagicEffectUpdate.) |
Name | Description | |
---|---|---|
![]() | _bulletCapsule |
The collider used.
|
![]() | _bulletLine |
The line renderer used.
|
![]() | _collisionTime |
The timestamp of previous collision with another body.
|
![]() | _endY |
The ending Y position of the bullet.
|
![]() | _height |
The height of the bullet capsule.
|
![]() | _mass |
The mass of the capsule.
|
![]() | _posY |
The Y position of the capsule center.
|
![]() | _startY |
The starting Y position of the bullet.
|
![]() | Lines |
The renderers used by the effect.
|
![]() | ShrinkDuration |
The duration of the shrink animation.
|