Esempio n. 1
0
    private void gunBonus(GameObject player)
    {
        Bonus gun = player.GetComponent <PlayerShooting>()
                    .GunBonus.GetComponent <Bonus>();

        gun.Clip(quantityCartriges);
        gun.RegimeChange(ChargeName);
        Destroy(gameObject);
    }