Allow quick creation of scripts.

This commit is contained in:
MineBill
2023-10-28 20:21:43 +03:00
parent 70a06c5db3
commit 5afb00e2c6
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>