Add logging and cleaning up leaked scene objects after play mode in Editor

This commit is contained in:
Wojtek Figat
2024-04-22 22:59:38 +02:00
parent d8a1de64d1
commit 890569ea3b
6 changed files with 46 additions and 3 deletions

View File

@@ -79,6 +79,13 @@ public:
public:
/// <summary>
/// Gets all registered scripting objects.
/// </summary>
/// <remarks>Use with caution due to potentially large memory allocation.</remarks>
/// <returns>The collection of the objects.</returns>
static Array<ScriptingObject*, HeapAllocation> GetObjects();
/// <summary>
/// Finds the class with given fully qualified name within whole assembly.
/// </summary>