SyncVar Limit is 64 per NetworkBehaviour

This commit is contained in:
Chris Langsenkamp 2019-10-03 08:13:39 -04:00
parent c85d0df533
commit c6251bc15b

View File

@ -4,7 +4,7 @@ SyncVars are properties of classes that inherit from NetworkBehaviour, which are
The state of SyncVars is applied to game objects on clients before `OnStartClient()` is called, so the state of the object is always up-to-date inside `OnStartClient()`.
SyncVars can use any [type supported by Mirror](../DataTypes.md). You can have up to 32 SyncVars on a single NetworkBehaviour script, including SyncLists (see next section, below).
SyncVars can use any [type supported by Mirror](../DataTypes.md). You can have up to 64 SyncVars on a single NetworkBehaviour script, including SyncLists (see next section, below).
The server automatically sends SyncVar updates when the value of a SyncVar changes, so you do not need to track when they change or send information about the changes yourself.