Skip to content

Commit 5f7b61f

Browse files
committed
Update README.md
1 parent 2f487dd commit 5f7b61f

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,15 @@
11
# NetworkTilemap
2-
Networked tilemap synchronizer for FishNet.
2+
Networked tilemap synchronizer for FishNet.
3+
4+
# Unity version (IMPORTANT!)
5+
2022.1 or newer
6+
- Unity has made the Tilemap.tilemapTileChanged event available during runtime from this version forward.
7+
8+
# Setup
9+
- Create a Tilemap like usual
10+
-- (Optional) Attach a NetworkGrid to the parent Grid object
11+
- Attach the NetworkTilemap component to the newly created Tilemap object
12+
- Add tiles to its tiles list which you want to be synced over the network.
13+
14+
# Usage
15+
Make any edits directly to the Tilemap component on the *SERVER* side. The server will catch the change events, update the serializable tile data in a SyncDictionary, and the SyncDictionary callback update it on clients.

0 commit comments

Comments
 (0)