Skip to content
This repository has been archived by the owner on Oct 14, 2021. It is now read-only.

snatvb/leo-ecs-remote-debugger

Repository files navigation

LeoEcs Remote Debugger

Remote debugger for LeoEcs.

Screenshots

main-screen settings-screen

RoadMap

Look at trello desktop

How to use

Install ecs-remotedebug in your project.

Add in your game setup file

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.