伟大航路UI
parent
18a9a7cbcd
commit
3aba3f4bee
|
|
@ -1966,6 +1966,117 @@ MonoBehaviour:
|
|||
m_EffectColor: {r: 0.1254902, g: 0.027450982, b: 0.03529412, a: 1}
|
||||
m_EffectDistance: {x: 1, y: -1}
|
||||
m_UseGraphicAlpha: 1
|
||||
--- !u!1 &4284418777292211242
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 7162620916745581414}
|
||||
- component: {fileID: 6486017028034272289}
|
||||
- component: {fileID: 3873118809133870292}
|
||||
- component: {fileID: 192760128354121307}
|
||||
- component: {fileID: 1914947997647204652}
|
||||
m_Layer: 5
|
||||
m_Name: Text
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &7162620916745581414
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4284418777292211242}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 1329782309878676808}
|
||||
m_RootOrder: 0
|
||||
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: -19, y: 63}
|
||||
m_SizeDelta: {x: 600, y: 200}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &6486017028034272289
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4284418777292211242}
|
||||
m_CullTransparentMesh: 0
|
||||
--- !u!114 &3873118809133870292
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4284418777292211242}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Material: {fileID: 0}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_RaycastTarget: 1
|
||||
m_OnCullStateChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
|
||||
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
m_FontData:
|
||||
m_Font: {fileID: 12800000, guid: be22547d075a3fa439f78ce38cdb4beb, type: 3}
|
||||
m_FontSize: 100
|
||||
m_FontStyle: 2
|
||||
m_BestFit: 0
|
||||
m_MinSize: 1
|
||||
m_MaxSize: 100
|
||||
m_Alignment: 4
|
||||
m_AlignByGeometry: 0
|
||||
m_RichText: 1
|
||||
m_HorizontalOverflow: 0
|
||||
m_VerticalOverflow: 0
|
||||
m_LineSpacing: 1
|
||||
m_Text: "\u4F1F\u5927\u822A\u8DEF"
|
||||
--- !u!114 &192760128354121307
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4284418777292211242}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: -900027084, guid: f70555f144d8491a825f0804e09c671c, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_EffectColor: {r: 0.6392157, g: 0.79215693, b: 0.854902, a: 1}
|
||||
m_EffectDistance: {x: 3, y: -3}
|
||||
m_UseGraphicAlpha: 1
|
||||
--- !u!114 &1914947997647204652
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4284418777292211242}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 1573420865, guid: f70555f144d8491a825f0804e09c671c, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_EffectColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
m_EffectDistance: {x: 1, y: -10.65}
|
||||
m_UseGraphicAlpha: 1
|
||||
--- !u!1 &4918942823368355812
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
@ -2560,13 +2671,14 @@ RectTransform:
|
|||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children: []
|
||||
m_Children:
|
||||
- {fileID: 7162620916745581414}
|
||||
m_Father: {fileID: 6039495253487302433}
|
||||
m_RootOrder: 1
|
||||
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, y: 808}
|
||||
m_AnchoredPosition: {x: 3, y: 713}
|
||||
m_SizeDelta: {x: 630, y: 244}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &5121610699126044405
|
||||
|
|
@ -2584,7 +2696,7 @@ MonoBehaviour:
|
|||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6346165074287100347}
|
||||
m_Enabled: 1
|
||||
m_Enabled: 0
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3}
|
||||
m_Name:
|
||||
|
|
@ -2715,7 +2827,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: -322, y: -70}
|
||||
m_AnchoredPosition: {x: -222, y: -70}
|
||||
m_SizeDelta: {x: 503.85, y: 129.6}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &2129073551700837811
|
||||
|
|
@ -2753,13 +2865,13 @@ MonoBehaviour:
|
|||
m_BestFit: 0
|
||||
m_MinSize: 1
|
||||
m_MaxSize: 100
|
||||
m_Alignment: 4
|
||||
m_Alignment: 3
|
||||
m_AlignByGeometry: 0
|
||||
m_RichText: 1
|
||||
m_HorizontalOverflow: 0
|
||||
m_VerticalOverflow: 0
|
||||
m_LineSpacing: 1
|
||||
m_Text: "\u53CC\u4EBA\u8BD5\u70BC"
|
||||
m_Text: "\u4F1F\u5927\u822A\u8DEF\u524D\u6BB5 "
|
||||
--- !u!114 &1183499131475463891
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
@ -3515,7 +3627,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: -322, y: -70}
|
||||
m_AnchoredPosition: {x: -226, y: -70}
|
||||
m_SizeDelta: {x: 503.85, y: 129.6}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &451581037326680055
|
||||
|
|
@ -3553,13 +3665,13 @@ MonoBehaviour:
|
|||
m_BestFit: 0
|
||||
m_MinSize: 1
|
||||
m_MaxSize: 100
|
||||
m_Alignment: 4
|
||||
m_Alignment: 3
|
||||
m_AlignByGeometry: 0
|
||||
m_RichText: 1
|
||||
m_HorizontalOverflow: 0
|
||||
m_VerticalOverflow: 0
|
||||
m_LineSpacing: 1
|
||||
m_Text: "\u53CC\u4EBA\u8BD5\u70BC"
|
||||
m_Text: "\u4F1F\u5927\u822A\u8DEF\u540E\u6BB5"
|
||||
--- !u!114 &4763604762951971320
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
|
|
@ -538,7 +538,7 @@ function this.SetCardSingleData(o, heroId, _pos, _heroData)
|
|||
local liveName = heroData.painting
|
||||
local roleConfig = {}
|
||||
local toward=0
|
||||
local star,starType = heroData.GetStar()
|
||||
local star,starType = heroData.GetStar(3)
|
||||
local level=heroData.lv
|
||||
if panelType == FORMATION_TYPE.WORLDARENA then
|
||||
star=endLess[heroData.heroConfig.Id].Star
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ function GodsWayTowerPanel:InitComponent()
|
|||
local rootHight = this.grid.transform.rect.height
|
||||
local width = this.grid.transform.rect.width
|
||||
this.scrollView = SubUIManager.Open(SubUIConfig.ScrollCycleView,this.grid.transform,
|
||||
this.pre, nil, Vector2.New(width, rootHight), 1, 2, Vector2.New(200, -15))
|
||||
this.pre, nil, Vector2.New(width, rootHight), 1, 1, Vector2.New(0, 0))
|
||||
this.scrollView.moveTween.MomentumAmount = 1
|
||||
this.scrollView.moveTween.Strength = 2
|
||||
-- 挂机奖励
|
||||
|
|
@ -218,9 +218,9 @@ function GodsWayTowerPanel:OnShow()
|
|||
this.moppingUpBtn:SetActive(curFloor~=0)
|
||||
storeDataId,itemId,costNum = GodsWayTowerManager.GetCost(curType)
|
||||
if curType==1 then
|
||||
this.titleText.text = "双队试炼"
|
||||
this.titleText.text = "伟大航路前段"
|
||||
else
|
||||
this.titleText.text = "三队试炼"
|
||||
this.titleText.text = "伟大航路后段"
|
||||
end
|
||||
--this.canFightWaves.text = "可挑战层数:"..trailData.canFightTime
|
||||
this.canFightWaves.gameObject:SetActive(false)
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ local tabs = {
|
|||
-- rpType = RedPointType.Equip_Fetter,funcType = FUNCTION_OPEN_TYPE.COMPOUND,bg = "t_tianshumijuan_shengjiangditu",zi = "t_tianshumijuan_zhuangbeipian_zi_zh",
|
||||
-- },
|
||||
[5] = { --神兵
|
||||
default = "r_hero_xuanze_002", lock = "r_hero_xuanze_002", select = "r_hero_xuanze_001",tabName = "神兵篇",
|
||||
default = "r_hero_xuanze_002", lock = "r_hero_xuanze_002", select = "r_hero_xuanze_001",tabName = "名刀篇",
|
||||
rpType = RedPointType.Weapon_Fetter,funcType = FUNCTION_OPEN_TYPE.POKEMON,bg = "UI_hz_zhonghe05_71",zi = "GodWeaponAtlas_handbook_title_zh",
|
||||
},
|
||||
}
|
||||
|
|
|
|||
|
|
@ -233,14 +233,14 @@ function GodsWaySingleSingleWave:SingleHeroDataShow(go,monConfig,heroData,index,
|
|||
Util.GetGameObject(go,"yuanImage"):SetActive(false)
|
||||
Util.GetGameObject(go,"hpProgress"):SetActive(false)
|
||||
Util.GetGameObject(go,"rageProgress"):SetActive(false)
|
||||
frame.sprite=self.spLoader:LoadSprite(GetHeroCardStarBg[monConfig.Star])
|
||||
local liveName = heroData.live
|
||||
--frame.sprite=self.spLoader:LoadSprite(GetHeroCardStarBg[monConfig.Star])
|
||||
local liveName = heroData.painting
|
||||
local roleConfig = ConfigManager.GetConfigData(ConfigName.RoleConfig, heroData.heroConfig.Id)
|
||||
local scale = roleConfig.play_liveScale
|
||||
local livePos = Vector3.New(roleConfig.offset[1], roleConfig.offset[2], 0)
|
||||
local heroIndex=(self.data.wave-1)*len+index
|
||||
--LogError("self.data.wave=="..self.data.wave.." index=="..index.." heroindex=="..heroIndex)
|
||||
--icon.texture = CardRendererManager.GetSpineTexture((self.data.wave%6 == 0 and 12 or (self.data.wave%6 + 6)), liveName, Vector3.one * scale, livePos, true)
|
||||
local livePos = Vector3.New(roleConfig.offset[1], roleConfig.offset[2]+50, 0)
|
||||
icon.texture = CardRendererManager.GetSpineTexture(heroIndex%12==0 and 12 or heroIndex%12, liveName, Vector3.one * scale, livePos, true)
|
||||
icon.transform.localScale = Vector3.one
|
||||
icon.transform.localPosition = Vector3.zero
|
||||
|
|
|
|||
Loading…
Reference in New Issue