diff --git a/Assets/Zion/Scripts/Adam/WRJManager.cs b/Assets/Zion/Scripts/Adam/WRJManager.cs index 07f6b06c..69c7d96c 100644 --- a/Assets/Zion/Scripts/Adam/WRJManager.cs +++ b/Assets/Zion/Scripts/Adam/WRJManager.cs @@ -29,7 +29,7 @@ namespace Assets.Zion.Scripts.Adam { if (hitInfo.collider.tag == "WRJ") { - Debug.Log("daadad"); + //Debug.Log("daadad"); currentWRJ = hitInfo.collider.GetComponent(); if (!wRJControllers.Contains(currentWRJ)) wRJControllers.Add(currentWRJ); diff --git a/Assets/Zion/Scripts/ModelFunction/UAV/UnmannedAerialVehicle.cs b/Assets/Zion/Scripts/ModelFunction/UAV/UnmannedAerialVehicle.cs index ea85756d..52bb312d 100644 --- a/Assets/Zion/Scripts/ModelFunction/UAV/UnmannedAerialVehicle.cs +++ b/Assets/Zion/Scripts/ModelFunction/UAV/UnmannedAerialVehicle.cs @@ -136,7 +136,7 @@ public class UnmannedAerialVehicle : MonoBehaviour if (isPassMessage) { string nowData = GetSyncDis(); - Debug.Log(nowData); + //Debug.Log(nowData); //_ = SyncCreateRoom.SendMessageAsync(string.Format("send2room {0}", nowData)); DeviceManager.Instance.send2roomStr.Enqueue(nowData); string currentTime = System.DateTime.Now.ToString(); @@ -183,7 +183,7 @@ public class UnmannedAerialVehicle : MonoBehaviour { EquipmentCommon _equipmentCommon = _transform.GetComponent(); string nowData = string.Format("{0},{1}", "SetToBeDestroyed", _equipmentCommon.deviceID); - Debug.Log(nowData); + //Debug.Log(nowData); _ = SyncCreateRoom.SendMessageAsync(string.Format("send2room {0}", nowData)); string currentTime = System.DateTime.Now.ToString(); string _log = currentTime + " " + unmannedAerialVehicleManage.equipmentCommon.equipmentType + "(" + unmannedAerialVehicleManage.equipmentCommon.deviceID + ")" @@ -192,9 +192,9 @@ public class UnmannedAerialVehicle : MonoBehaviour WWWForm headers = new WWWForm(); headers.AddField("id", _equipmentCommon.deviceID); - StartCoroutine(PostString(Url_Deletepracticedevicedetail, headers, data => { - Debug.Log(data); - })); + //StartCoroutine(PostString(Url_Deletepracticedevicedetail, headers, data => { + // //Debug.Log(data); + //})); GameObject Bao = Instantiate(explodePrefab, _transform); Bao.transform.localPosition = Vector3.zero; Bao.transform.SetParent(null); diff --git a/Assets/Zion/Scripts/ModelFunction/UAV/UnmannedAerialVehicleManage.cs b/Assets/Zion/Scripts/ModelFunction/UAV/UnmannedAerialVehicleManage.cs index d0ad9d20..523c1966 100644 --- a/Assets/Zion/Scripts/ModelFunction/UAV/UnmannedAerialVehicleManage.cs +++ b/Assets/Zion/Scripts/ModelFunction/UAV/UnmannedAerialVehicleManage.cs @@ -192,14 +192,14 @@ public class UnmannedAerialVehicleManage : MonoBehaviour if (_unmannedAerialVehicle.Count == 0) { string nowData = string.Format("{0},{1}", "SetToBeDestroyed", equipmentCommon.deviceID); - Debug.Log(nowData); + //Debug.Log(nowData); _ = SyncCreateRoom.SendMessageAsync(string.Format("send2room {0}", nowData)); UploadLog(equipmentCommon.deviceID); WWWForm headers = new WWWForm(); headers.AddField("id", equipmentCommon.deviceID); StartCoroutine(PostString(Url_Deletepracticedevicedetail, headers, data => { - Debug.Log(data); + //Debug.Log(data); Destroy(gameObject); })); } @@ -222,7 +222,7 @@ public class UnmannedAerialVehicleManage : MonoBehaviour string uploadLogMainJson = JsonConvert.SerializeObject(uploadLogMains); WWWForm wWWForm = new WWWForm(); wWWForm.AddField("data", uploadLogMainJson); - Debug.Log(uploadLogMainJson); + //Debug.Log(uploadLogMainJson); StartCoroutine(PostString(Url_Addpracticelog, wWWForm, data => { Debug.Log(data);