Compare commits
2 Commits
af6c663b98
...
6c9c44dabc
Author | SHA1 | Date |
---|---|---|
|
6c9c44dabc | |
|
d8dae166d9 |
|
@ -832,7 +832,8 @@ public class UnmannedAerialVehicleManage : MonoBehaviour
|
||||||
isMove = false;
|
isMove = false;
|
||||||
Vector3 _positions = positions.Dequeue();
|
Vector3 _positions = positions.Dequeue();
|
||||||
var nowData = GetSyncData(_positions);
|
var nowData = GetSyncData(_positions);
|
||||||
_ = SyncCreateRoom.SendMessageAsync(string.Format("send2room {0}", nowData));
|
//_ = SyncCreateRoom.SendMessageAsync(string.Format("send2room {0}", nowData));
|
||||||
|
DeviceManager.Instance.send2roomStr.Enqueue(nowData);
|
||||||
StartCoroutine(MoveObjectAlongPath(_positions)); // 启动协程,按规划的路线移动物体
|
StartCoroutine(MoveObjectAlongPath(_positions)); // 启动协程,按规划的路线移动物体
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue