Remote debugger for LeoEcs.
Look at trello desktop
Install ecs-remotedebug in your project.
Field
class GameSetup {
// ...
#if DEBUG
Leopotam.Ecs.RemoteDebug.RemoteDebugClient _debug;
#endif;
// ...
}
Initialization
void Start() {
// ...
#if UNITY_EDITOR
_debug = new Leopotam.Ecs.RemoteDebug.RemoteDebugClient (_world);
#endif
}
Call in update loop
void Update() {
// ...
#if DEBUG
_debug?.Run();
#endif
}
Run LeoECSRemoteDebugger and after run your game.
Default port is 1111
. For change look at here. Port in app you can change in settings (after click save and reload app).
Click by Entity in world will open modal window with more often updating.