修改数据格式

This commit is contained in:
YangHua 2023-11-20 18:07:33 +08:00
parent db33ed6504
commit bbd6889f3e
1 changed files with 1 additions and 1 deletions

View File

@ -216,7 +216,7 @@ public class UnmannedAerialVehicleManage : MonoBehaviour
{ {
if (equipmentCommon) if (equipmentCommon)
{ {
string msg = $"send2room {equipmentCommon.equipmentType}+{transform.position}+{transform.eulerAngles}"; string msg = $"send2room {equipmentCommon.equipmentType}+{transform.position.ToString().Replace(" ","")}+{transform.eulerAngles.ToString().Replace(" ", "")}";
Debug.Log(msg); Debug.Log(msg);
_ = SyncCreateRoom.SendMessageAsync(msg); _ = SyncCreateRoom.SendMessageAsync(msg);
} }