Merge branch 'master' of http://git.umayle.com:2023/yulong/NewN_UAVPlane
This commit is contained in:
commit
4a171571f3
|
@ -832,7 +832,8 @@ public class UnmannedAerialVehicleManage : MonoBehaviour
|
|||
isMove = false;
|
||||
Vector3 _positions = positions.Dequeue();
|
||||
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)); // 启动协程,按规划的路线移动物体
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue