[Add] Hot Reload

This commit is contained in:
2026-02-27 03:16:18 +07:00
parent 5067cb51a1
commit b37579153b
431 changed files with 43054 additions and 1 deletions
@@ -0,0 +1,29 @@
#if ENABLE_MONO && (DEVELOPMENT_BUILD || UNITY_EDITOR)
using UnityEngine;
namespace SingularityGroup.HotReload.Demo {
public interface IDemo {
bool IsServerRunning();
void OpenHotReloadWindow();
void OpenScriptFile(TextAsset textAsset, int line, int column);
}
public static class Demo {
public static IDemo I = new PlayerDemo();
}
public class PlayerDemo : IDemo {
public bool IsServerRunning() {
return ServerHealthCheck.I.IsServerHealthy;
}
public void OpenHotReloadWindow() {
//no-op
}
public void OpenScriptFile(TextAsset textAsset, int line, int column) {
//no-op
}
}
}
#endif