void Start() { _blasters = new WeaponStats("Blasters", 0.25f, 50); _rockets = new WeaponStats("Rockets", 5f, 1); Debug.Log("Current Weapon Name: " + _blasters.name); }
public void UpdateWeaponStats(WeaponStats weapon) { playerName.text += weapon.name; fireRate.text += weapon.fireRate; ammoCount.text += weapon.ammoCount; }
void Start() { // assign a weapon to give to player upon collecting _blasters = new WeaponStats("Blaster", 0.25f, 50); }