private void Start() { // Setup detection component with info from data _detectionComponent.Setup(_data.DetectionMask, _data.DetectionRadius); // Setup aiming component _aimingComponent.Setup(_detectionComponent, _data.SpeedRotation); // Setup firing component if (_weapon != null && _firingComponent != null) { _firingComponent.Setup(_detectionComponent, _weapon, _data.DelayToStartFiring); } }