Property | Type | Description | |
---|---|---|---|
activeReloadTime | float | ||
anchor | Transform | ||
arDamageIncrease | float | ||
arLengthInPercentage | float | ||
arRangeInPercentage | Vector2 | ||
arReloadSpeed | float | ||
arShootSpeed | float | ||
bullet | GameObject | ||
capacity | int | ||
reloadAnim | string | ||
reloadSpeed | float | ||
shootAnim | string | ||
shootSpeed | float | ||
snd_fire | |||
snd_onreload |
Property | Type | Description | |
---|---|---|---|
activeReloadCounter | float | ||
bullets | int | ||
emitter | Emitter, | ||
remainBullets | int |
Method | Description | |
---|---|---|
ActiveReload ( bool _triggered ) : void | ||
AddBullets ( int _bullets ) : void | ||
AdjustAnim ( Animation _anim ) : void | ||
CalcActiveReloadZone ( ) : Vector2 | ||
CurBullets ( ) : int | ||
Fire ( ) : void | ||
NoBulletForReloading ( ) : bool | ||
OutOfAmmo ( ) : bool | ||
Reload ( ) : void | ||
RemainBullets ( ) : int | ||
Start ( ) : void | ||
Update ( ) : void | ||
isAmmoFull ( ) : bool |
public ActiveReload ( bool _triggered ) : void | ||
_triggered | bool | |
return | void |