修改数据格式
This commit is contained in:
parent
db33ed6504
commit
bbd6889f3e
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue