change how layers with no name get displayed

Makes the name shorter, fits into comboboxes more easily
This commit is contained in:
xxSeys1
2024-10-25 16:09:30 +02:00
parent a0aee15267
commit 68e531aebb

View File

@@ -48,7 +48,7 @@ namespace FlaxEditor.Content.Settings
for (int i = 0; i < layerNames.Length; i++)
{
if (string.IsNullOrEmpty(layerNames[i]))
layerNames[i] = $"Terrain Layer {i}";
layerNames[i] = $"Layer {i}";
}
return layerNames;