ChargedBullet Class |
Namespace: RavingBots.MagicGestures.Game.Magic
public abstract class ChargedBullet : MagicEffect
The ChargedBullet type exposes the following members.
Name | Description | |
---|---|---|
ChargedBullet | Initializes a new instance of the ChargedBullet class |
Name | Description | |
---|---|---|
AutoDestructed | if the bullet has autodestructed.
| |
BulletTransform |
The saved transform state of the bullet object.
| |
CurrentCharge |
The current charge of this bullet.
| |
Fired | if the bullet has been fired.
|
Name | Description | |
---|---|---|
AutoDestruct |
Called when the bullet autodestructs.
| |
Awake |
Reset this instance to the pristine state.
(Overrides MagicEffectAwake.) | |
Charge |
Update the charge state of this bullet.
| |
Fire |
Called when the bullet is fired.
| |
FixedUpdate |
Update the effect state.
(Overrides MagicEffectFixedUpdate.) | |
OnPress |
Called when the user presses the trigger.
(Overrides MagicEffectOnPress.) | |
ResetState |
Reset this instance to the pristine state.
(Overrides MagicEffectResetState.) | |
SetCharge |
Called when the charge state of this bullet changes.
|
Name | Description | |
---|---|---|
_currentCharge |
The current charge of this bullet.
| |
AutodestructTime |
The time before the launched bullet autodestructs.
| |
Bullet |
The bullet object associated with this effect.
| |
ChargeDuration |
The duration of the charging effect.
| |
ChargeSound |
The sound played while the bullet is being charged.
| |
ChargeToFirePitch |
The scaling factor of the bullet charge, used to calculate
the pitch of the firing sound.
| |
ChargeToFlyPitch |
The scaling factor of the bullet charge, used to calculate
the pitch of the flying sound.
| |
FireSound |
The sound played when the bullet is fired.
| |
FlySound |
The sound played while the bullet is flying.
| |
MinCharge |
The minimum charge of the bullet.
|