设置页面,调些细节

This commit is contained in:
Caiyanpeng committed 2021-04-21 11:19:31 +08:00
1 parent 4896fab824
commit bb4fabc833
23 files changed
+5528 -1756

No files matched your search

+1 -2
View File
@@ -59,9 +59,8 @@ public class MapItem : MonoBehaviour, IPointerExitHandler, IPointerEnterHandler
// //transform.localPosition.Set(transform.localPosition.x, localY.Value, transform.localPosition.z);
// //transform.DOLocalMoveY(localY.Value, 0.5f);
//});
transform.GetComponent<Button>().onClick.AddListener(() =>
transform.GetComponent<Button>().onClick.AddListener(() =>
{
Debug.Log(123);
UIManager.ShowMapDetailPanel(myMap.Id);
});
transform.Find("Name").GetComponent<Text>().text = myMap.Name;