Пример #1
0
    private bool AttemptFireGun()
    {
        if (Inventory.GetInstance().RemoveItem(ItemType.SilverBullet, 1))
        {
            muzzleFlash.Fire();
            PlayClip("gun", true);
            return(true);
        }

        return(false);
    }