장비 슬롯 UI
This commit is contained in:
parent
5dfd856f5d
commit
58696a1562
|
|
@ -95,7 +95,6 @@ messageinfo 엄청 느린 버그
|
|||
- 맵1처럼 부분 분할 필요
|
||||
- 기본 컬러 94,94,94
|
||||
|
||||
pc 애님 (캐스팅 추가)
|
||||
|
||||
테스트씬 만들기 (모험 버튼 위에 테스트 버튼)
|
||||
장비 슬롯 UI
|
||||
pc 애님 (캐스팅 추가)
|
||||
보스 스킬 이펙트
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue