神兵页面修改

xiyou_yueNanZhengshi
PC-202302260912\Administrator 2024-11-27 18:31:17 +08:00
parent 8dfddfe93a
commit 2a1a84344f
2 changed files with 23 additions and 23 deletions

View File

@ -1791,8 +1791,8 @@ RectTransform:
- {fileID: 4269303393288223542}
- {fileID: 7365320709105385087}
- {fileID: 7119768974377897852}
- {fileID: 5454201514593373745}
- {fileID: 1432564788352834935}
- {fileID: 5454201514593373745}
- {fileID: 522265651818655610}
m_Father: {fileID: 3100635414053867749}
m_RootOrder: 1
@ -2549,18 +2549,18 @@ RectTransform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1565931253627806369}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalRotation: {x: 0, y: 0, z: 0.7071068, w: 0.7071068}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 0.9999203, y: 0.9999203, z: 0.9999203}
m_Children:
- {fileID: 5252830086197940252}
m_Father: {fileID: 9208735843499298522}
m_RootOrder: 6
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_RootOrder: 7
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 90}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -356, y: 277.5}
m_SizeDelta: {x: 90, y: 342.39}
m_AnchoredPosition: {x: 8, y: -128.1}
m_SizeDelta: {x: 90, y: 400}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &989008980080750225
CanvasRenderer:
@ -2944,7 +2944,7 @@ RectTransform:
- {fileID: 4767030315970853823}
- {fileID: 2272038587074511617}
m_Father: {fileID: 9208735843499298522}
m_RootOrder: 7
m_RootOrder: 6
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 0}
@ -3936,8 +3936,8 @@ RectTransform:
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: -4.9, y: -36}
m_SizeDelta: {x: 64.57, y: 22.01}
m_AnchoredPosition: {x: 0.00000453, y: -37.81}
m_SizeDelta: {x: 140, y: 25.63}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &5249522615219112361
CanvasRenderer:
@ -3960,7 +3960,7 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 0.7254902, g: 0.6745098, b: 0.5921569, a: 1}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 0
m_OnCullStateChanged:
m_PersistentCalls:
@ -3977,7 +3977,7 @@ MonoBehaviour:
m_Alignment: 1
m_AlignByGeometry: 0
m_RichText: 1
m_HorizontalOverflow: 1
m_HorizontalOverflow: 0
m_VerticalOverflow: 1
m_LineSpacing: 1
m_Text: "\u971E\u5149"
@ -4463,7 +4463,7 @@ RectTransform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5435107760440187052}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalRotation: {x: -0, y: -0, z: -0.7071068, w: 0.7071068}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
@ -4472,8 +4472,8 @@ RectTransform:
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: 0.00001049, y: -27.5}
m_SizeDelta: {x: 42.44, y: 217.55}
m_AnchoredPosition: {x: -0.6, y: -4.69}
m_SizeDelta: {x: 334.35, y: 91.08}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &6417838727945099559
CanvasRenderer:
@ -4510,7 +4510,7 @@ MonoBehaviour:
m_BestFit: 0
m_MinSize: 0
m_MaxSize: 50
m_Alignment: 4
m_Alignment: 3
m_AlignByGeometry: 0
m_RichText: 1
m_HorizontalOverflow: 0
@ -5359,7 +5359,7 @@ RectTransform:
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: -3.8, y: 20}
m_AnchoredPosition: {x: -3.8, y: 34.9}
m_SizeDelta: {x: 69, y: 69}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &3865184907186740080
@ -5853,7 +5853,7 @@ RectTransform:
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: -2.73, y: 11.17}
m_AnchoredPosition: {x: -2.73, y: 25.2}
m_SizeDelta: {x: 77.76, y: 166.45}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &2135589109423993572
@ -7212,8 +7212,8 @@ RectTransform:
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: -4.9, y: -36}
m_SizeDelta: {x: 64.57, y: 22.01}
m_AnchoredPosition: {x: 0, y: -29.17}
m_SizeDelta: {x: 140, y: 47.77}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &5629361465742109342
CanvasRenderer:
@ -7236,7 +7236,7 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 0.7254902, g: 0.6745098, b: 0.5921569, a: 1}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 0
m_OnCullStateChanged:
m_PersistentCalls:
@ -7253,7 +7253,7 @@ MonoBehaviour:
m_Alignment: 1
m_AlignByGeometry: 0
m_RichText: 1
m_HorizontalOverflow: 1
m_HorizontalOverflow: 0
m_VerticalOverflow: 1
m_LineSpacing: 1
m_Text: "\u971E\u5149"

View File

@ -68,7 +68,7 @@ end
function this.GetShowPanelData()
local pokemonSData = ConfigManager.GetConfigData(ConfigName.ShenBing, pokemonBackData.tempId)
this.heroName.text = GetStringByEquipQua(pokemonSData.Quality, GetLanguageStrById(pokemonSData.Name))
SetTextVerTial(this.heroName, Vector3.New(96.87, 0, 0))
--SetTextVerTial(this.heroName, Vector3.New(96.87, 0, 0))
----this.ShowPokemonLive(pokemonSData)
this.liveRoot.sprite = this.spLoader:LoadSprite(GetResourcePath(pokemonSData.Icon))
--星级
@ -117,7 +117,7 @@ end
function this.NoGetShowPanelData()
local pokemonSData = ConfigManager.GetConfigData(ConfigName.ShenBing, pokemonSid)
this.heroName.text = GetStringByEquipQua(pokemonSData.Quality, GetLanguageStrById(pokemonSData.Name))
SetTextVerTial(this.heroName, Vector3.New(96.87, 0, 0))
--SetTextVerTial(this.heroName, Vector3.New(96.87, 0, 0))
this.liveRoot.sprite = this.spLoader:LoadSprite(GetResourcePath(pokemonSData.Icon))
--星级
PokemonManager.SetHeroStars(this.spLoader, this.starGrid, pokemonSData.MaxStar, 2, Vector2.New(60, 60))