diff --git a/docs/Concepts/GameObjects/SpawnPlayerCustom.md b/docs/Concepts/GameObjects/SpawnPlayerCustom.md index 4ba2ff42c..f68d934a0 100644 --- a/docs/Concepts/GameObjects/SpawnPlayerCustom.md +++ b/docs/Concepts/GameObjects/SpawnPlayerCustom.md @@ -13,7 +13,7 @@ using UnityEngine; using Mirror; class Player : NetworkBehaviour { - SyncVar + [SyncVar] public Color color; } ```