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