Esempio n. 1
0
 protected void UpdateAmmoInfo()
 {
     if (ammoInfo != null)
     {
         ammoInfo.text = weaponData.GetClipAmmo().ToString() + " | " + weaponData.GetInventoryAmmo().ToString();
     }
     else
     {
         Debug.Log("No ammunition display element linked");
     }
 }