Property | Type | Description | |
---|---|---|---|
CollectedWeapons | List |
||
CurrentWeapon | |||
Hand | |||
WeaponList | List |
Method | Description | |
---|---|---|
AddAmmo ( AmmoType ammoType, int amount ) : void | ||
CollectWeapon ( int weaponId ) : void | ||
GetAmmo ( AmmoType ammoType ) : int | ||
HasAmmo ( AmmoType ammoType, int amount ) : bool | ||
HasWeapon ( int weaponId ) : bool | ||
RemoveAmmo ( AmmoType ammoType, int amount ) : void | ||
Start ( ) : void | ||
Update ( ) : void |
public AddAmmo ( AmmoType ammoType, int amount ) : void | ||
ammoType | AmmoType | |
amount | int | |
return | void |
public HasAmmo ( AmmoType ammoType, int amount ) : bool | ||
ammoType | AmmoType | |
amount | int | |
return | bool |
public RemoveAmmo ( AmmoType ammoType, int amount ) : void | ||
ammoType | AmmoType | |
amount | int | |
return | void |
public GameObject,UnityEngine CurrentWeapon | ||
return |