using System.Collections; using System.Collections.Generic; using UnityEngine; public class SyncData //structure for gameobjects and data sent over to the server { public SyncData(Transform pos, string type) { this.transform = pos; this.type = type; } public Transform transform; public string type; //key in registry data that defines which gameobject to instantiate with transform: position }