Exemplo n.º 1
0
    private void DeactivateComponents()
    {
        // Disable aiming
        _aimingComponent.Disable();

        // Disable detection
        _detectionComponent.Disable();

        // Disable firing
        if (_firingComponent != null)
        {
            _firingComponent.Disable();
        }
    }