Merge branch 'editor-update' of https://github.com/Tryibion/FlaxEngine into Tryibion-editor-update

This commit is contained in:
Wojtek Figat
2024-07-18 08:43:48 +02:00

View File

@@ -247,6 +247,11 @@ namespace FlaxEditor
/// </summary>
public event Action PlayModeEnd;
/// <summary>
/// Fired on Editor update
/// </summary>
public event Action EditorUpdate;
internal Editor()
{
Instance = this;
@@ -485,6 +490,8 @@ namespace FlaxEditor
{
StateMachine.CurrentState.UpdateFPS();
}
EditorUpdate?.Invoke();
// Update modules
for (int i = 0; i < _modules.Count; i++)