Reload scripts in Play Mode!!!

- Dont serialize static fields
- Added some profiling to ScriptEngine
- Removed superseded ScriptFieldMaps
This commit is contained in:
Simon Lübeß
2023-12-24 01:33:48 +01:00
parent d0f0a34247
commit abb119589c
7 changed files with 58 additions and 169 deletions
@@ -60,6 +60,8 @@ static class ScriptGlue
public static void RegisterManagedComponents()
{
Debug.Profiler.ProfileFunction!();
s_AddComponentMethods.Clear();
s_HasComponentMethods.Clear();
s_RemoveComponentMethods.Clear();