This commit is contained in:
parent
f203a84fb2
commit
0fd0f87d8c
|
@ -162,7 +162,6 @@ public class GameManager : MonoSingleton<GameManager>
|
|||
{
|
||||
SetWeatherValue();
|
||||
SetModelValue();
|
||||
|
||||
string msg = "getroomusers ";
|
||||
_ = SyncCreateRoom.SendMessageAsync(msg);
|
||||
}
|
||||
|
@ -175,7 +174,6 @@ public class GameManager : MonoSingleton<GameManager>
|
|||
Ray ray = Camera.main.ScreenPointToRay(Input.mousePosition);
|
||||
RaycastHit hitInfo;
|
||||
if (Physics.Raycast(ray, out hitInfo, 1000))
|
||||
|
||||
{
|
||||
if (hitInfo.collider.tag == "WRJ")
|
||||
{
|
||||
|
|
|
@ -135,6 +135,7 @@ public class EquipmentCommon : MonoBehaviour
|
|||
replaceInfoDic.Add("r1", $"{transform.position.x},{transform.position.y},{transform.position.z},{transform.eulerAngles.x},{transform.eulerAngles.y},{transform.eulerAngles.z}");
|
||||
if (gameObject.GetComponent<UnmannedAerialVehicleManage>())
|
||||
replaceInfoDic.Add("r2", ((int)gameObject.GetComponent<UnmannedAerialVehicleManage>().wrjModel).ToString());
|
||||
//replaceInfoDic.Add("r3",);
|
||||
StartCoroutine(AsyncWebReq.PostData2(Url_AddDeviceAndGetDeviceId, replaceInfoDic, ResultsInfo =>
|
||||
{
|
||||
ReturnDeviceID returnID = JsonConvert.DeserializeObject<ReturnDeviceID>(ResultsInfo);
|
||||
|
|
Loading…
Reference in New Issue