Свойство | Тип | Описание | |
---|---|---|---|
CollectedWeapons | List |
||
CurrentWeapon | |||
Hand | |||
WeaponList | List |
Метод | Описание | |
---|---|---|
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 | |
Результат | void |
public CollectWeapon ( int weaponId ) : void | ||
weaponId | int | |
Результат | void |
public GetAmmo ( AmmoType ammoType ) : int | ||
ammoType | AmmoType | |
Результат | int |
public HasAmmo ( AmmoType ammoType, int amount ) : bool | ||
ammoType | AmmoType | |
amount | int | |
Результат | bool |
public RemoveAmmo ( AmmoType ammoType, int amount ) : void | ||
ammoType | AmmoType | |
amount | int | |
Результат | void |
public GameObject,UnityEngine CurrentWeapon | ||
Результат |