https://github.com/fran6k/unitynetcodewithentitas
ECS架构下使用Netcode同步数据示例 | Simple, Flexible Example for Entitas Combine With Unity Netcode(for GameObject)
https://github.com/fran6k/unitynetcodewithentitas
ecs entitas netcode unity
Last synced: 6 months ago
JSON representation
ECS架构下使用Netcode同步数据示例 | Simple, Flexible Example for Entitas Combine With Unity Netcode(for GameObject)
- Host: GitHub
- URL: https://github.com/fran6k/unitynetcodewithentitas
- Owner: fran6k
- License: mit
- Created: 2024-10-17T07:33:13.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-17T08:02:26.000Z (over 1 year ago)
- Last Synced: 2025-03-20T05:23:38.487Z (about 1 year ago)
- Topics: ecs, entitas, netcode, unity
- Language: C#
- Homepage:
- Size: 5.59 MB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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.
https://github.com/user-attachments/assets/c09a6cf0-85d3-42a6-8dda-dcf6e704015b
# 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/