This commit is contained in:
Даниил Заикин
2026-06-17 20:44:53 +03:00
parent 9d153773c2
commit b133e7c656
1880 changed files with 244545 additions and 0 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