Exemplo n.º 1
0
    private void WeaponTyping()
    {
        if (blasters == null)
        {
            blasters = new WeaponStats("Blasters", 0.1f);
        }

        if (!_tripleShotEnabled)
        {
            blasters.BaseWeapon("Blasters", 0.1f);
        }
        else if (_tripleShotEnabled)
        {
            blasters = new WeaponStats("Triple Shot", 0.2f, _tripleShotDuration);

            _tripleShotDuration -= Time.deltaTime;
        }
    }