Property | Type | Description | |
---|---|---|---|
AmmoDamageModifier | float | ||
AmmoSpeedModifier | float | ||
RateOfFire | float |
Method | Description | |
---|---|---|
Fire ( GameObject ammo, GameObject origin ) : void |
Inherited from the concrete Weapon types.
|
Method | Description | |
---|---|---|
ModifyAmmo ( GameObject ammo ) : void |
The method that is responsible to modifying the ammo based on the ammo modifiers after the ammo is instantiated.
|
public abstract Fire ( GameObject ammo, GameObject origin ) : void | ||
ammo | GameObject | The ammo we are firing that could affect the rate of fire. |
origin | GameObject | The origin we are firing from. (Player Ship) |
return | void |
protected ModifyAmmo ( GameObject ammo ) : void | ||
ammo | GameObject | |
return | void |