Add EditorPlugin.DeinitializeEditor to properly cleanup Editor extensions on exit

This commit is contained in:
Wojciech Figat
2022-08-23 09:39:43 +02:00
parent a19c17cfb9
commit b2f22b2d87
2 changed files with 11 additions and 0 deletions

View File

@@ -52,5 +52,12 @@ namespace FlaxEditor
public virtual void InitializeEditor()
{
}
/// <summary>
/// Cleanup method called when this plugin is initialized and Editor is disposing (before plugin disposing). Use this method to remove any custom editor functionalities created within InitializeEditor.
/// </summary>
public virtual void DeinitializeEditor()
{
}
}
}