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

@@ -241,6 +241,7 @@ public:
API_FUNCTION(Internal) static VisualScriptStackFrame GetVisualScriptPreviousScopeFrame();
API_FUNCTION(Internal) static Array<VisualScriptLocal> GetVisualScriptLocals();
API_FUNCTION(Internal) static bool EvaluateVisualScriptLocal(VisualScript* script, API_PARAM(Ref) VisualScriptLocal& local);
API_FUNCTION(Internal) static void WipeOutLeftoverSceneObjects();
private:
void OnEditorAssemblyLoaded(MAssembly* assembly);