BeginnerUserGuidePart04WhatIsASynchronizable
Introduction to Synchronizables. The component that automatically synchronizes values between users.
What is a Synchronizable?
Synchronizables are the core concept of exchanging application state
between users in applications built with Alteruna Multiplayer.
Synchronizables are Unity components that are attached to GameObjects and are collected and synchronized
by the Alteruna Multiplayer package. For example, the
TransformSynchronizable ensures that the
GameObject's transform component is synchronized between the users in a room. The
Spawner component
can be used to instantiate synchronizable objects on all clients in the Room simultaneously.
What is a UniqueID?
Synchronizables are automatically assigned a
UniqueID when they are first created.
This ensures that all application instances can always identify the correct object to synchronize and prevent collisions.
You can inspect the assigned UniqueID in the inspector window for all objects that have Synchronizable components attached to them.
Figure 4.1