C# Class AmmoCounter, GameProject

Inheritance: MonoBehaviour
Afficher le fichier Open project: EECS390IndieTeam/GameProject Class Usage Examples

Méthodes publiques

Свойство Type Description
loadedText Text,
reserveCapacity int
reserveText Text,
startingAmmo int
weaponCapacity int

Méthodes publiques

Méthode Description
FireWeapon ( ) : void
PickupAmmo ( int size ) : int
Reload ( ) : void
Start ( ) : void
Update ( ) : void
UpdateAmmoText ( ) : void

Method Details

FireWeapon() public méthode

public FireWeapon ( ) : void
Résultat void

PickupAmmo() public méthode

public PickupAmmo ( int size ) : int
size int
Résultat int

Reload() public méthode

public Reload ( ) : void
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

UpdateAmmoText() public méthode

public UpdateAmmoText ( ) : void
Résultat void

Property Details

loadedText public_oe property

public Text, loadedText
Résultat Text,

reserveCapacity public_oe property

public int reserveCapacity
Résultat int

reserveText public_oe property

public Text, reserveText
Résultat Text,

startingAmmo public_oe property

public int startingAmmo
Résultat int

weaponCapacity public_oe property

public int weaponCapacity
Résultat int