using System.Collections; using System.Collections.Generic; using UnityEngine; public class ClientSyncBehavior : MonoBehaviour { public string id; //the id of the gameobject (as of gameobjectregistry) to synchronize across clients void Start() { GameObjectRegistry.instance.registeredObjects.Add(new SyncData(transform, id)); } }