mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
Merge pull request #1313 from FirstGearGames/patch-7
Changedvideo link to video within playlist.
This commit is contained in:
commit
f09b06584e
@ -1,6 +1,6 @@
|
|||||||
# SyncVars
|
# SyncVars
|
||||||
|
|
||||||
[![SyncVar video tutorial](../../images/video_tutorial.png)](https://www.youtube.com/watch?v=T7AoozedYfI)
|
[![SyncVar video tutorial](../../images/video_tutorial.png)](https://www.youtube.com/watch?v=T7AoozedYfI&list=PLkx8oFug638oBYF5EOwsSS-gOVBXj1dkP&index=5)
|
||||||
|
|
||||||
SyncVars are properties of classes that inherit from NetworkBehaviour, which are synchronized from the server to clients. When a game object is spawned, or a new player joins a game in progress, they are sent the latest state of all SyncVars on networked objects that are visible to them. Use the `SyncVar` custom attribute to specify which variables in your script you want to synchronize.
|
SyncVars are properties of classes that inherit from NetworkBehaviour, which are synchronized from the server to clients. When a game object is spawned, or a new player joins a game in progress, they are sent the latest state of all SyncVars on networked objects that are visible to them. Use the `SyncVar` custom attribute to specify which variables in your script you want to synchronize.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user