Fix actor layer editor setup
This commit is contained in:
@@ -22,10 +22,9 @@ namespace FlaxEditor.CustomEditors.Editors
|
|||||||
public override void Initialize(LayoutElementsContainer layout)
|
public override void Initialize(LayoutElementsContainer layout)
|
||||||
{
|
{
|
||||||
element = layout.ComboBox();
|
element = layout.ComboBox();
|
||||||
element.ComboBox.SelectedIndexChanged += OnSelectedIndexChanged;
|
|
||||||
|
|
||||||
// Set layer names
|
|
||||||
element.ComboBox.SetItems(LayersAndTagsSettings.GetCurrentLayers());
|
element.ComboBox.SetItems(LayersAndTagsSettings.GetCurrentLayers());
|
||||||
|
element.ComboBox.SelectedIndex = (int)Values[0];
|
||||||
|
element.ComboBox.SelectedIndexChanged += OnSelectedIndexChanged;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void GetActorsTree(List<Actor> list, Actor a)
|
private void GetActorsTree(List<Actor> list, Actor a)
|
||||||
|
|||||||
Reference in New Issue
Block a user