【极速探索优化】更改极速探索界面,突出激活探索特权的按钮
parent
98a49ad693
commit
4dcdd67648
Binary file not shown.
After Width: | Height: | Size: 32 KiB |
|
@ -0,0 +1,88 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: e1d78aa0a727c9046bbb92cdb973574a
|
||||||
|
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: DefaultTexturePlatform
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
spriteSheet:
|
||||||
|
serializedVersion: 2
|
||||||
|
sprites: []
|
||||||
|
outline: []
|
||||||
|
physicsShape: []
|
||||||
|
bones: []
|
||||||
|
spriteID: cff3d361d4841e84da0590cba7b3459a
|
||||||
|
vertices: []
|
||||||
|
indices:
|
||||||
|
edges: []
|
||||||
|
weights: []
|
||||||
|
spritePackingTag: PublicAtlas
|
||||||
|
pSDRemoveMatte: 0
|
||||||
|
pSDShowRemoveMatteOption: 0
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
Binary file not shown.
After Width: | Height: | Size: 19 KiB |
|
@ -0,0 +1,88 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: fdcd225a4412e9840bb72f3d0473f038
|
||||||
|
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: DefaultTexturePlatform
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
spriteSheet:
|
||||||
|
serializedVersion: 2
|
||||||
|
sprites: []
|
||||||
|
outline: []
|
||||||
|
physicsShape: []
|
||||||
|
bones: []
|
||||||
|
spriteID: bf6d12ab7fbfba341a5a48ea5bb43bfb
|
||||||
|
vertices: []
|
||||||
|
indices:
|
||||||
|
edges: []
|
||||||
|
weights: []
|
||||||
|
spritePackingTag: PublicAtlas
|
||||||
|
pSDRemoveMatte: 0
|
||||||
|
pSDShowRemoveMatteOption: 0
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
File diff suppressed because it is too large
Load Diff
|
@ -4,6 +4,7 @@ local StoreConfig = ConfigManager.GetConfig(ConfigName.StoreConfig)
|
||||||
local fightLevelConfig = ConfigManager.GetConfig(ConfigName.MainLevelConfig)
|
local fightLevelConfig = ConfigManager.GetConfig(ConfigName.MainLevelConfig)
|
||||||
local ItemConfig = ConfigManager.GetConfig(ConfigName.ItemConfig)
|
local ItemConfig = ConfigManager.GetConfig(ConfigName.ItemConfig)
|
||||||
local this = FastExploreInfoPopup
|
local this = FastExploreInfoPopup
|
||||||
|
local MazeTreasureSetting = ConfigManager.GetConfig(ConfigName.MazeTreasureSetting)
|
||||||
-- 时光沙漏数量
|
-- 时光沙漏数量
|
||||||
local costHourGlass = StoreConfig[10008].Cost[2][4]
|
local costHourGlass = StoreConfig[10008].Cost[2][4]
|
||||||
|
|
||||||
|
@ -55,6 +56,7 @@ function FastExploreInfoPopup:InitComponent()
|
||||||
this.privilegeTimeBg = Util.GetGameObject(this.privilege, "bg")
|
this.privilegeTimeBg = Util.GetGameObject(this.privilege, "bg")
|
||||||
this.privilegeTime = Util.GetGameObject(this.privilege, "bg/Time"):GetComponent("Text")
|
this.privilegeTime = Util.GetGameObject(this.privilege, "bg/Time"):GetComponent("Text")
|
||||||
this.privilegeGo = Util.GetGameObject(this.privilege, "go")
|
this.privilegeGo = Util.GetGameObject(this.privilege, "go")
|
||||||
|
this.effect = Util.GetGameObject(this.privilege, "UI_Effect_MianBan_GuaJi_Ani")
|
||||||
end
|
end
|
||||||
|
|
||||||
--绑定事件(用于子类重写)
|
--绑定事件(用于子类重写)
|
||||||
|
@ -78,7 +80,7 @@ function FastExploreInfoPopup:BindEvent()
|
||||||
Util.AddClick(this.privilegeGo, function()
|
Util.AddClick(this.privilegeGo, function()
|
||||||
local isActive = PrivilegeManager.GetPrivilegeOpenStatusById(33)
|
local isActive = PrivilegeManager.GetPrivilegeOpenStatusById(33)
|
||||||
if not isActive then
|
if not isActive then
|
||||||
UIManager.OpenPanel(UIName.MainRechargePanel, 3)
|
JumpManager.GoJump(MazeTreasureSetting[1].Jump)
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
|
@ -118,6 +120,7 @@ end
|
||||||
local orginLayer = -1
|
local orginLayer = -1
|
||||||
function this:OnSortingOrderChange()
|
function this:OnSortingOrderChange()
|
||||||
Util.AddParticleSortLayer(this.privilegeEffect, self.sortingOrder - orginLayer)
|
Util.AddParticleSortLayer(this.privilegeEffect, self.sortingOrder - orginLayer)
|
||||||
|
Util.AddParticleSortLayer(this.effect, self.sortingOrder - orginLayer)
|
||||||
orginLayer = self.sortingOrder
|
orginLayer = self.sortingOrder
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -171,9 +174,13 @@ function this.RefreshItemNum()
|
||||||
Util.SetGray(this.privilegeIcon, not isActive)
|
Util.SetGray(this.privilegeIcon, not isActive)
|
||||||
this.privilegeTimeBg:SetActive(isActive)
|
this.privilegeTimeBg:SetActive(isActive)
|
||||||
this.privilegeGo:SetActive(not isActive)
|
this.privilegeGo:SetActive(not isActive)
|
||||||
|
this.effect:SetActive(not isActive)
|
||||||
this.privilegeEffect:SetActive(isActive)
|
this.privilegeEffect:SetActive(isActive)
|
||||||
local colorStr = isActive and "#FFA278" or "#B7B7B7"
|
if isActive then
|
||||||
this.privilegeContent.text = "<color="..colorStr..Language[10596]
|
this.privilegeContent.text = "<color=#FFA278>极速探索特权:<size=40>每天增加免费<color=#F1C213>2次</color>,增加购买<color=#FFEBBD>8次</color></size></color>"
|
||||||
|
else
|
||||||
|
this.privilegeContent.text = "极速探索特权:<size=40>每天增加免费<color=#F1C213>2次</color>,增加购买<color=#FFEBBD>8次</color></size>"
|
||||||
|
end
|
||||||
if isActive then
|
if isActive then
|
||||||
local leftTime = PrivilegeManager.GetPrivilegeLeftTimeById(33)
|
local leftTime = PrivilegeManager.GetPrivilegeLeftTimeById(33)
|
||||||
this.privilegeTime.text = Language[10469]..GetLeftTimeStrByDeltaTime(leftTime)
|
this.privilegeTime.text = Language[10469]..GetLeftTimeStrByDeltaTime(leftTime)
|
||||||
|
|
Loading…
Reference in New Issue