Last updated
Last updated
Synchronized variables, or most commonly referred as "SyncVar" are easily definable in your code, and will handle automatically align a script variable between all .
SyncVars are built with the Network Module setup, meaning that you have to initialize it. Below is a usage example:
When populating the SyncVar, you can do a few things:
Feed it nothing: new();
Feed it a default: new(5);
//In case of number
Feed it settings like ownerAuth
or sendIntervalInSeconds
The owner auth setting default value can be found in your active network rules.