UI优化
This commit is contained in:
parent
aca2c8ed50
commit
f7ba9db6be
@ -188,8 +188,8 @@ RectTransform:
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 1}
|
||||
m_AnchorMax: {x: 0, y: 1}
|
||||
m_AnchoredPosition: {x: 540, y: -1080}
|
||||
m_SizeDelta: {x: 1080, y: 1400}
|
||||
m_AnchoredPosition: {x: 540, y: -1087.5}
|
||||
m_SizeDelta: {x: 1080, y: 1405}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &8295664914584476733
|
||||
CanvasRenderer:
|
||||
@ -361,7 +361,7 @@ RectTransform:
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 1}
|
||||
m_AnchorMax: {x: 0, y: 1}
|
||||
m_AnchoredPosition: {x: 798, y: -700}
|
||||
m_AnchoredPosition: {x: 798, y: -702.5}
|
||||
m_SizeDelta: {x: 486, y: 1326}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!114 &2036402811117456168
|
||||
@ -2056,124 +2056,6 @@ MonoBehaviour:
|
||||
m_ChildScaleWidth: 0
|
||||
m_ChildScaleHeight: 0
|
||||
m_ReverseArrangement: 0
|
||||
--- !u!1 &613501645011733167
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 3533581197396514058}
|
||||
- component: {fileID: 217773562359464603}
|
||||
- component: {fileID: 5653700933324328458}
|
||||
- component: {fileID: 8882120811411720376}
|
||||
- component: {fileID: 7566283878613689133}
|
||||
m_Layer: 5
|
||||
m_Name: TextTime2
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 0
|
||||
--- !u!224 &3533581197396514058
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 613501645011733167}
|
||||
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_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 5870680027138997395}
|
||||
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: -10, y: 0}
|
||||
m_SizeDelta: {x: 200, y: 40}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &217773562359464603
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 613501645011733167}
|
||||
m_CullTransparentMesh: 0
|
||||
--- !u!114 &5653700933324328458
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 613501645011733167}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Material: {fileID: 0}
|
||||
m_Color: {r: 0.8396226, g: 0.7802154, b: 0.7802154, a: 1}
|
||||
m_RaycastTarget: 0
|
||||
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||
m_Maskable: 1
|
||||
m_OnCullStateChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_FontData:
|
||||
m_Font: {fileID: 12800000, guid: 90ed5292e87d8a64aac7038df97ece85, type: 3}
|
||||
m_FontSize: 28
|
||||
m_FontStyle: 0
|
||||
m_BestFit: 1
|
||||
m_MinSize: 2
|
||||
m_MaxSize: 28
|
||||
m_Alignment: 4
|
||||
m_AlignByGeometry: 0
|
||||
m_RichText: 1
|
||||
m_HorizontalOverflow: 0
|
||||
m_VerticalOverflow: 0
|
||||
m_LineSpacing: 1
|
||||
m_Text: "22\u65F620\u5206\u540E\u5237\u65B0"
|
||||
--- !u!114 &8882120811411720376
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 613501645011733167}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 3245ec927659c4140ac4f8d17403cc18, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_HorizontalFit: 2
|
||||
m_VerticalFit: 0
|
||||
--- !u!114 &7566283878613689133
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 613501645011733167}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 8759edc0b8b4b3d4aa8ffef2482e17ee, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
UIName:
|
||||
keys:
|
||||
- UnityEngine.RectTransform
|
||||
- UnityEngine.CanvasRenderer
|
||||
- UnityEngine.UI.Text
|
||||
- UnityEngine.UI.ContentSizeFitter
|
||||
- UINode
|
||||
values: 0000010000
|
||||
depObjs:
|
||||
- {fileID: 3386060703390850089}
|
||||
activeType: 0
|
||||
--- !u!1 &618589356233768804
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -5671,12 +5553,13 @@ RectTransform:
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 5889879491352048088}
|
||||
m_Children:
|
||||
- {fileID: 4314033248589623572}
|
||||
m_Father: {fileID: 6205560633638733897}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 1, y: 1}
|
||||
m_AnchorMax: {x: 1, y: 1}
|
||||
m_AnchoredPosition: {x: 0, y: -100}
|
||||
m_AnchorMin: {x: 1, y: 0}
|
||||
m_AnchorMax: {x: 1, y: 0}
|
||||
m_AnchoredPosition: {x: 0, y: 1785}
|
||||
m_SizeDelta: {x: 394, y: 548}
|
||||
m_Pivot: {x: 1, y: 1}
|
||||
--- !u!222 &5443083546996443416
|
||||
@ -7202,7 +7085,7 @@ RectTransform:
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0.5}
|
||||
m_AnchorMax: {x: 0, y: 0.5}
|
||||
m_AnchoredPosition: {x: 190, y: 0}
|
||||
m_AnchoredPosition: {x: 84.99997, y: 0}
|
||||
m_SizeDelta: {x: 24, y: 24}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &7359274786217225136
|
||||
@ -8815,7 +8698,7 @@ RectTransform:
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0.5}
|
||||
m_AnchorMax: {x: 0, y: 0.5}
|
||||
m_AnchoredPosition: {x: 160, y: 0}
|
||||
m_AnchoredPosition: {x: 55, y: 0}
|
||||
m_SizeDelta: {x: 24, y: 24}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &2963142469043248493
|
||||
@ -10766,7 +10649,7 @@ RectTransform:
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0.5}
|
||||
m_AnchorMax: {x: 0, y: 0.5}
|
||||
m_AnchoredPosition: {x: 220, y: 0}
|
||||
m_AnchoredPosition: {x: 114.99997, y: 0}
|
||||
m_SizeDelta: {x: 24, y: 24}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &4138850739707776076
|
||||
@ -12147,7 +12030,7 @@ RectTransform:
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 1, y: 1}
|
||||
m_AnchorMax: {x: 1, y: 1}
|
||||
m_AnchoredPosition: {x: -20, y: -20}
|
||||
m_AnchoredPosition: {x: -42, y: -76}
|
||||
m_SizeDelta: {x: 0, y: 0}
|
||||
m_Pivot: {x: 1, y: 1}
|
||||
--- !u!114 &2707291331459328369
|
||||
@ -13113,9 +12996,9 @@ RectTransform:
|
||||
m_Father: {fileID: 6205560633638733897}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 1, y: 1}
|
||||
m_AnchorMax: {x: 1, y: 0}
|
||||
m_AnchoredPosition: {x: 0, y: 140}
|
||||
m_SizeDelta: {x: 0, y: -140}
|
||||
m_SizeDelta: {x: 0, y: 1790}
|
||||
m_Pivot: {x: 0.5, y: 0}
|
||||
--- !u!114 &3349491686275311504
|
||||
MonoBehaviour:
|
||||
@ -13437,7 +13320,7 @@ RectTransform:
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 1}
|
||||
m_AnchorMax: {x: 0, y: 1}
|
||||
m_AnchoredPosition: {x: 282, y: -700}
|
||||
m_AnchoredPosition: {x: 282, y: -702.5}
|
||||
m_SizeDelta: {x: 486, y: 1326}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!114 &4115190986719002645
|
||||
@ -13908,8 +13791,8 @@ RectTransform:
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 1}
|
||||
m_AnchorMax: {x: 0, y: 1}
|
||||
m_AnchoredPosition: {x: 540, y: -190}
|
||||
m_SizeDelta: {x: 100, y: 380}
|
||||
m_AnchoredPosition: {x: 540, y: -192.5}
|
||||
m_SizeDelta: {x: 100, y: 385}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &3587123188945345191
|
||||
CanvasRenderer:
|
||||
@ -15421,6 +15304,7 @@ RectTransform:
|
||||
m_Children:
|
||||
- {fileID: 5889879491352048088}
|
||||
- {fileID: 8365695575751218331}
|
||||
- {fileID: 7194893120083834316}
|
||||
- {fileID: 5507212350277290180}
|
||||
- {fileID: 5995285046620699259}
|
||||
- {fileID: 684797296700281236}
|
||||
@ -17543,11 +17427,11 @@ RectTransform:
|
||||
m_Children:
|
||||
- {fileID: 2882891754817228583}
|
||||
- {fileID: 5833190460279665426}
|
||||
m_Father: {fileID: 5889879491352048088}
|
||||
m_Father: {fileID: 7194893120083834316}
|
||||
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, y: 31}
|
||||
m_AnchoredPosition: {x: -343, y: 145}
|
||||
m_SizeDelta: {x: 410, y: 0}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!114 &4033196242258816277
|
||||
@ -18648,7 +18532,6 @@ RectTransform:
|
||||
- {fileID: 1003826770839616547}
|
||||
- {fileID: 279161582762409683}
|
||||
- {fileID: 7767489847285123733}
|
||||
- {fileID: 3533581197396514058}
|
||||
- {fileID: 746508994226940708}
|
||||
m_Father: {fileID: 5995285046620699259}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
@ -19045,9 +18928,7 @@ RectTransform:
|
||||
m_Children:
|
||||
- {fileID: 4077351954496748170}
|
||||
- {fileID: 8280360832604752098}
|
||||
- {fileID: 7194893120083834316}
|
||||
- {fileID: 7804293565762206513}
|
||||
- {fileID: 4314033248589623572}
|
||||
- {fileID: 1114163671980258775}
|
||||
m_Father: {fileID: 6205560633638733897}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
@ -20104,7 +19985,7 @@ RectTransform:
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 1, y: 0.5}
|
||||
m_AnchorMax: {x: 1, y: 0.5}
|
||||
m_AnchoredPosition: {x: -165, y: 0}
|
||||
m_AnchoredPosition: {x: -50, y: 0}
|
||||
m_SizeDelta: {x: 24, y: 24}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &4092560952847146599
|
||||
@ -20254,7 +20135,7 @@ RectTransform:
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 1, y: 0.5}
|
||||
m_AnchorMax: {x: 1, y: 0.5}
|
||||
m_AnchoredPosition: {x: -225, y: 0}
|
||||
m_AnchoredPosition: {x: -110, y: 0}
|
||||
m_SizeDelta: {x: 24, y: 24}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &1602468323191712139
|
||||
@ -23551,7 +23432,7 @@ RectTransform:
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 1, y: 0.5}
|
||||
m_AnchorMax: {x: 1, y: 0.5}
|
||||
m_AnchoredPosition: {x: -195, y: 0}
|
||||
m_AnchoredPosition: {x: -80, y: 0}
|
||||
m_SizeDelta: {x: 24, y: 24}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &2310324019510145290
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -49,7 +49,7 @@ TextureImporter:
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteBorder: {x: 57, y: 36, z: 178, w: 59}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
@ -139,7 +139,7 @@ TextureImporter:
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 5e97eb03825dee720800000000000000
|
||||
internalID: 0
|
||||
internalID: 1537655665
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
|
||||
@ -322,8 +322,6 @@ Enum.RuneShopSubType.Month
|
||||
Enum.RuneShopSubType.Gold
|
||||
]]
|
||||
function UIRuneShopView:OnClickBottomTab(index)
|
||||
|
||||
|
||||
local type = 1
|
||||
local subtype = 1
|
||||
local title = ""
|
||||
|
||||
@ -77,13 +77,8 @@
|
||||
---@field public gameObject UnityEngine.GameObject
|
||||
---@field public text TMPro.TextMeshProUGUI
|
||||
|
||||
---@class UIRuneShop__Generate_timeBox_textTime2
|
||||
---@field public gameObject UnityEngine.GameObject
|
||||
---@field public text UnityEngine.UI.Text
|
||||
|
||||
---@class UIRuneShop__Generate_timeBox
|
||||
---@field public gameObject UnityEngine.GameObject
|
||||
---@field public textTime2 UIRuneShop__Generate_timeBox_textTime2
|
||||
---@field public textTime UIRuneShop__Generate_timeBox_textTime
|
||||
|
||||
---@class UIRuneShop__Generate_giftTabBar_tabGiftMonthly
|
||||
@ -311,6 +306,10 @@
|
||||
---@field public textDsc UIRuneShop__Generate_monthCard1_textDsc
|
||||
---@field public presentPrice UIRuneShop__Generate_monthCard1_presentPrice
|
||||
|
||||
---@class UIRuneShop__Generate_textBox
|
||||
---@field public gameObject UnityEngine.GameObject
|
||||
---@field public text TMPro.TextMeshProUGUI
|
||||
|
||||
---@class UIRuneShop__Generate_gold_number
|
||||
---@field public gameObject UnityEngine.GameObject
|
||||
---@field public text TMPro.TextMeshProUGUI
|
||||
@ -337,10 +336,6 @@
|
||||
---@field public icon UIRuneShop__Generate_coin_icon
|
||||
---@field public number UIRuneShop__Generate_coin_number
|
||||
|
||||
---@class UIRuneShop__Generate_textBox
|
||||
---@field public gameObject UnityEngine.GameObject
|
||||
---@field public text TMPro.TextMeshProUGUI
|
||||
|
||||
---@class UIRuneShop__Generate_vipNameTxt
|
||||
---@field public gameObject UnityEngine.GameObject
|
||||
---@field public text TMPro.TextMeshProUGUI
|
||||
@ -379,9 +374,9 @@
|
||||
---@field private vipFrame UIRuneShop__Generate_vipFrame
|
||||
---@field private vipIcon UIRuneShop__Generate_vipIcon
|
||||
---@field private vipNameTxt UIRuneShop__Generate_vipNameTxt
|
||||
---@field private textBox UIRuneShop__Generate_textBox
|
||||
---@field private coin UIRuneShop__Generate_coin
|
||||
---@field private gold UIRuneShop__Generate_gold
|
||||
---@field private textBox UIRuneShop__Generate_textBox
|
||||
---@field private monthBox UnityEngine.GameObject
|
||||
---@field private monthCard1 UIRuneShop__Generate_monthCard1
|
||||
---@field private monthCard2 UIRuneShop__Generate_monthCard2
|
||||
@ -510,7 +505,6 @@ function UIRuneShopView:InitGenerate(Root, data)
|
||||
self:InitGenerate__88(Root,data)
|
||||
self:InitGenerate__89(Root,data)
|
||||
self:InitGenerate__90(Root,data)
|
||||
self:InitGenerate__91(Root,data)
|
||||
|
||||
|
||||
end
|
||||
@ -616,20 +610,6 @@ end
|
||||
|
||||
---@private
|
||||
function UIRuneShopView:InitGenerate__8(Root, data)
|
||||
--[[
|
||||
UIAnimator/Window/TopView/TalkBox/TextBox
|
||||
--]]
|
||||
local tmp = Root:Find("UIAnimator/Window/TopView/TalkBox/TextBox").gameObject
|
||||
if tolua.getpeer(tmp) == nil then
|
||||
tolua.setpeer(tmp, {})
|
||||
end
|
||||
self.textBox = tmp
|
||||
|
||||
tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
|
||||
end
|
||||
|
||||
---@private
|
||||
function UIRuneShopView:InitGenerate__9(Root, data)
|
||||
--[[
|
||||
UIAnimator/Window/TopView/ResourceBox/Coin
|
||||
--]]
|
||||
@ -641,7 +621,7 @@ function UIRuneShopView:InitGenerate__9(Root, data)
|
||||
end
|
||||
|
||||
---@private
|
||||
function UIRuneShopView:InitGenerate__10(Root, data)
|
||||
function UIRuneShopView:InitGenerate__9(Root, data)
|
||||
--[[
|
||||
UIAnimator/Window/TopView/ResourceBox/Coin/Icon
|
||||
--]]
|
||||
@ -655,7 +635,7 @@ function UIRuneShopView:InitGenerate__10(Root, data)
|
||||
end
|
||||
|
||||
---@private
|
||||
function UIRuneShopView:InitGenerate__11(Root, data)
|
||||
function UIRuneShopView:InitGenerate__10(Root, data)
|
||||
--[[
|
||||
UIAnimator/Window/TopView/ResourceBox/Coin/Number
|
||||
--]]
|
||||
@ -669,7 +649,7 @@ function UIRuneShopView:InitGenerate__11(Root, data)
|
||||
end
|
||||
|
||||
---@private
|
||||
function UIRuneShopView:InitGenerate__12(Root, data)
|
||||
function UIRuneShopView:InitGenerate__11(Root, data)
|
||||
--[[
|
||||
UIAnimator/Window/TopView/ResourceBox/Gold
|
||||
--]]
|
||||
@ -681,7 +661,7 @@ function UIRuneShopView:InitGenerate__12(Root, data)
|
||||
end
|
||||
|
||||
---@private
|
||||
function UIRuneShopView:InitGenerate__13(Root, data)
|
||||
function UIRuneShopView:InitGenerate__12(Root, data)
|
||||
--[[
|
||||
UIAnimator/Window/TopView/ResourceBox/Gold/Icon
|
||||
--]]
|
||||
@ -695,7 +675,7 @@ function UIRuneShopView:InitGenerate__13(Root, data)
|
||||
end
|
||||
|
||||
---@private
|
||||
function UIRuneShopView:InitGenerate__14(Root, data)
|
||||
function UIRuneShopView:InitGenerate__13(Root, data)
|
||||
--[[
|
||||
UIAnimator/Window/TopView/ResourceBox/Gold/Number
|
||||
--]]
|
||||
@ -708,6 +688,20 @@ function UIRuneShopView:InitGenerate__14(Root, data)
|
||||
tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
|
||||
end
|
||||
|
||||
---@private
|
||||
function UIRuneShopView:InitGenerate__14(Root, data)
|
||||
--[[
|
||||
UIAnimator/Window/body/TalkBox/TextBox
|
||||
--]]
|
||||
local tmp = Root:Find("UIAnimator/Window/body/TalkBox/TextBox").gameObject
|
||||
if tolua.getpeer(tmp) == nil then
|
||||
tolua.setpeer(tmp, {})
|
||||
end
|
||||
self.textBox = tmp
|
||||
|
||||
tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
|
||||
end
|
||||
|
||||
---@private
|
||||
function UIRuneShopView:InitGenerate__15(Root, data)
|
||||
--[[
|
||||
@ -1408,20 +1402,6 @@ end
|
||||
|
||||
---@private
|
||||
function UIRuneShopView:InitGenerate__67(Root, data)
|
||||
--[[
|
||||
UIAnimator/Window/GiftsBox/TimeBox/TextTime2
|
||||
--]]
|
||||
local tmp = Root:Find("UIAnimator/Window/GiftsBox/TimeBox/TextTime2").gameObject
|
||||
if tolua.getpeer(tmp) == nil then
|
||||
tolua.setpeer(tmp, {})
|
||||
end
|
||||
self.timeBox.textTime2 = tmp
|
||||
|
||||
tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
|
||||
end
|
||||
|
||||
---@private
|
||||
function UIRuneShopView:InitGenerate__68(Root, data)
|
||||
--[[
|
||||
UIAnimator/Window/GiftsBox/TimeBox/TextTime
|
||||
--]]
|
||||
@ -1435,7 +1415,7 @@ function UIRuneShopView:InitGenerate__68(Root, data)
|
||||
end
|
||||
|
||||
---@private
|
||||
function UIRuneShopView:InitGenerate__69(Root, data)
|
||||
function UIRuneShopView:InitGenerate__68(Root, data)
|
||||
--[[
|
||||
UIAnimator/Window/GiftsBox/ScrollView
|
||||
--]]
|
||||
@ -1449,7 +1429,7 @@ function UIRuneShopView:InitGenerate__69(Root, data)
|
||||
end
|
||||
|
||||
---@private
|
||||
function UIRuneShopView:InitGenerate__70(Root, data)
|
||||
function UIRuneShopView:InitGenerate__69(Root, data)
|
||||
--[[
|
||||
UIAnimator/Window/GiftsBox/ScrollView/Viewport/Content/RuneShopGoodsItem
|
||||
--]]
|
||||
@ -1464,7 +1444,7 @@ function UIRuneShopView:InitGenerate__70(Root, data)
|
||||
end
|
||||
|
||||
---@private
|
||||
function UIRuneShopView:InitGenerate__71(Root, data)
|
||||
function UIRuneShopView:InitGenerate__70(Root, data)
|
||||
--[[
|
||||
UIAnimator/Window/LimitedBox
|
||||
--]]
|
||||
@ -1476,7 +1456,7 @@ function UIRuneShopView:InitGenerate__71(Root, data)
|
||||
end
|
||||
|
||||
---@private
|
||||
function UIRuneShopView:InitGenerate__72(Root, data)
|
||||
function UIRuneShopView:InitGenerate__71(Root, data)
|
||||
--[[
|
||||
UIAnimator/Window/LimitedBox/ScrollView
|
||||
--]]
|
||||
@ -1490,7 +1470,7 @@ function UIRuneShopView:InitGenerate__72(Root, data)
|
||||
end
|
||||
|
||||
---@private
|
||||
function UIRuneShopView:InitGenerate__73(Root, data)
|
||||
function UIRuneShopView:InitGenerate__72(Root, data)
|
||||
--[[
|
||||
UIAnimator/Window/LimitedBox/ScrollView/Viewport/Content/RuneShopLimitedItem
|
||||
--]]
|
||||
@ -1505,7 +1485,7 @@ function UIRuneShopView:InitGenerate__73(Root, data)
|
||||
end
|
||||
|
||||
---@private
|
||||
function UIRuneShopView:InitGenerate__74(Root, data)
|
||||
function UIRuneShopView:InitGenerate__73(Root, data)
|
||||
--[[
|
||||
UIAnimator/Window/RewardsBox
|
||||
--]]
|
||||
@ -1517,7 +1497,7 @@ function UIRuneShopView:InitGenerate__74(Root, data)
|
||||
end
|
||||
|
||||
---@private
|
||||
function UIRuneShopView:InitGenerate__75(Root, data)
|
||||
function UIRuneShopView:InitGenerate__74(Root, data)
|
||||
--[[
|
||||
UIAnimator/Window/RewardsBox/RewardsExpBox
|
||||
--]]
|
||||
@ -1530,7 +1510,7 @@ function UIRuneShopView:InitGenerate__75(Root, data)
|
||||
end
|
||||
|
||||
---@private
|
||||
function UIRuneShopView:InitGenerate__76(Root, data)
|
||||
function UIRuneShopView:InitGenerate__75(Root, data)
|
||||
--[[
|
||||
UIAnimator/Window/RewardsBox/RewardsExpBox/ExpBox/rewardslv
|
||||
--]]
|
||||
@ -1544,7 +1524,7 @@ function UIRuneShopView:InitGenerate__76(Root, data)
|
||||
end
|
||||
|
||||
---@private
|
||||
function UIRuneShopView:InitGenerate__77(Root, data)
|
||||
function UIRuneShopView:InitGenerate__76(Root, data)
|
||||
--[[
|
||||
UIAnimator/Window/RewardsBox/RewardsExpBox/ExpBox/rewardsmax
|
||||
--]]
|
||||
@ -1559,7 +1539,7 @@ function UIRuneShopView:InitGenerate__77(Root, data)
|
||||
end
|
||||
|
||||
---@private
|
||||
function UIRuneShopView:InitGenerate__78(Root, data)
|
||||
function UIRuneShopView:InitGenerate__77(Root, data)
|
||||
--[[
|
||||
UIAnimator/Window/RewardsBox/RewardsExpBox/ExpBox/numexp
|
||||
--]]
|
||||
@ -1573,7 +1553,7 @@ function UIRuneShopView:InitGenerate__78(Root, data)
|
||||
end
|
||||
|
||||
---@private
|
||||
function UIRuneShopView:InitGenerate__79(Root, data)
|
||||
function UIRuneShopView:InitGenerate__78(Root, data)
|
||||
--[[
|
||||
UIAnimator/Window/RewardsBox/RewardsExpBox/ExpBox/ExpSlider
|
||||
--]]
|
||||
@ -1587,7 +1567,7 @@ function UIRuneShopView:InitGenerate__79(Root, data)
|
||||
end
|
||||
|
||||
---@private
|
||||
function UIRuneShopView:InitGenerate__80(Root, data)
|
||||
function UIRuneShopView:InitGenerate__79(Root, data)
|
||||
--[[
|
||||
UIAnimator/Window/RewardsBox/BtnTaskExp
|
||||
--]]
|
||||
@ -1601,7 +1581,7 @@ function UIRuneShopView:InitGenerate__80(Root, data)
|
||||
end
|
||||
|
||||
---@private
|
||||
function UIRuneShopView:InitGenerate__81(Root, data)
|
||||
function UIRuneShopView:InitGenerate__80(Root, data)
|
||||
--[[
|
||||
UIAnimator/Window/RewardsBox/BtnTaskExp/Icon
|
||||
--]]
|
||||
@ -1613,7 +1593,7 @@ function UIRuneShopView:InitGenerate__81(Root, data)
|
||||
end
|
||||
|
||||
---@private
|
||||
function UIRuneShopView:InitGenerate__82(Root, data)
|
||||
function UIRuneShopView:InitGenerate__81(Root, data)
|
||||
--[[
|
||||
UIAnimator/Window/RewardsBox/ExpUpBlue
|
||||
--]]
|
||||
@ -1625,7 +1605,7 @@ function UIRuneShopView:InitGenerate__82(Root, data)
|
||||
end
|
||||
|
||||
---@private
|
||||
function UIRuneShopView:InitGenerate__83(Root, data)
|
||||
function UIRuneShopView:InitGenerate__82(Root, data)
|
||||
--[[
|
||||
UIAnimator/Window/RewardsBox/ExpUpBlue/RedPoint/LvUp/num
|
||||
--]]
|
||||
@ -1639,7 +1619,7 @@ function UIRuneShopView:InitGenerate__83(Root, data)
|
||||
end
|
||||
|
||||
---@private
|
||||
function UIRuneShopView:InitGenerate__84(Root, data)
|
||||
function UIRuneShopView:InitGenerate__83(Root, data)
|
||||
--[[
|
||||
UIAnimator/Window/BottomTabBar
|
||||
--]]
|
||||
@ -1653,7 +1633,7 @@ function UIRuneShopView:InitGenerate__84(Root, data)
|
||||
end
|
||||
|
||||
---@private
|
||||
function UIRuneShopView:InitGenerate__85(Root, data)
|
||||
function UIRuneShopView:InitGenerate__84(Root, data)
|
||||
--[[
|
||||
UIAnimator/Window/BottomTabBar/BtnBack
|
||||
--]]
|
||||
@ -1667,7 +1647,7 @@ function UIRuneShopView:InitGenerate__85(Root, data)
|
||||
end
|
||||
|
||||
---@private
|
||||
function UIRuneShopView:InitGenerate__86(Root, data)
|
||||
function UIRuneShopView:InitGenerate__85(Root, data)
|
||||
--[[
|
||||
UIAnimator/Window/BottomTabBar/TabMonthCard
|
||||
--]]
|
||||
@ -1681,7 +1661,7 @@ function UIRuneShopView:InitGenerate__86(Root, data)
|
||||
end
|
||||
|
||||
---@private
|
||||
function UIRuneShopView:InitGenerate__87(Root, data)
|
||||
function UIRuneShopView:InitGenerate__86(Root, data)
|
||||
--[[
|
||||
UIAnimator/Window/BottomTabBar/TabMonthCard/RedPoint
|
||||
--]]
|
||||
@ -1693,7 +1673,7 @@ function UIRuneShopView:InitGenerate__87(Root, data)
|
||||
end
|
||||
|
||||
---@private
|
||||
function UIRuneShopView:InitGenerate__88(Root, data)
|
||||
function UIRuneShopView:InitGenerate__87(Root, data)
|
||||
--[[
|
||||
UIAnimator/Window/BottomTabBar/TabGift
|
||||
--]]
|
||||
@ -1707,7 +1687,7 @@ function UIRuneShopView:InitGenerate__88(Root, data)
|
||||
end
|
||||
|
||||
---@private
|
||||
function UIRuneShopView:InitGenerate__89(Root, data)
|
||||
function UIRuneShopView:InitGenerate__88(Root, data)
|
||||
--[[
|
||||
UIAnimator/Window/BottomTabBar/TabGift/RedPoint
|
||||
--]]
|
||||
@ -1719,7 +1699,7 @@ function UIRuneShopView:InitGenerate__89(Root, data)
|
||||
end
|
||||
|
||||
---@private
|
||||
function UIRuneShopView:InitGenerate__90(Root, data)
|
||||
function UIRuneShopView:InitGenerate__89(Root, data)
|
||||
--[[
|
||||
UIAnimator/Window/BottomTabBar/TabCoin
|
||||
--]]
|
||||
@ -1733,7 +1713,7 @@ function UIRuneShopView:InitGenerate__90(Root, data)
|
||||
end
|
||||
|
||||
---@private
|
||||
function UIRuneShopView:InitGenerate__91(Root, data)
|
||||
function UIRuneShopView:InitGenerate__90(Root, data)
|
||||
--[[
|
||||
UIAnimator/Window/BottomTabBar/TabCoin/RedPoint
|
||||
--]]
|
||||
@ -1779,9 +1759,6 @@ function UIRuneShopView:GenerateDestroy()
|
||||
if tolua.getpeer(self.timeBox.textTime) ~= nil then
|
||||
tolua.setpeer(self.timeBox.textTime, nil)
|
||||
end
|
||||
if tolua.getpeer(self.timeBox.textTime2) ~= nil then
|
||||
tolua.setpeer(self.timeBox.textTime2, nil)
|
||||
end
|
||||
if tolua.getpeer(self.giftTabBar.tabGiftMonthly.redPoint1) ~= nil then
|
||||
tolua.setpeer(self.giftTabBar.tabGiftMonthly.redPoint1, nil)
|
||||
end
|
||||
@ -1960,10 +1937,6 @@ function UIRuneShopView:GenerateDestroy()
|
||||
tolua.setpeer(self.vipNameTxt, nil)
|
||||
end
|
||||
self.vipNameTxt = nil
|
||||
if tolua.getpeer(self.textBox) ~= nil then
|
||||
tolua.setpeer(self.textBox, nil)
|
||||
end
|
||||
self.textBox = nil
|
||||
if tolua.getpeer(self.coin) ~= nil then
|
||||
tolua.setpeer(self.coin, nil)
|
||||
end
|
||||
@ -1972,6 +1945,10 @@ function UIRuneShopView:GenerateDestroy()
|
||||
tolua.setpeer(self.gold, nil)
|
||||
end
|
||||
self.gold = nil
|
||||
if tolua.getpeer(self.textBox) ~= nil then
|
||||
tolua.setpeer(self.textBox, nil)
|
||||
end
|
||||
self.textBox = nil
|
||||
if tolua.getpeer(self.monthBox) ~= nil then
|
||||
tolua.setpeer(self.monthBox, nil)
|
||||
end
|
||||
|
||||
@ -486,7 +486,7 @@ function UIShopView:RefreshGoods(resetPos)
|
||||
if refreshTime and refreshTime > 0 then
|
||||
remainTime = ManagerContainer.LuaTimerMgr:GetRemainSeconds(refreshTime)
|
||||
end
|
||||
self.textTime.text.text = string.formatbykey('ShopOutTime',
|
||||
self.timeBox.textTime.text.text = string.formatbykey('ShopOutTime',
|
||||
DateTimeUtil.convertSeconds2TimeStr1(remainTime, true, true, false))
|
||||
if not remainTime or remainTime <= 0 then
|
||||
self:StopRefreshTimer()
|
||||
@ -494,7 +494,7 @@ function UIShopView:RefreshGoods(resetPos)
|
||||
self:StartRefreshTimer()
|
||||
end
|
||||
else
|
||||
self.textTime.text.text = ''
|
||||
self.timeBox.textTime.text.text = ''
|
||||
self:StopRefreshTimer()
|
||||
end
|
||||
|
||||
|
||||
@ -81,9 +81,13 @@
|
||||
---@field public gameObject UnityEngine.GameObject
|
||||
---@field public button UnityEngine.UI.Button
|
||||
|
||||
---@class UIShop__Generate_textTime
|
||||
---@class UIShop__Generate_timeBox_textTime
|
||||
---@field public gameObject UnityEngine.GameObject
|
||||
---@field public text UnityEngine.UI.Text
|
||||
---@field public text TMPro.TextMeshProUGUI
|
||||
|
||||
---@class UIShop__Generate_timeBox
|
||||
---@field public gameObject UnityEngine.GameObject
|
||||
---@field public textTime UIShop__Generate_timeBox_textTime
|
||||
|
||||
---@class UIShop__Generate_text_title
|
||||
---@field public gameObject UnityEngine.GameObject
|
||||
@ -111,8 +115,7 @@
|
||||
---@field private resourceBox UnityEngine.GameObject
|
||||
---@field private shopCurrencyItem UnityEngine.GameObject
|
||||
---@field private text_title UIShop__Generate_text_title
|
||||
---@field private timeBox UnityEngine.GameObject
|
||||
---@field private textTime UIShop__Generate_textTime
|
||||
---@field private timeBox UIShop__Generate_timeBox
|
||||
---@field private btnRefresh UIShop__Generate_btnRefresh
|
||||
---@field private goodsScrollView UIShop__Generate_goodsScrollView
|
||||
---@field private shopGoodsItem UIShop__Generate_shopGoodsItem
|
||||
@ -275,9 +278,9 @@ function UIShopView:InitGenerate__8(Root, data)
|
||||
if tolua.getpeer(tmp) == nil then
|
||||
tolua.setpeer(tmp, {})
|
||||
end
|
||||
self.textTime = tmp
|
||||
self.timeBox.textTime = tmp
|
||||
|
||||
tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
|
||||
tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
|
||||
end
|
||||
|
||||
---@private
|
||||
@ -615,6 +618,9 @@ function UIShopView:GenerateDestroy()
|
||||
if tolua.getpeer(self.bottomTabBar.tabShop) ~= nil then
|
||||
tolua.setpeer(self.bottomTabBar.tabShop, nil)
|
||||
end
|
||||
if tolua.getpeer(self.timeBox.textTime) ~= nil then
|
||||
tolua.setpeer(self.timeBox.textTime, nil)
|
||||
end
|
||||
if tolua.getpeer(self.uIAnimator) ~= nil then
|
||||
tolua.setpeer(self.uIAnimator, nil)
|
||||
end
|
||||
@ -646,10 +652,6 @@ function UIShopView:GenerateDestroy()
|
||||
tolua.setpeer(self.timeBox, nil)
|
||||
end
|
||||
self.timeBox = nil
|
||||
if tolua.getpeer(self.textTime) ~= nil then
|
||||
tolua.setpeer(self.textTime, nil)
|
||||
end
|
||||
self.textTime = nil
|
||||
if tolua.getpeer(self.btnRefresh) ~= nil then
|
||||
tolua.setpeer(self.btnRefresh, nil)
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user