Merge branch 'new-script' of https://github.com/MineBill/FlaxEngine into MineBill-new-script

This commit is contained in:
Wojtek Figat
2024-02-18 20:32:27 +01:00
2 changed files with 139 additions and 2 deletions

View File

@@ -189,6 +189,8 @@ namespace FlaxEditor.GUI
/// </summary>
public event Action<Item> ItemClicked;
public event Action<string> TextChanged;
/// <summary>
/// The panel control where you should add your items.
/// </summary>
@@ -263,6 +265,7 @@ namespace FlaxEditor.GUI
UnlockChildrenRecursive();
PerformLayout(true);
_searchBox.Focus();
TextChanged?.Invoke(_searchBox.Text);
}
/// <summary>