Compare commits

..

No commits in common. "db33ed650496d2dc885cf49c8c71a59d4d98fee3" and "9345718457a8f88a18a9d3d69c1f9d03ff366535" have entirely different histories.

3 changed files with 9 additions and 2 deletions

View File

@ -33,10 +33,11 @@ public class DragController : MonoBehaviour, IBeginDragHandler, IEndDragHandler,
} }
} }
public void OnEndDrag(PointerEventData eventData) public async 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,6 +92,10 @@ public class GameManager : MonoBehaviour
tenkokuModule.mainCamera = spt.transform; tenkokuModule.mainCamera = spt.transform;
} }
public void Start() public void Start()
{ {
SetWeatherValue(); SetWeatherValue();
@ -101,6 +105,8 @@ 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);
} }