public void UpdateWeaponReaded() { weaponReaded.UpdateWeaponModReading(); weaponInfo_type.text = "Type: " + weaponReaded.GetString_WeaponType(); weaponInfo_baseDmg.text = "Normal: " + ((int)weaponReaded.GetNormalDamage()).ToString(); weaponInfo_photonDmg.text = "Photon: " + ((int)weaponReaded.GetPhotonDamage()).ToString(); weaponInfo_nuclearDmg.text = "Nuclear: " + ((int)weaponReaded.GetNuclearDamage()).ToString(); weaponInfo_explosiveDmg.text = "Explosive: " + ((int)weaponReaded.GetExplosiveDamage()).ToString(); }
public float GetPhotonDamage() { return(playerWeaponData.GetPhotonDamage()); }