C# Class WeaponSystem, Unity3D-Space-Shooter-Game

Inheritance: GenericSystem
Mostrar archivo Open project: emir01/Unity3D-Space-Shooter-Game Class Usage Examples

Public Properties

Property Type Description
DefaultWeapon GameObject
LoadedAmmo GameObject

Public Methods

Method Description
Start ( ) : void
Update ( ) : void

Private Methods

Method Description
ChangeWeapon ( string weaponName ) : void
FireWeaponSystem ( ) : IEnumerator

The actual method that handles the shooting of the currently selected weapon with the currently selected ammo

HandleWeaponSwitch ( ) : void

Method Details

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

DefaultWeapon public_oe property

public GameObject DefaultWeapon
return GameObject

LoadedAmmo public_oe property

public GameObject LoadedAmmo
return GameObject