Add layer number to LayerMask UI
This commit is contained in:
@@ -31,7 +31,7 @@ namespace FlaxEditor.CustomEditors.Dedicated
|
|||||||
var layer = layers[i];
|
var layer = layers[i];
|
||||||
if (string.IsNullOrEmpty(layer))
|
if (string.IsNullOrEmpty(layer))
|
||||||
continue;
|
continue;
|
||||||
var property = layout.AddPropertyItem(layer);
|
var property = layout.AddPropertyItem($"{i}: {layer}");
|
||||||
var checkbox = property.Checkbox().CheckBox;
|
var checkbox = property.Checkbox().CheckBox;
|
||||||
UpdateCheckbox(checkbox, i);
|
UpdateCheckbox(checkbox, i);
|
||||||
checkbox.Tag = i;
|
checkbox.Tag = i;
|
||||||
|
|||||||
Reference in New Issue
Block a user