【登录】版号信息走表配置
parent
24ccf53511
commit
77acfd6bcd
|
|
@ -125,7 +125,7 @@ GameObject:
|
|||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &2019625878
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
@ -186,8 +186,7 @@ MonoBehaviour:
|
|||
m_HorizontalOverflow: 1
|
||||
m_VerticalOverflow: 1
|
||||
m_LineSpacing: 1
|
||||
m_Text: "\u56FD\u65B0\u51FA\u5BA1[2021]424\u53F7 \u51FA\u7248ISBN 978-7-498-08833-8\n\u8457\u4F5C\u6743\u4EBA\uFF1A\u5317\u4EAC\u84DD\u9CB8\u65F6\u4EE3\u79D1\u6280\u6709\u9650\u516C\u53F8
|
||||
\u51FA\u7248\u5355\u4F4D\uFF1A\u5317\u4EAC\u51A0\u6E38\u65F6\u7A7A\u6570\u7801\u6280\u672F\u6709\u9650\u516C\u53F8"
|
||||
m_Text:
|
||||
--- !u!1 &2126607396
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
|
|||
|
|
@ -57,6 +57,12 @@ function PackageManager.GetLoadingList()
|
|||
return list
|
||||
end
|
||||
end
|
||||
-- 获取登录背景图
|
||||
function PackageManager.GetBHContent()
|
||||
if this.config then
|
||||
return this.config.BHContent
|
||||
end
|
||||
end
|
||||
|
||||
function PackageManager.SetVideo(obj, bg)
|
||||
obj:SetActive(false)
|
||||
|
|
|
|||
|
|
@ -80,6 +80,14 @@ function this:InitComponent()
|
|||
|
||||
this.healthTip = Util.GetGameObject(this.gameObject, "healthTip")
|
||||
this.healthTip:SetActive(IS_SHOW_HEALTH_TIP)
|
||||
this.bh = Util.GetGameObject(this.gameObject, "healthTip/bh"):GetComponent("Text")
|
||||
local bhContent = PackageManager.GetBHContent()
|
||||
LogError(tostring(bhContent))
|
||||
if bhContent then
|
||||
this.bh.text = bhContent
|
||||
else
|
||||
this.bh.text = ""
|
||||
end
|
||||
|
||||
this.video = Util.GetGameObject(this.gameObject, "VideoPlayer")
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue