修改四海副本的UI
parent
f2f30a1513
commit
04dcb81b8a
Binary file not shown.
After Width: | Height: | Size: 7.7 KiB |
|
@ -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:
|
|
@ -4996,7 +4996,7 @@ GameObject:
|
||||||
- component: {fileID: 6160016379396933017}
|
- component: {fileID: 6160016379396933017}
|
||||||
- component: {fileID: 3641854736908445186}
|
- component: {fileID: 3641854736908445186}
|
||||||
m_Layer: 5
|
m_Layer: 5
|
||||||
m_Name: TitleText (1)
|
m_Name: TitleDes
|
||||||
m_TagString: Untagged
|
m_TagString: Untagged
|
||||||
m_Icon: {fileID: 0}
|
m_Icon: {fileID: 0}
|
||||||
m_NavMeshLayer: 0
|
m_NavMeshLayer: 0
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -319,7 +319,7 @@ GameObject:
|
||||||
m_Icon: {fileID: 0}
|
m_Icon: {fileID: 0}
|
||||||
m_NavMeshLayer: 0
|
m_NavMeshLayer: 0
|
||||||
m_StaticEditorFlags: 0
|
m_StaticEditorFlags: 0
|
||||||
m_IsActive: 0
|
m_IsActive: 1
|
||||||
--- !u!224 &4690899789304725079
|
--- !u!224 &4690899789304725079
|
||||||
RectTransform:
|
RectTransform:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
@ -36227,7 +36227,7 @@ MonoBehaviour:
|
||||||
m_Calls: []
|
m_Calls: []
|
||||||
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
|
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
|
||||||
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
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_Type: 0
|
||||||
m_PreserveAspect: 0
|
m_PreserveAspect: 0
|
||||||
m_FillCenter: 1
|
m_FillCenter: 1
|
||||||
|
@ -37023,7 +37023,7 @@ MonoBehaviour:
|
||||||
m_HorizontalOverflow: 0
|
m_HorizontalOverflow: 0
|
||||||
m_VerticalOverflow: 0
|
m_VerticalOverflow: 0
|
||||||
m_LineSpacing: 1
|
m_LineSpacing: 1
|
||||||
m_Text: "\u52A9\u6218"
|
m_Text: "\u5956\u52B1"
|
||||||
--- !u!114 &3929436943431344203
|
--- !u!114 &3929436943431344203
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
|
|
@ -10195,7 +10195,7 @@ MonoBehaviour:
|
||||||
m_Calls: []
|
m_Calls: []
|
||||||
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
|
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
|
||||||
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
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_Type: 0
|
||||||
m_PreserveAspect: 0
|
m_PreserveAspect: 0
|
||||||
m_FillCenter: 1
|
m_FillCenter: 1
|
||||||
|
@ -20220,7 +20220,7 @@ RectTransform:
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
m_AnchorMax: {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_SizeDelta: {x: 160, y: 101.7}
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
--- !u!222 &8746085494451723081
|
--- !u!222 &8746085494451723081
|
||||||
|
@ -20264,7 +20264,7 @@ MonoBehaviour:
|
||||||
m_HorizontalOverflow: 0
|
m_HorizontalOverflow: 0
|
||||||
m_VerticalOverflow: 0
|
m_VerticalOverflow: 0
|
||||||
m_LineSpacing: 1
|
m_LineSpacing: 1
|
||||||
m_Text: "\u6218\u4EE4"
|
m_Text: "\u5956\u52B1"
|
||||||
--- !u!114 &5687948405175290871
|
--- !u!114 &5687948405175290871
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
@ -42954,7 +42954,7 @@ RectTransform:
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
m_AnchorMax: {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_SizeDelta: {x: 180, y: 174}
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
--- !u!222 &6527372038328811757
|
--- !u!222 &6527372038328811757
|
||||||
|
@ -43406,7 +43406,7 @@ GameObject:
|
||||||
m_Icon: {fileID: 0}
|
m_Icon: {fileID: 0}
|
||||||
m_NavMeshLayer: 0
|
m_NavMeshLayer: 0
|
||||||
m_StaticEditorFlags: 0
|
m_StaticEditorFlags: 0
|
||||||
m_IsActive: 1
|
m_IsActive: 0
|
||||||
--- !u!224 &7636973305854988400
|
--- !u!224 &7636973305854988400
|
||||||
RectTransform:
|
RectTransform:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
|
|
@ -285,6 +285,7 @@ function this.SetData(root, data, ldata,state)
|
||||||
local tip=Util.GetGameObject(root,"Tip"):GetComponent("Text")
|
local tip=Util.GetGameObject(root,"Tip"):GetComponent("Text")
|
||||||
local power=Util.GetGameObject(root,"powerBtn/value"):GetComponent("Text")
|
local power=Util.GetGameObject(root,"powerBtn/value"):GetComponent("Text")
|
||||||
local info=Util.GetGameObject(root,"TitleText"):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 goBtn=Util.GetGameObject(root,"GoBtn")
|
||||||
local cost=Util.GetGameObject(root,"cost")
|
local cost=Util.GetGameObject(root,"cost")
|
||||||
local goBtnImage=goBtn:GetComponent("Image")
|
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.text = _power--string.format(Language[10288], _power)
|
||||||
--power.transform.parent.gameObject:SetActive(true)
|
--power.transform.parent.gameObject:SetActive(true)
|
||||||
info.text=_power
|
info.text=_power
|
||||||
|
TitleDes.text=Language[10028]
|
||||||
tip.gameObject:SetActive(false)
|
tip.gameObject:SetActive(false)
|
||||||
type=1
|
type=1
|
||||||
elseif state==2 then
|
elseif state==2 then
|
||||||
--power.text = _power --string.format(Language[10291], _power)
|
--power.text = _power --string.format(Language[10291], _power)
|
||||||
--goBtnText.text=Language[10292]
|
goBtnText.text=Language[10292]
|
||||||
goBtn:SetActive(false)
|
goBtn:SetActive(false)
|
||||||
|
TitleDes.text=Language[10028]
|
||||||
tip.gameObject:SetActive(true)
|
tip.gameObject:SetActive(true)
|
||||||
tip.text="未达成"
|
tip.text="未达成"
|
||||||
info.text=_power
|
info.text=_power
|
||||||
|
@ -361,9 +363,10 @@ function this.SetData(root, data, ldata,state)
|
||||||
--ssgoIconNum:SetActive(state==1 and freeTime<=0)
|
--ssgoIconNum:SetActive(state==1 and freeTime<=0)
|
||||||
type=2
|
type=2
|
||||||
info.text=_power
|
info.text=_power
|
||||||
-- goBtnText.text=Language[10289]
|
goBtnText.text=Language[10289]
|
||||||
-- goBtnImage.sprite=this.spLoader:LoadSprite("s_slbz_1anniuhuise")
|
-- goBtnImage.sprite=this.spLoader:LoadSprite("s_slbz_1anniuhuise")
|
||||||
goBtn:SetActive(false)
|
goBtn:SetActive(false)
|
||||||
|
TitleDes.text=Language[10028]
|
||||||
tip.text="已达成"
|
tip.text="已达成"
|
||||||
tip.gameObject:SetActive(true)
|
tip.gameObject:SetActive(true)
|
||||||
--power.transform.parent.gameObject:SetActive(false)
|
--power.transform.parent.gameObject:SetActive(false)
|
||||||
|
@ -373,6 +376,7 @@ function this.SetData(root, data, ldata,state)
|
||||||
goBtn:SetActive(true)
|
goBtn:SetActive(true)
|
||||||
type=2
|
type=2
|
||||||
goBtnText.text="可扫荡"
|
goBtnText.text="可扫荡"
|
||||||
|
TitleDes.text="扫荡次数"
|
||||||
info.text=string.format("%s/%s次",buyTime+freeTime,maxBuyTime+maxFreeTime)
|
info.text=string.format("%s/%s次",buyTime+freeTime,maxBuyTime+maxFreeTime)
|
||||||
-- goBtnImage.sprite=this.spLoader:LoadSprite("s_slbz_1anniuhuangse")
|
-- goBtnImage.sprite=this.spLoader:LoadSprite("s_slbz_1anniuhuangse")
|
||||||
tip.gameObject:SetActive(false)
|
tip.gameObject:SetActive(false)
|
||||||
|
|
Loading…
Reference in New Issue