Skip to content

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

License

Notifications You must be signed in to change notification settings

fran6k/UnityNetcodeWithEntitas

Repository files navigation

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/

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages