去除debug

This commit is contained in:
YangHua 2024-01-19 15:24:19 +08:00
parent 87fcfeb2e5
commit 8f07e6c5d6
3 changed files with 8 additions and 8 deletions

View File

@ -381,7 +381,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
m_IsActive: 0
--- !u!4 &8245684177115831463
Transform:
m_ObjectHideFlags: 0

View File

@ -140,7 +140,7 @@ public class Microwaveweapon : MonoBehaviour
while (true)
{
yield return new WaitForSeconds(microwtimer);
Debug.LogError("攻击了");
//Debug.LogError("攻击了");
//if (microwtimer>0&&miceopos!=null)
if (miceopos!=null)
{
@ -157,7 +157,7 @@ public class Microwaveweapon : MonoBehaviour
/// <exception cref="NotImplementedException"></exception>
protected string Getmicdata()
{
Debug.Log("上传位置");
//Debug.Log("上传位置");
return string.Format("{0},{1},{2},{3},{4}","Micow", equipment.deviceID, miceopos.transform.position.x,miceopos.transform.position.y,miceopos.transform.position.z);
}

View File

@ -125,12 +125,12 @@ public class DeviceManager : MonoSingleton<DeviceManager>
public void GetSend2roomMsg(string data)
{
data = data.Replace("send2room", "");
Debug.LogError("设备..:" + data);
//Debug.LogError("设备..:" + data);
string[] info = data.Split(',');
foreach (string s in info)
{
Debug.LogError(s);
}
//foreach (string s in info)
//{
// Debug.LogError(s);
//}
if (info.Length < 2) return;
EquipmentCommon equipmentCommon = devices.Find(x => x.deviceID == info[1]);