Compare commits
No commits in common. "a045a710dbff5c95c8aefc4ac9c88d75ca8f9c41" and "3d4eeadda335c5f1bb84ab33c699aa0e96612a6d" have entirely different histories.
a045a710db
...
3d4eeadda3
Binary file not shown.
|
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.2 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 4.1 KiB |
|
|
@ -339,8 +339,8 @@ RectTransform:
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
m_AnchoredPosition: {x: 98.1, y: 21}
|
m_AnchoredPosition: {x: 98.9, y: 10.4}
|
||||||
m_SizeDelta: {x: 269, y: 85}
|
m_SizeDelta: {x: 267, y: 74}
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
--- !u!222 &1750993385045414421
|
--- !u!222 &1750993385045414421
|
||||||
CanvasRenderer:
|
CanvasRenderer:
|
||||||
|
|
|
||||||
|
|
@ -26,22 +26,19 @@ public class CityPanel : MonoBehaviour
|
||||||
{
|
{
|
||||||
if (isok)
|
if (isok)
|
||||||
{
|
{
|
||||||
Application.ExternalCall("ClickCustom",result);
|
Debug.Log(result);
|
||||||
Debug.Log("调前端进入关区"+ custCodes);
|
JsonData data = JsonMapper.ToObject(result);
|
||||||
|
var tmp = data["data"];
|
||||||
//生成企业模型
|
foreach (JsonData item in tmp)
|
||||||
//JsonData data = JsonMapper.ToObject(result);
|
{
|
||||||
//var tmp = data["data"];
|
v_model_version v= JsonMapper.ToObject<v_model_version>(item.ToJson());
|
||||||
//foreach (JsonData item in tmp)
|
if (ModelItem.modelItemPrefb == null)
|
||||||
//{
|
{
|
||||||
// v_model_version v= JsonMapper.ToObject<v_model_version>(item.ToJson());
|
ModelItem.modelItemPrefb = Resources.Load<GameObject>("prefeb/modelItem");
|
||||||
// if (ModelItem.modelItemPrefb == null)
|
}
|
||||||
// {
|
GameObject go = Instantiate<GameObject>(ModelItem.modelItemPrefb, transform);
|
||||||
// ModelItem.modelItemPrefb = Resources.Load<GameObject>("prefeb/modelItem");
|
go.GetComponent<ModelItem>().Init(v,GetComponent<RectTransform>());
|
||||||
// }
|
}
|
||||||
// GameObject go = Instantiate<GameObject>(ModelItem.modelItemPrefb, transform);
|
|
||||||
// go.GetComponent<ModelItem>().Init(v,GetComponent<RectTransform>());
|
|
||||||
//}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
||||||
|
|
@ -67,8 +67,6 @@ public class FirstPanel : MonoBehaviour
|
||||||
{
|
{
|
||||||
a.SetNoChoseState();
|
a.SetNoChoseState();
|
||||||
});
|
});
|
||||||
Application.ExternalCall("ClickCustom", "");
|
|
||||||
Debug.Log("调前端回到首页");
|
|
||||||
});
|
});
|
||||||
|
|
||||||
//初始化
|
//初始化
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue