public void RegenerateFleetShipNames() { FleetShipNames = ""; StringBuilder sb = new StringBuilder(); if (Ships.Count > 0) { foreach (StrategicShip s in Ships) { sb.AppendLine(s.DesignClass.HullDesignation.Prefix + " " + s.ShipName); if (s.isDamaged) { sb.Append(" [D]"); } } } else { for (int i = 1; i < 40; i++) { sb.AppendLine(HullDes.DesDictionary[HullDes.HullTypes[Random.Range(0, 2)]].Prefix + " " + NameManager.GrabShipName()); } } FleetShipNames = sb.ToString(); StrategicUIManager.UpdateUI(); }