// Calculate total weight and normalize for selection float totalWeight = 0f; foreach (var profile in girlEntries) totalWeight += profile.spawnWeight;