去除|
This commit is contained in:
parent
015cd95de2
commit
1b5d1407b6
|
@ -236,7 +236,7 @@ MonoBehaviour:
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
isLinkAgain: 0
|
isLinkAgain: 0
|
||||||
serverIP: 127.0.0.1
|
serverIP: 172.20.10.5
|
||||||
port: 12345
|
port: 12345
|
||||||
--- !u!4 &2132962759
|
--- !u!4 &2132962759
|
||||||
Transform:
|
Transform:
|
||||||
|
|
|
@ -92,7 +92,8 @@ public class EquipmentCommon : MonoBehaviour
|
||||||
if (equipmentCommon)
|
if (equipmentCommon)
|
||||||
{
|
{
|
||||||
string paraListJson = JsonConvert.SerializeObject(weaponitemone);
|
string paraListJson = JsonConvert.SerializeObject(weaponitemone);
|
||||||
ReturnDeviceID returnID = await AsyncWebReq.Post<ReturnDeviceID>("http://111.229.30.246:48888/Handler/Thinkingfile.ashx?action=addpracticedevicedetail&PracticeId=" + GlobalFlag.roomID + "&PracticeSubjectId=" + GlobalFlag.practiceSubjectID + "&device_name=" + equipmentCommon.equipmentType + "¶_list=" + paraListJson, null);
|
string jsonData = paraListJson.Replace("\\", "");
|
||||||
|
ReturnDeviceID returnID = await AsyncWebReq.Post<ReturnDeviceID>("http://111.229.30.246:48888/Handler/Thinkingfile.ashx?action=addpracticedevicedetail&PracticeId=" + GlobalFlag.roomID + "&PracticeSubjectId=" + GlobalFlag.practiceSubjectID + "&device_name=" + equipmentCommon.equipmentType + "¶_list=" + jsonData, null);
|
||||||
|
|
||||||
string msg = $"send2room {equipmentCommon.equipmentType}+{transform.position.ToString().Replace(" ", "").Replace("(", "").Replace(")", "")}+{transform.eulerAngles.ToString().Replace(" ", "").Replace("(", "").Replace(")", "") + "," + returnID.data}";
|
string msg = $"send2room {equipmentCommon.equipmentType}+{transform.position.ToString().Replace(" ", "").Replace("(", "").Replace(")", "")}+{transform.eulerAngles.ToString().Replace(" ", "").Replace("(", "").Replace(")", "") + "," + returnID.data}";
|
||||||
Debug.Log(returnID.data);
|
Debug.Log(returnID.data);
|
||||||
|
|
Loading…
Reference in New Issue