private void InitializeWeapon() { if (!weaponConfig) { return; } weapon = (EnemyWeapon)weaponConfig.Create(); weapon.SetTurretPosition(turret); }