图鉴修改提交
parent
0a26260692
commit
7d5efc523e
|
|
@ -2571,7 +2571,7 @@ RectTransform:
|
|||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 1, y: 1}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 0, y: 0}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
|
|
@ -4708,7 +4708,7 @@ RectTransform:
|
|||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 0, y: 0}
|
||||
m_AnchoredPosition: {x: 166.5, y: 0}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 0, y: 0}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!114 &5694755251873320187
|
||||
|
|
@ -5603,7 +5603,7 @@ RectTransform:
|
|||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 0, y: 0}
|
||||
m_AnchoredPosition: {x: 71, y: 0}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 0, y: 62.98}
|
||||
m_Pivot: {x: 0, y: 0}
|
||||
--- !u!222 &4590255205679847234
|
||||
|
|
@ -8577,10 +8577,10 @@ RectTransform:
|
|||
m_Father: {fileID: 7435143058469024522}
|
||||
m_RootOrder: 2
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 1, y: 1}
|
||||
m_AnchoredPosition: {x: 12, y: -120}
|
||||
m_SizeDelta: {x: -62.2, y: -229.9}
|
||||
m_AnchorMin: {x: 0.5, y: 0}
|
||||
m_AnchorMax: {x: 0.5, y: 1}
|
||||
m_AnchoredPosition: {x: 0, y: -120}
|
||||
m_SizeDelta: {x: 1080, y: -229.9}
|
||||
m_Pivot: {x: 0.5, y: 1}
|
||||
--- !u!222 &6527458355414288168
|
||||
CanvasRenderer:
|
||||
|
|
@ -8769,7 +8769,7 @@ GameObject:
|
|||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
m_IsActive: 0
|
||||
--- !u!224 &6436517551977973289
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
|
|||
|
|
@ -37,6 +37,7 @@ function HandBookHeroAndEquipListPanel:InitComponent()
|
|||
--英雄
|
||||
self.heroScroll = Util.GetGameObject(self.transform, "heroScroll")
|
||||
self.heroScrollbar = Util.GetGameObject(self.transform, "heroScrollbar")
|
||||
self.heroScrollbar.gameObject:SetActive(false)
|
||||
self.card = poolManager:LoadAsset("card", PoolManager.AssetType.GameObject)
|
||||
self.card.transform:SetParent(self.transform)
|
||||
self.card:GetComponent("RectTransform").localScale = Vector3.New(1,1,1)
|
||||
|
|
@ -51,6 +52,7 @@ function HandBookHeroAndEquipListPanel:InitComponent()
|
|||
self.heroprefab, Vector2.New(1080, rootHight - 10), 1, 17)
|
||||
sv.gameObject:GetComponent("RectTransform").anchoredPosition = Vector2.New(0, -5)
|
||||
-- 保存
|
||||
sv.moveTween.Strength = 5
|
||||
self.SystemScrollView = sv
|
||||
|
||||
--装备
|
||||
|
|
@ -145,7 +147,7 @@ function HandBookHeroAndEquipListPanel:OnShow()
|
|||
proId = 0
|
||||
if OpenType == 1 then
|
||||
self.heroScroll:SetActive(true)
|
||||
self.heroScrollbar:SetActive(true)
|
||||
self.heroScrollbar:SetActive(false)
|
||||
self.equipScroll:SetActive(false)
|
||||
self.equipScrollbar:SetActive(false)
|
||||
self.talismanScroll:SetActive(false)
|
||||
|
|
|
|||
Loading…
Reference in New Issue