public void AddTo(Structure structure, GlobalStructureMod mod) { mod.TryApply(structure); TurretAssembly assembly = structure as TurretAssembly; foreach (var component in assembly.GetComponents()) { mod.TryApply(component); } }
public void AddTo(Structure structure, GlobalStructureMod mod) { mod.TryApply(structure); }