API.Unity.Hot Reload - JuDelCo/Core GitHub Wiki

UnityHotReload

This class will reload all loaded services on recompile automatically. By default will pause the editor player (you can override this behaviour with the SetPauseOnCompile static method).

You can use the events to hook to pre-recompilation and post-recompilation events in runtime.

The property IsSafeToUseUnityAPI can be used to make sure you can use the Unity API outside the serialization/deserialization thread.

static bool IsSafeToUseUnityAPI;
static void ForceRecompile();
static void SetPauseOnCompile(bool enabled);

Events

UnityHotReloadEndEvent;
UnityHotReloadStartEvent;