using System.Collections; using System.Collections.Generic; using UnityEngine; using Speckle.Core; using Speckle.Core.Models; using Speckle.Core.Api; using Speckle.Core.Credentials; using System; using System.Threading.Tasks; using System.Linq; using Speckle.Core.Transports; using Objects.Converter.Unity; using Objects.Geometry; using UnityEditor; using System.Text.RegularExpressions; using System.IO; using UnityEngine.UI; namespace Speckle.ConnectorUnity { public class SpeckleExamples : MonoBehaviour { public Button ReceiveBtn; public InputField ReceiveText; public Button SendBtn; public InputField SendText; private GameObject receivedGo; void Start() { //hardcoded cuz I'm lazy, replace with what you need ReceiveText.text = "4ad65b572e"; SendText.text = "cd83745025"; if (ReceiveBtn == null || ReceiveText == null || SendBtn == null || SendText == null) { Debug.Log("Please set Send/Receive buttons and input fields"); return; } Button btn = ReceiveBtn.GetComponent