프로퍼티 | 타입 | 설명 | |
---|---|---|---|
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 HasAmmo ( AmmoType ammoType, int amount ) : bool | ||
ammoType | AmmoType | |
amount | int | |
리턴 | bool |
public RemoveAmmo ( AmmoType ammoType, int amount ) : void | ||
ammoType | AmmoType | |
amount | int | |
리턴 | void |