using System.Collections; using System.Collections.Generic; using UnityEngine; /// /// 机器人保存坐标 /// [AddComponentMenu("SaveCoordinateRobot/机器人保存坐标")] public class SaveCoordinateRobot : MonoBehaviour { public static SaveCoordinateRobot Inst; public Root myroot = new Root(); private void Awake() { Inst = this; } // Start is called before the first frame update void Start() { } // Update is called once per frame void Update() { } [System.Serializable] public class Root { /// /// /// public string code; /// /// 操作成功 /// public string message; /// /// /// public int data; /// /// /// public string serverTime; } }