diff --git a/Client/Unity/SyncData.cs b/Client/Unity/SyncData.cs new file mode 100644 index 0000000..a42061d --- /dev/null +++ b/Client/Unity/SyncData.cs @@ -0,0 +1,14 @@ +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 +} diff --git a/Client/Unity/SyncData.cs.meta b/Client/Unity/SyncData.cs.meta new file mode 100644 index 0000000..b1989f5 --- /dev/null +++ b/Client/Unity/SyncData.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: dbe7422037114f74c80f641e2b629993 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: