Click or drag to resize

ChargedBullet Class

The component implementing the bullets that can be charged by holding the cast button.
Inheritance Hierarchy

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

The ChargedBullet type exposes the following members.

Constructors
  NameDescription
Protected methodChargedBullet
Initializes a new instance of the ChargedBullet class
Top
Properties
  NameDescription
Protected propertyAutoDestructed
if the bullet has autodestructed.
Protected propertyBulletTransform
The saved transform state of the bullet object.
Public propertyCurrentCharge
The current charge of this bullet.
Protected propertyFired
if the bullet has been fired.
Top
Methods
Fields
  NameDescription
Private field_currentCharge
The current charge of this bullet.
Protected fieldAutodestructTime
The time before the launched bullet autodestructs.
Protected fieldBullet
The bullet object associated with this effect.
Protected fieldChargeDuration
The duration of the charging effect.
Protected fieldChargeSound
The sound played while the bullet is being charged.
Protected fieldChargeToFirePitch
The scaling factor of the bullet charge, used to calculate the pitch of the firing sound.
Protected fieldChargeToFlyPitch
The scaling factor of the bullet charge, used to calculate the pitch of the flying sound.
Protected fieldFireSound
The sound played when the bullet is fired.
Protected fieldFlySound
The sound played while the bullet is flying.
Protected fieldMinCharge
The minimum charge of the bullet.
Top
See Also