竞技场部分预制体修改
parent
fff8911f19
commit
ff21cd74d2
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,10 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 03e475bd51d41c64e9449de1b141b651
|
||||
timeCreated: 1557218660
|
||||
licenseType: Pro
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 100100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,7 @@
|
|||
fileFormatVersion: 2
|
||||
guid: ab2e29da24f445947aac6a0fa8b338d9
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
File diff suppressed because it is too large
Load Diff
|
@ -19,6 +19,7 @@ function ArenaTypePanel:InitComponent()
|
|||
this.Arena_Rank = Util.GetGameObject(this.btnArena, "Rank/Text"):GetComponent("Text")
|
||||
|
||||
this.TopMatch_Normal = Util.GetGameObject(this.btnTopMatch, "normal")
|
||||
this.TopMatch_NormalBG = Util.GetGameObject(this.btnTopMatch, "nBg")
|
||||
this.TopMatch_Name = Util.GetGameObject(this.btnTopMatch, "Name"):GetComponent("Text")
|
||||
this.TopMatch_Season = Util.GetGameObject(this.TopMatch_Normal, "Season/Text"):GetComponent("Text")
|
||||
this.TopMatch_SeasonTime = Util.GetGameObject(this.TopMatch_Normal, "Season/Time"):GetComponent("Text")
|
||||
|
@ -29,6 +30,7 @@ function ArenaTypePanel:InitComponent()
|
|||
this.TopMatch_BestRank = Util.GetGameObject(this.TopMatch_Normal, "BestRank/Text"):GetComponent("Text")
|
||||
this.TopMatch_Red = Util.GetGameObject(this.btnTopMatch, "bg/redpot")
|
||||
this.TopMatch_Lock = Util.GetGameObject(this.btnTopMatch, "lock")
|
||||
this.TopMatch_LockBg = Util.GetGameObject(this.btnTopMatch, "lBg")
|
||||
this.TopMatch_Lock_Title = Util.GetGameObject(this.TopMatch_Lock, "Season"):GetComponent("Text")
|
||||
this.TopMatch_Lock_Time = Util.GetGameObject(this.TopMatch_Lock, "Season/Time"):GetComponent("Text")
|
||||
this.TopMatch_Lock_Tip = Util.GetGameObject(this.TopMatch_Lock, "Tip"):GetComponent("Text")
|
||||
|
@ -203,7 +205,9 @@ function this.RefreshTopMatchShow()
|
|||
end
|
||||
if state<1 then
|
||||
this.TopMatch_Normal:SetActive(false)
|
||||
this.TopMatch_NormalBG:SetActive(false)
|
||||
this.TopMatch_Lock:SetActive(true)
|
||||
this.TopMatch_LockBg:SetActive(true)
|
||||
this.TopMatch_Name.text = "未达到开启条件"
|
||||
this.TopMatch_Lock_Title.text = tipStr
|
||||
else
|
||||
|
@ -220,7 +224,9 @@ function this.RefreshTopMatchShow()
|
|||
this.TopMatch_Season.text = "暂未开放"
|
||||
end
|
||||
this.TopMatch_Normal:SetActive(true)
|
||||
this.TopMatch_NormalBG:SetActive(true)
|
||||
this.TopMatch_Lock:SetActive(false)
|
||||
this.TopMatch_LockBg:SetActive(false)
|
||||
end
|
||||
|
||||
end
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue