From a2e0651d7eae604331a974fa7a1bb272d43b3a5e Mon Sep 17 00:00:00 2001 From: Chris Langsenkamp Date: Sun, 10 Feb 2019 09:44:45 -0500 Subject: [PATCH] Update StateSync.md (#394) Fixed title capitalization and changed example to OnStartClient instead of Start --- docs/Concepts/StateSync.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/Concepts/StateSync.md b/docs/Concepts/StateSync.md index a8d0c4f92..87c5e4a63 100644 --- a/docs/Concepts/StateSync.md +++ b/docs/Concepts/StateSync.md @@ -1,4 +1,4 @@ -# State synchronization +# State Synchronization State synchronization refers to the synchronization of values such as integers, floating point numbers, strings and boolean values belonging to scripts. @@ -65,7 +65,7 @@ public class MyScript : NetworkBehaviour Debug.Log("buf changed:" + op); } - void Start() + void OnStartClient() { m_bufs.Callback = BufChanged; }