added object uuid for synchronization
This commit is contained in:
parent
3a30091559
commit
3faaba9d0c
@ -89,7 +89,7 @@ public class CSNC : MonoBehaviour
|
|||||||
|
|
||||||
foreach (SyncData obj in GameObjectRegistry.instance.registeredObjects)
|
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);
|
SendData sendData = new SendData(gameObjects);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user