GitHunt
FR

fran6k/UnityNetcodeWithEntitas

ECS架构下使用Netcode同步数据示例 | Simple, Flexible Example for Entitas Combine With Unity Netcode(for GameObject)

UnityNetcodeWithEntitas

It's a simple project to understand how entitas work with netcode, to sync data between server and client.

you can also use another network solution, the ecs is good tools to decoupling the logic and data.

example.mp4

Usage

  1. use ParrelSync open a clone
  2. run the eidtor, click NetworkManager GameObject inside the DontDestroyOnload of the sence
  3. click Start Server
  4. run the cloned editor, same with 2, then click Start Client

Reference

https://github.com/sschmid/Entitas
https://github.com/sschmid/Entitas/wiki
https://docs-multiplayer.unity3d.com/netcode/current/about/

Languages

C#73.4%Mathematica26.0%Shell0.4%Batchfile0.2%

Contributors

MIT License
Created October 17, 2024
Updated August 27, 2025