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

Inheritance: GenericSystem
Afficher le fichier Open project: emir01/Unity3D-Space-Shooter-Game Class Usage Examples

Méthodes publiques

Свойство Type Description
DefaultWeapon GameObject
LoadedAmmo GameObject

Méthodes publiques

Méthode Description
Start ( ) : void
Update ( ) : void

Private Methods

Méthode 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 méthode

public Start ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

Property Details

DefaultWeapon public_oe property

public GameObject DefaultWeapon
Résultat GameObject

LoadedAmmo public_oe property

public GameObject LoadedAmmo
Résultat GameObject