예제 #1
0
    private void DestroyCylinder(Cylinder cylinder)
    {
        if (cylinder.ColorId == _currentColorId)
        {
            cylinder.Explode();
        }

        _bulletParticles.Stop();
        _gunParticles.Play();
        UpdateColor();
        _canShoot = true;
    }