Add OnPlayEnding to editor modules and windows

#3514
This commit is contained in:
Wojtek Figat
2025-06-16 14:56:35 +02:00
parent 117f890612
commit 90b6293bc2
4 changed files with 23 additions and 0 deletions

View File

@@ -670,6 +670,8 @@ namespace FlaxEditor
{
FlaxEngine.Networking.NetworkManager.Stop(); // Shutdown any multiplayer from playmode
PlayModeEnding?.Invoke();
for (int i = 0; i < _modules.Count; i++)
_modules[i].OnPlayEnding();
}
internal void OnPlayEnd()