Compare commits

...

3 Commits

Author SHA1 Message Date
YangHua db33ed6504 修改数据格式 2023-11-20 17:59:24 +08:00
YangHua b6b6b29751 Merge branch 'master' of http://git.umayle.com:2023/yulong/NewN_UAVPlane 2023-11-20 17:45:14 +08:00
YangHua 1a194fa370 1 2023-11-20 17:45:05 +08:00
3 changed files with 2 additions and 9 deletions

View File

@ -33,11 +33,10 @@ public class DragController : MonoBehaviour, IBeginDragHandler, IEndDragHandler,
} }
} }
public async void OnEndDrag(PointerEventData eventData) public void OnEndDrag(PointerEventData eventData)
{ {
if (model != null) if (model != null)
{ {
model.GetComponent<EquipmentCommon>().isStartRehearsing = GlobalFlag.isStartRehearsing; model.GetComponent<EquipmentCommon>().isStartRehearsing = GlobalFlag.isStartRehearsing;
List<List_paraItem> temp = UIBootstrap.Instance.GetListParaItemById(deviceID); List<List_paraItem> temp = UIBootstrap.Instance.GetListParaItemById(deviceID);

View File

@ -92,10 +92,6 @@ public class GameManager : MonoBehaviour
tenkokuModule.mainCamera = spt.transform; tenkokuModule.mainCamera = spt.transform;
} }
public void Start() public void Start()
{ {
SetWeatherValue(); SetWeatherValue();
@ -105,8 +101,6 @@ public class GameManager : MonoBehaviour
} }
public void OnOtherPlayerOnline(string msg) public void OnOtherPlayerOnline(string msg)
{ {
StopCoroutine(WaitSpawn(msg)); StopCoroutine(WaitSpawn(msg));

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}+{transform.eulerAngles}";
Debug.Log(msg); Debug.Log(msg);
_ = SyncCreateRoom.SendMessageAsync(msg); _ = SyncCreateRoom.SendMessageAsync(msg);
} }