Свойство | Type | Description | |
---|---|---|---|
AmmoDamageModifier | float | ||
AmmoSpeedModifier | float | ||
RateOfFire | float |
Méthode | Description | |
---|---|---|
Fire ( GameObject ammo, GameObject origin ) : void |
Inherited from the concrete Weapon types.
|
Méthode | 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) |
Résultat | void |
protected ModifyAmmo ( GameObject ammo ) : void | ||
ammo | GameObject | |
Résultat | void |