竞技场替换宝箱效果图替换
parent
97bfdd53b6
commit
c471a9ccd5
Binary file not shown.
After Width: | Height: | Size: 21 KiB |
|
@ -0,0 +1,110 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: ab2c5183d1b674c48adc1edb96bde6ba
|
||||||
|
TextureImporter:
|
||||||
|
fileIDToRecycleName: {}
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 9
|
||||||
|
mipmaps:
|
||||||
|
mipMapMode: 0
|
||||||
|
enableMipMap: 0
|
||||||
|
sRGBTexture: 1
|
||||||
|
linearTexture: 0
|
||||||
|
fadeOut: 0
|
||||||
|
borderMipMap: 0
|
||||||
|
mipMapsPreserveCoverage: 0
|
||||||
|
alphaTestReferenceValue: 0.5
|
||||||
|
mipMapFadeDistanceStart: 1
|
||||||
|
mipMapFadeDistanceEnd: 3
|
||||||
|
bumpmap:
|
||||||
|
convertToNormalMap: 0
|
||||||
|
externalNormalMap: 0
|
||||||
|
heightScale: 0.25
|
||||||
|
normalMapFilter: 0
|
||||||
|
isReadable: 0
|
||||||
|
streamingMipmaps: 0
|
||||||
|
streamingMipmapsPriority: 0
|
||||||
|
grayScaleToAlpha: 0
|
||||||
|
generateCubemap: 6
|
||||||
|
cubemapConvolution: 0
|
||||||
|
seamlessCubemap: 0
|
||||||
|
textureFormat: 1
|
||||||
|
maxTextureSize: 2048
|
||||||
|
textureSettings:
|
||||||
|
serializedVersion: 2
|
||||||
|
filterMode: 2
|
||||||
|
aniso: -1
|
||||||
|
mipBias: -100
|
||||||
|
wrapU: 1
|
||||||
|
wrapV: 1
|
||||||
|
wrapW: 1
|
||||||
|
nPOTScale: 0
|
||||||
|
lightmap: 0
|
||||||
|
compressionQuality: 50
|
||||||
|
spriteMode: 1
|
||||||
|
spriteExtrude: 1
|
||||||
|
spriteMeshType: 1
|
||||||
|
alignment: 0
|
||||||
|
spritePivot: {x: 0.5, y: 0.5}
|
||||||
|
spritePixelsToUnits: 100
|
||||||
|
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
spriteGenerateFallbackPhysicsShape: 1
|
||||||
|
alphaUsage: 1
|
||||||
|
alphaIsTransparency: 1
|
||||||
|
spriteTessellationDetail: -1
|
||||||
|
textureType: 8
|
||||||
|
textureShape: 1
|
||||||
|
singleChannelComponent: 0
|
||||||
|
maxTextureSizeSet: 0
|
||||||
|
compressionQualitySet: 0
|
||||||
|
textureFormatSet: 0
|
||||||
|
platformSettings:
|
||||||
|
- serializedVersion: 2
|
||||||
|
buildTarget: Android
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: 65
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 1
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
- serializedVersion: 2
|
||||||
|
buildTarget: iPhone
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: 65
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 1
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
- serializedVersion: 2
|
||||||
|
buildTarget: Standalone
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: 4
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 1
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
spriteSheet:
|
||||||
|
serializedVersion: 2
|
||||||
|
sprites: []
|
||||||
|
outline: []
|
||||||
|
physicsShape: []
|
||||||
|
bones: []
|
||||||
|
spriteID: a89cfe9d0e63df442b92bbbfe9d72270
|
||||||
|
vertices: []
|
||||||
|
indices:
|
||||||
|
edges: []
|
||||||
|
weights: []
|
||||||
|
spritePackingTag: TagButtonAtlas
|
||||||
|
pSDRemoveMatte: 0
|
||||||
|
pSDShowRemoveMatteOption: 0
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
File diff suppressed because it is too large
Load Diff
|
@ -13,7 +13,7 @@ function ArenaView:InitComponent()
|
||||||
this.AllNums = Util.GetGameObject(self.gameObject, "allNum")
|
this.AllNums = Util.GetGameObject(self.gameObject, "allNum")
|
||||||
-- this.HelpBtn=Util.GetGameObject(self.gameObject,"btn")
|
-- this.HelpBtn=Util.GetGameObject(self.gameObject,"btn")
|
||||||
|
|
||||||
this.FormationBtn = Util.GetGameObject(self.gameObject, "defendbox/orggroup")
|
this.FormationBtn = Util.GetGameObject(self.gameObject, "formationBtn")
|
||||||
--this.DiffDemons = {}
|
--this.DiffDemons = {}
|
||||||
--for i = 1, 3 do
|
--for i = 1, 3 do
|
||||||
-- table.insert(this.DiffDemons, Util.GetGameObject(self.gameObject, "diffdemons/icon_"..i))
|
-- table.insert(this.DiffDemons, Util.GetGameObject(self.gameObject, "diffdemons/icon_"..i))
|
||||||
|
@ -24,13 +24,14 @@ function ArenaView:InitComponent()
|
||||||
end
|
end
|
||||||
|
|
||||||
this.Enemys = {}
|
this.Enemys = {}
|
||||||
for i = 1, 4 do
|
for i = 1, 5 do
|
||||||
table.insert(this.Enemys, Util.GetGameObject(self.gameObject, "challengebox/enemy_"..i))
|
table.insert(this.Enemys, Util.GetGameObject(self.gameObject, "challengebox/enemy_"..i))
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
this.RecordBtn = Util.GetGameObject(self.gameObject, "record")
|
this.RecordBtn = Util.GetGameObject(self.gameObject, "record")
|
||||||
this.RefreshBtn = Util.GetGameObject(self.gameObject, "refresh")
|
this.RefreshBtn = Util.GetGameObject(self.gameObject, "refresh")
|
||||||
|
this.sortBtn = Util.GetGameObject(self.gameObject, "sortBtn")
|
||||||
this.helpBtn = Util.GetGameObject(self.gameObject, "helpBtn")
|
this.helpBtn = Util.GetGameObject(self.gameObject, "helpBtn")
|
||||||
this.helpPosition=this.helpBtn:GetComponent("RectTransform").localPosition
|
this.helpPosition=this.helpBtn:GetComponent("RectTransform").localPosition
|
||||||
|
|
||||||
|
@ -42,8 +43,7 @@ function ArenaView:InitComponent()
|
||||||
this.effect = Util.GetGameObject(self.gameObject, "bg/UI_effect_ArenaMainPanel_particle")
|
this.effect = Util.GetGameObject(self.gameObject, "bg/UI_effect_ArenaMainPanel_particle")
|
||||||
--宝箱部分
|
--宝箱部分
|
||||||
this.progressImage = Util.GetGameObject(self.gameObject, "finalTarget/progressbar/progress"):GetComponent("Image")
|
this.progressImage = Util.GetGameObject(self.gameObject, "finalTarget/progressbar/progress"):GetComponent("Image")
|
||||||
this.progressText = Util.GetGameObject(self.gameObject, "finalTarget/curProgress/Text"):GetComponent("Text")
|
this.progressTipText = Util.GetGameObject(self.gameObject, "finalTarget/Text (1)"):GetComponent("Text")
|
||||||
this.progressTipText = Util.GetGameObject(self.gameObject, "finalTarget/curProgress/Text (1)"):GetComponent("Text")
|
|
||||||
rewardBoxBtn = {}
|
rewardBoxBtn = {}
|
||||||
for i = 1, 7 do
|
for i = 1, 7 do
|
||||||
rewardBoxBtn[i] = Util.GetGameObject(self.gameObject, "finalTarget/rewardProgress/rewardBoxBtn (" .. i .. ")")
|
rewardBoxBtn[i] = Util.GetGameObject(self.gameObject, "finalTarget/rewardProgress/rewardBoxBtn (" .. i .. ")")
|
||||||
|
@ -96,7 +96,11 @@ function ArenaView:BindEvent()
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
|
--排行
|
||||||
|
Util.AddClick(this.sortBtn, function()
|
||||||
|
return
|
||||||
|
UIManager.OpenPanel(UIName.RankingSingleListPanel,rankKingList[5])
|
||||||
|
end)
|
||||||
-- 刷新按钮
|
-- 刷新按钮
|
||||||
Util.AddClick(this.RefreshBtn, function()
|
Util.AddClick(this.RefreshBtn, function()
|
||||||
if not ActTimeCtrlManager.SingleFuncState(FUNCTION_OPEN_TYPE.ARENA) then
|
if not ActTimeCtrlManager.SingleFuncState(FUNCTION_OPEN_TYPE.ARENA) then
|
||||||
|
@ -352,7 +356,6 @@ function this.ShowRewardBoxProgressData()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
this.progressImage.fillAmount = allNums/maxNum
|
this.progressImage.fillAmount = allNums/maxNum
|
||||||
this.progressText.text = allNums
|
|
||||||
this.progressTipText.text = Language[12204]
|
this.progressTipText.text = Language[12204]
|
||||||
end
|
end
|
||||||
-- 层级改变回调
|
-- 层级改变回调
|
||||||
|
|
Loading…
Reference in New Issue