修改四海副本的UI

onepiece_demo_arena
xiejun 2023-12-11 16:14:28 +08:00
parent f2f30a1513
commit 04dcb81b8a
7 changed files with 7256 additions and 16 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

View File

@ -0,0 +1,110 @@
fileFormatVersion: 2
guid: 1c280dce597bc4b429a5d234a4895626
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: 57
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: 2953674902b75d14aa26bcc7e06b497f
vertices: []
indices:
edges: []
weights: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:

View File

@ -4996,7 +4996,7 @@ GameObject:
- component: {fileID: 6160016379396933017}
- component: {fileID: 3641854736908445186}
m_Layer: 5
m_Name: TitleText (1)
m_Name: TitleDes
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0

View File

@ -319,7 +319,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
m_IsActive: 1
--- !u!224 &4690899789304725079
RectTransform:
m_ObjectHideFlags: 0
@ -36227,7 +36227,7 @@ MonoBehaviour:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_Sprite: {fileID: 21300000, guid: 916e7c2c09a2ad7498bb027780a8b302, type: 3}
m_Sprite: {fileID: 21300000, guid: 384d5ca6e3d45ce41b20c213155ef132, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
@ -37023,7 +37023,7 @@ MonoBehaviour:
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: "\u52A9\u6218"
m_Text: "\u5956\u52B1"
--- !u!114 &3929436943431344203
MonoBehaviour:
m_ObjectHideFlags: 0

View File

@ -10195,7 +10195,7 @@ MonoBehaviour:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_Sprite: {fileID: 21300000, guid: 916e7c2c09a2ad7498bb027780a8b302, type: 3}
m_Sprite: {fileID: 21300000, guid: 384d5ca6e3d45ce41b20c213155ef132, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
@ -20220,7 +20220,7 @@ RectTransform:
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: 9.9, y: -60.2}
m_AnchoredPosition: {x: 0, y: -60.2}
m_SizeDelta: {x: 160, y: 101.7}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &8746085494451723081
@ -20264,7 +20264,7 @@ MonoBehaviour:
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: "\u6218\u4EE4"
m_Text: "\u5956\u52B1"
--- !u!114 &5687948405175290871
MonoBehaviour:
m_ObjectHideFlags: 0
@ -42954,7 +42954,7 @@ RectTransform:
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: -85, y: -329}
m_AnchoredPosition: {x: 454, y: 619}
m_SizeDelta: {x: 180, y: 174}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &6527372038328811757
@ -43406,7 +43406,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
m_IsActive: 0
--- !u!224 &7636973305854988400
RectTransform:
m_ObjectHideFlags: 0

View File

@ -285,6 +285,7 @@ function this.SetData(root, data, ldata,state)
local tip=Util.GetGameObject(root,"Tip"):GetComponent("Text")
local power=Util.GetGameObject(root,"powerBtn/value"):GetComponent("Text")
local info=Util.GetGameObject(root,"TitleText"):GetComponent("Text")
local TitleDes=Util.GetGameObject(root,"TitleDes"):GetComponent("Text")
local goBtn=Util.GetGameObject(root,"GoBtn")
local cost=Util.GetGameObject(root,"cost")
local goBtnImage=goBtn:GetComponent("Image")
@ -344,13 +345,14 @@ function this.SetData(root, data, ldata,state)
--power.text = _power--string.format(Language[10288], _power)
--power.transform.parent.gameObject:SetActive(true)
info.text=_power
TitleDes.text=Language[10028]
tip.gameObject:SetActive(false)
type=1
elseif state==2 then
--power.text = _power --string.format(Language[10291], _power)
--goBtnText.text=Language[10292]
goBtnText.text=Language[10292]
goBtn:SetActive(false)
TitleDes.text=Language[10028]
tip.gameObject:SetActive(true)
tip.text="未达成"
info.text=_power
@ -361,9 +363,10 @@ function this.SetData(root, data, ldata,state)
--ssgoIconNum:SetActive(state==1 and freeTime<=0)
type=2
info.text=_power
-- goBtnText.text=Language[10289]
goBtnText.text=Language[10289]
-- goBtnImage.sprite=this.spLoader:LoadSprite("s_slbz_1anniuhuise")
goBtn:SetActive(false)
TitleDes.text=Language[10028]
tip.text="已达成"
tip.gameObject:SetActive(true)
--power.transform.parent.gameObject:SetActive(false)
@ -373,6 +376,7 @@ function this.SetData(root, data, ldata,state)
goBtn:SetActive(true)
type=2
goBtnText.text="可扫荡"
TitleDes.text="扫荡次数"
info.text=string.format("%s/%s次",buyTime+freeTime,maxBuyTime+maxFreeTime)
-- goBtnImage.sprite=this.spLoader:LoadSprite("s_slbz_1anniuhuangse")
tip.gameObject:SetActive(false)