mirror of
https://github.com/DCFApixels/DragonECS-Unity.git
synced 2025-09-17 17:34:34 +08:00
fix domain reload
This commit is contained in:
parent
b03e212c6d
commit
e59fc21491
@ -208,6 +208,13 @@ namespace DCFApixels.DragonECS.Unity.Editors
|
||||
//}).ToArray();
|
||||
}
|
||||
|
||||
[RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.SubsystemRegistration)]
|
||||
private static void OnLoad()
|
||||
{
|
||||
EcsWorld.ResetStaticState();
|
||||
UnityDebugService.Activate();
|
||||
}
|
||||
|
||||
internal static readonly Assembly _integrationAssembly;
|
||||
internal static readonly Type[] _serializableTypes;
|
||||
internal static readonly TypeMeta[] _typeWithMetaIDMetas;
|
||||
|
Loading…
Reference in New Issue
Block a user