去除debug
This commit is contained in:
parent
87fcfeb2e5
commit
8f07e6c5d6
|
@ -381,7 +381,7 @@ GameObject:
|
||||||
m_Icon: {fileID: 0}
|
m_Icon: {fileID: 0}
|
||||||
m_NavMeshLayer: 0
|
m_NavMeshLayer: 0
|
||||||
m_StaticEditorFlags: 0
|
m_StaticEditorFlags: 0
|
||||||
m_IsActive: 1
|
m_IsActive: 0
|
||||||
--- !u!4 &8245684177115831463
|
--- !u!4 &8245684177115831463
|
||||||
Transform:
|
Transform:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
|
|
@ -140,7 +140,7 @@ public class Microwaveweapon : MonoBehaviour
|
||||||
while (true)
|
while (true)
|
||||||
{
|
{
|
||||||
yield return new WaitForSeconds(microwtimer);
|
yield return new WaitForSeconds(microwtimer);
|
||||||
Debug.LogError("攻击了");
|
//Debug.LogError("攻击了");
|
||||||
//if (microwtimer>0&&miceopos!=null)
|
//if (microwtimer>0&&miceopos!=null)
|
||||||
if (miceopos!=null)
|
if (miceopos!=null)
|
||||||
{
|
{
|
||||||
|
@ -157,7 +157,7 @@ public class Microwaveweapon : MonoBehaviour
|
||||||
/// <exception cref="NotImplementedException"></exception>
|
/// <exception cref="NotImplementedException"></exception>
|
||||||
protected string Getmicdata()
|
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);
|
return string.Format("{0},{1},{2},{3},{4}","Micow", equipment.deviceID, miceopos.transform.position.x,miceopos.transform.position.y,miceopos.transform.position.z);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -125,12 +125,12 @@ public class DeviceManager : MonoSingleton<DeviceManager>
|
||||||
public void GetSend2roomMsg(string data)
|
public void GetSend2roomMsg(string data)
|
||||||
{
|
{
|
||||||
data = data.Replace("send2room", "");
|
data = data.Replace("send2room", "");
|
||||||
Debug.LogError("设备..:" + data);
|
//Debug.LogError("设备..:" + data);
|
||||||
string[] info = data.Split(',');
|
string[] info = data.Split(',');
|
||||||
foreach (string s in info)
|
//foreach (string s in info)
|
||||||
{
|
//{
|
||||||
Debug.LogError(s);
|
// Debug.LogError(s);
|
||||||
}
|
//}
|
||||||
if (info.Length < 2) return;
|
if (info.Length < 2) return;
|
||||||
|
|
||||||
EquipmentCommon equipmentCommon = devices.Find(x => x.deviceID == info[1]);
|
EquipmentCommon equipmentCommon = devices.Find(x => x.deviceID == info[1]);
|
||||||
|
|
Loading…
Reference in New Issue