From 58696a1562ff45ba4b2729852ed0edca26238c33 Mon Sep 17 00:00:00 2001 From: Ino Date: Fri, 28 Mar 2025 16:39:43 +0900 Subject: [PATCH] =?UTF-8?q?=EC=9E=A5=EB=B9=84=20=EC=8A=AC=EB=A1=AF=20UI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/Ino_nerdnavis.txt | 5 ++--- Assets/Res_Addr/MainUI/NewGameUI.prefab | 6 +++--- Assets/Script/UI/Eqiupment/EquipmentItemPopup.cs | 9 ++++++++- 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/Assets/Ino_nerdnavis.txt b/Assets/Ino_nerdnavis.txt index a8f4e277e..f1d0d831e 100644 --- a/Assets/Ino_nerdnavis.txt +++ b/Assets/Ino_nerdnavis.txt @@ -95,7 +95,6 @@ messageinfo 엄청 느린 버그 - 맵1처럼 부분 분할 필요 - 기본 컬러 94,94,94 -pc 애님 (캐스팅 추가) - 테스트씬 만들기 (모험 버튼 위에 테스트 버튼) -장비 슬롯 UI +pc 애님 (캐스팅 추가) +보스 스킬 이펙트 diff --git a/Assets/Res_Addr/MainUI/NewGameUI.prefab b/Assets/Res_Addr/MainUI/NewGameUI.prefab index 3fb61fdf9..6e8671a78 100644 --- a/Assets/Res_Addr/MainUI/NewGameUI.prefab +++ b/Assets/Res_Addr/MainUI/NewGameUI.prefab @@ -27171,9 +27171,9 @@ RectTransform: - {fileID: 3347043973186358126} m_Father: {fileID: 8100369104258755438} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 561.19, y: -84.75} + m_AnchorMin: {x: 1, y: 0.5} + m_AnchorMax: {x: 1, y: 0.5} + m_AnchoredPosition: {x: -398.81, y: -84.75} m_SizeDelta: {x: 623.62, y: 838.81} m_Pivot: {x: 0.5, y: 0.5} --- !u!222 &1023873313136047122 diff --git a/Assets/Script/UI/Eqiupment/EquipmentItemPopup.cs b/Assets/Script/UI/Eqiupment/EquipmentItemPopup.cs index 781e0b03b..e61fa1fa7 100644 --- a/Assets/Script/UI/Eqiupment/EquipmentItemPopup.cs +++ b/Assets/Script/UI/Eqiupment/EquipmentItemPopup.cs @@ -13,6 +13,13 @@ public class EquipmentItemPopup : EquipmentPopupItemInfoBase EquipmentSlotUpgradeTableData m_ESUTD; EquipItemData m_EquipItemData = new EquipItemData(); + Vector2 v3_childpos; + + protected override void Awake() + { + base.Awake(); + v3_childpos = m_childrect.anchoredPosition; + } public override void Set(EquipmentListTableData data) { @@ -82,6 +89,6 @@ public class EquipmentItemPopup : EquipmentPopupItemInfoBase public void Set_Position(bool right) { // 위치 조절 (좌우) - m_childrect.anchoredPosition = right ? new Vector2(545.5f, -84.75f) : new Vector2(-545.5f, -84.75f); + m_childrect.anchoredPosition = right ? v3_childpos : new Vector2(v3_childpos.x - m_childrect.sizeDelta.x, v3_childpos.y); } } \ No newline at end of file