Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
Assets
Scripts
Player
PlayerAmmo
GetAmmo
Assets.Scripts.Player.PlayerAmmo.GetAmmo C# (CSharp) Method
PlayerAmmo Class Documentation
Datei anzeigen
Open project: EricFreeman/DungeonGame
GetAmmo()
public
method
public
GetAmmo
(
AmmoType
ammoType
) :
int
ammoType
AmmoType
return
int
public int GetAmmo(AmmoType ammoType) { return _ammo.ContainsKey(ammoType) ? _ammo[ammoType] : 0; }
PlayerAmmo
AddAmmo
CollectWeapon
GetAmmo
HasAmmo
HasWeapon
RemoveAmmo
Start
Update