added object uuid for synchronization
This commit is contained in:
@@ -89,7 +89,7 @@ public class CSNC : MonoBehaviour
|
||||
|
||||
foreach (SyncData obj in GameObjectRegistry.instance.registeredObjects)
|
||||
{
|
||||
gameObjects.Add(new CSNCObject(obj.type, obj.transform));
|
||||
gameObjects.Add(new CSNCObject(obj.type, obj.transform, obj.id));
|
||||
}
|
||||
|
||||
SendData sendData = new SendData(gameObjects);
|
||||
|
Reference in New Issue
Block a user