public void CloseLaunchSite() { openclosestate = "Closed"; //if (this.isGroundStation && RTWrapper.RTLoaded) if (RTWrapper.RTLoaded) { Debug.Log("removing groundstation :( met guid: " + stationGuid); RTWrapper.RemoveBaseStation(new Guid(stationGuid)); stationGuid = default(Guid).ToString(); Debug.Log("removed groundstation, guid now reset to: " + stationGuid); } }
public void OpenLauchsite() { openclosestate = "Open"; //if (this.isGroundStation && RTWrapper.RTLoaded) if (RTWrapper.RTLoaded) { stationGuid = RTWrapper.AddBaseStation(name, (double)reflat, (double)reflon, (double)refalt, 1). ToString(); if (stationGuid != default(Guid).ToString()) { Debug.Log("added groundstation guid: " + stationGuid.ToString()); } } }