调整位置

This commit is contained in:
DESKTOP-SAJ6RKV\Administrator 2025-06-04 06:27:01 +08:00
parent 5687610028
commit 5675f151b4
2 changed files with 2 additions and 2 deletions

View File

@ -107,7 +107,7 @@ 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: -9.9, y: 331.8} m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 100, y: 100} m_SizeDelta: {x: 100, y: 100}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &9127987029771401410 --- !u!114 &9127987029771401410

View File

@ -480,7 +480,7 @@ namespace GameLogic
var jiaRuItem = GameObject.Instantiate(m_rect_GiftPanel.transform.GetChild(1)); var jiaRuItem = GameObject.Instantiate(m_rect_GiftPanel.transform.GetChild(1));
jiaRuItem.transform.SetParent(m_rect_GiftPanel); jiaRuItem.transform.SetParent(m_rect_GiftPanel);
jiaRuItem.transform.localScale = Vector3.one; jiaRuItem.transform.localScale = Vector3.one;
jiaRuItem.transform.localPosition = Vector3.zero; jiaRuItem.transform.localPosition = new Vector3(350,0,0);
jiaRuItem.gameObject.SetActive(true); jiaRuItem.gameObject.SetActive(true);
jiaRuItem.GetComponent<UIJiaRuItem>().OnInit(unitPlayerData); jiaRuItem.GetComponent<UIJiaRuItem>().OnInit(unitPlayerData);