2025.10.10 battleBossblood boss血条
BIN
Assets/Content/Raw_Art/UI/UIBattle/boss_blodd_blue.png
Normal file
|
After Width: | Height: | Size: 892 B |
153
Assets/Content/Raw_Art/UI/UIBattle/boss_blodd_blue.png.meta
Normal file
@ -0,0 +1,153 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 187695783ef49284983b4cb170a0bd1e
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 13
|
||||
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
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 0
|
||||
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: 20, y: 0, z: 20, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 8
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
swizzle: 50462976
|
||||
cookieLightType: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 3
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: 12
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 1
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: iPhone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: 50
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 1
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: WebGL
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Android
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: 47
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 1
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 5e97eb03825dee720800000000000000
|
||||
internalID: 1537655665
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/Content/Raw_Art/UI/UIBattle/boss_blood_bg.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
153
Assets/Content/Raw_Art/UI/UIBattle/boss_blood_bg.png.meta
Normal file
@ -0,0 +1,153 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 88393b543808d4f4792a2195c0ba8793
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 13
|
||||
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
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 0
|
||||
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: 20, y: 0, z: 50, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 8
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
swizzle: 50462976
|
||||
cookieLightType: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 3
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: 12
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 1
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: iPhone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: 50
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 1
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: WebGL
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Android
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: 47
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 1
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 5e97eb03825dee720800000000000000
|
||||
internalID: 1537655665
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/Content/Raw_Art/UI/UIBattle/boss_blood_red.png
Normal file
|
After Width: | Height: | Size: 894 B |
153
Assets/Content/Raw_Art/UI/UIBattle/boss_blood_red.png.meta
Normal file
@ -0,0 +1,153 @@
|
||||
fileFormatVersion: 2
|
||||
guid: dd827f87fff43ac429b927ebba19401d
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 13
|
||||
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
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 0
|
||||
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: 20, y: 0, z: 20, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 8
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
swizzle: 50462976
|
||||
cookieLightType: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 3
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: 12
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 1
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: iPhone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: 50
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 1
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: WebGL
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Android
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: 47
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 1
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 5e97eb03825dee720800000000000000
|
||||
internalID: 1537655665
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/Content/Raw_Art/UI/UIBattle/boss_blood_yellow.png
Normal file
|
After Width: | Height: | Size: 881 B |
153
Assets/Content/Raw_Art/UI/UIBattle/boss_blood_yellow.png.meta
Normal file
@ -0,0 +1,153 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e8133d09a78f5f244a3033b4a41a9a1a
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 13
|
||||
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
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 0
|
||||
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: 20, y: 0, z: 20, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 8
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
swizzle: 50462976
|
||||
cookieLightType: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 3
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: 12
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 1
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: iPhone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: 50
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 1
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: WebGL
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Android
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: 47
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 1
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 5e97eb03825dee720800000000000000
|
||||
internalID: 1537655665
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/Content/Raw_Art/UI/UIBattle/boss_energy.png
Normal file
|
After Width: | Height: | Size: 273 B |
153
Assets/Content/Raw_Art/UI/UIBattle/boss_energy.png.meta
Normal file
@ -0,0 +1,153 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a3b4798878521ba4db93ede4f47ce601
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 13
|
||||
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
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 0
|
||||
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: 7, y: 0, z: 7, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 8
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
swizzle: 50462976
|
||||
cookieLightType: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 3
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: 12
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 1
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: iPhone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: 50
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 1
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: WebGL
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Android
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: 47
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 1
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 5e97eb03825dee720800000000000000
|
||||
internalID: 1537655665
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/Content/Raw_Art/UI/UIBattle/boss_head_frame.png
Normal file
|
After Width: | Height: | Size: 29 KiB |
153
Assets/Content/Raw_Art/UI/UIBattle/boss_head_frame.png.meta
Normal file
@ -0,0 +1,153 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7edd60b0ab0a91041900cd40e1773ce9
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 13
|
||||
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
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 0
|
||||
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
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
swizzle: 50462976
|
||||
cookieLightType: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 3
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: 12
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 1
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: iPhone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: 50
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 1
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: WebGL
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Android
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: 47
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 1
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 5e97eb03825dee720800000000000000
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/Content/Raw_Art/UI/UIBattle/boss_head_mask.png
Normal file
|
After Width: | Height: | Size: 3.8 KiB |
153
Assets/Content/Raw_Art/UI/UIBattle/boss_head_mask.png.meta
Normal file
@ -0,0 +1,153 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 45af03552d364be4d90650e30ee679b8
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 13
|
||||
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
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 0
|
||||
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
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
swizzle: 50462976
|
||||
cookieLightType: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 3
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: 12
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 1
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: iPhone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: 50
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 1
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: WebGL
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Android
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: 47
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 1
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 5e97eb03825dee720800000000000000
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/Content/Raw_Art/UI/UIBattle/boss_name_bg.png
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
153
Assets/Content/Raw_Art/UI/UIBattle/boss_name_bg.png.meta
Normal file
@ -0,0 +1,153 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 22a21d2caad085f4981d573e88745661
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 13
|
||||
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
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 0
|
||||
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
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
swizzle: 50462976
|
||||
cookieLightType: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 3
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: 12
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 1
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: iPhone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: 50
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 1
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: WebGL
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Android
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: 47
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 1
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 5e97eb03825dee720800000000000000
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
75
Assets/Editor/ExtendComponents/ExtendImageEditor.cs.cs
Normal file
@ -0,0 +1,75 @@
|
||||
using UnityEditor;
|
||||
using UnityEditor.AnimatedValues;
|
||||
using UnityEditor.UI;
|
||||
using UnityEngine.UI;
|
||||
|
||||
|
||||
[CustomEditor(typeof(ExtendImage), true), CanEditMultipleObjects]
|
||||
public class ExtendImageEditor : ImageEditor
|
||||
{
|
||||
private SerializedProperty m_Sprite;
|
||||
private SerializedProperty m_Type;
|
||||
private SerializedProperty m_PreserveAspect;
|
||||
private SerializedProperty m_UseSpriteMesh;
|
||||
|
||||
private AnimBool m_ShowImgType;
|
||||
private SerializedProperty m_FillMethod;
|
||||
private SerializedProperty m_SlicedClipMode;
|
||||
|
||||
protected override void OnEnable()
|
||||
{
|
||||
m_Sprite = serializedObject.FindProperty("m_Sprite");
|
||||
m_Type = serializedObject.FindProperty("m_Type");
|
||||
m_PreserveAspect = serializedObject.FindProperty("m_PreserveAspect");
|
||||
m_UseSpriteMesh = serializedObject.FindProperty("m_UseSpriteMesh");
|
||||
m_FillMethod = serializedObject.FindProperty("m_FillMethod");
|
||||
m_SlicedClipMode = serializedObject.FindProperty("m_SlicedClipMode");
|
||||
m_ShowImgType = new AnimBool(m_Sprite.objectReferenceValue != null);
|
||||
base.OnEnable();
|
||||
}
|
||||
|
||||
public override void OnInspectorGUI()
|
||||
{
|
||||
serializedObject.Update();
|
||||
SpriteGUI();
|
||||
AppearanceControlsGUI();
|
||||
RaycastControlsGUI();
|
||||
|
||||
m_ShowImgType.target = m_Sprite.objectReferenceValue != null;
|
||||
if (EditorGUILayout.BeginFadeGroup(m_ShowImgType.faded))
|
||||
TypeGUI();
|
||||
EditorGUILayout.EndFadeGroup();
|
||||
|
||||
SetShowNativeSize(false);
|
||||
if (EditorGUILayout.BeginFadeGroup(m_ShowNativeSize.faded))
|
||||
{
|
||||
EditorGUI.indentLevel++;
|
||||
|
||||
if ((Image.Type)m_Type.enumValueIndex == Image.Type.Simple)
|
||||
{
|
||||
EditorGUILayout.PropertyField(m_UseSpriteMesh);
|
||||
}
|
||||
if ((Image.Type)m_Type.enumValueIndex == Image.Type.Filled)
|
||||
{
|
||||
if ((Image.FillMethod)m_FillMethod.enumValueIndex == Image.FillMethod.Horizontal ||
|
||||
(Image.FillMethod)m_FillMethod.enumValueIndex == Image.FillMethod.Vertical)
|
||||
EditorGUILayout.PropertyField(m_SlicedClipMode);
|
||||
}
|
||||
|
||||
EditorGUILayout.PropertyField(m_PreserveAspect);
|
||||
EditorGUI.indentLevel--;
|
||||
}
|
||||
EditorGUILayout.EndFadeGroup();
|
||||
NativeSizeButtonGUI();
|
||||
|
||||
|
||||
serializedObject.ApplyModifiedProperties();
|
||||
}
|
||||
|
||||
private void SetShowNativeSize(bool instant)
|
||||
{
|
||||
var type = (Image.Type)m_Type.enumValueIndex;
|
||||
var showNativeSize = (type == Image.Type.Simple || type == Image.Type.Filled) && m_Sprite.objectReferenceValue != null;
|
||||
base.SetShowNativeSize(showNativeSize, instant);
|
||||
}
|
||||
}
|
||||
11
Assets/Editor/ExtendComponents/ExtendImageEditor.cs.cs.meta
Normal file
@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6df30801fb7d8c54c9066ae178891115
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@ -12,6 +12,7 @@
|
||||
|
||||
---@class BattleBossBlood__Generate_buffTemp
|
||||
---@field public gameObject UnityEngine.GameObject
|
||||
---@field public button UnityEngine.UI.Button
|
||||
---@field public image BattleBossBlood__Generate_buffTemp_image
|
||||
---@field public num BattleBossBlood__Generate_buffTemp_num
|
||||
|
||||
@ -24,17 +25,22 @@
|
||||
---@field public image UnityEngine.UI.Image
|
||||
---@field public button UnityEngine.UI.Button
|
||||
|
||||
---@class BattleBossBlood__Generate_bossName
|
||||
---@class BattleBossBlood__Generate_bossEnergy
|
||||
---@field public gameObject UnityEngine.GameObject
|
||||
---@field public text UnityEngine.UI.Text
|
||||
---@field public slider UnityEngine.UI.Slider
|
||||
|
||||
---@class BattleBossBlood__Generate_bossBlood
|
||||
---@field public gameObject UnityEngine.GameObject
|
||||
---@field public image UnityEngine.UI.Image
|
||||
---@field public slider UnityEngine.UI.Slider
|
||||
|
||||
---@class BattleBossBlood__Generate_bossBlood2
|
||||
---@field public gameObject UnityEngine.GameObject
|
||||
---@field public image UnityEngine.UI.Image
|
||||
---@field public slider UnityEngine.UI.Slider
|
||||
---@field public fill UnityEngine.GameObject
|
||||
|
||||
---@class BattleBossBlood__Generate_bossName
|
||||
---@field public gameObject UnityEngine.GameObject
|
||||
---@field public text TMPro.TextMeshProUGUI
|
||||
|
||||
---@class BattleBossBlood__Generate_bossBloodNode
|
||||
---@field public gameObject UnityEngine.GameObject
|
||||
@ -44,10 +50,11 @@
|
||||
---@field private gameObject UnityEngine.GameObject
|
||||
---@field private transform UnityEngine.Transform
|
||||
---@field private bossBloodNode BattleBossBlood__Generate_bossBloodNode
|
||||
---@field private bossName BattleBossBlood__Generate_bossName
|
||||
---@field private bossBlood2 BattleBossBlood__Generate_bossBlood2
|
||||
---@field private bossBlood BattleBossBlood__Generate_bossBlood
|
||||
---@field private bossEnergy BattleBossBlood__Generate_bossEnergy
|
||||
---@field private bloodNum UnityEngine.GameObject
|
||||
---@field private bossName BattleBossBlood__Generate_bossName
|
||||
---@field private bossIcon BattleBossBlood__Generate_bossIcon
|
||||
---@field private bossNature BattleBossBlood__Generate_bossNature
|
||||
---@field private buffBox UnityEngine.GameObject
|
||||
@ -83,6 +90,8 @@ function BattleBossBloodView:InitGenerate(Root, data)
|
||||
self:InitGenerate__11(Root,data)
|
||||
self:InitGenerate__12(Root,data)
|
||||
self:InitGenerate__13(Root,data)
|
||||
self:InitGenerate__14(Root,data)
|
||||
self:InitGenerate__15(Root,data)
|
||||
|
||||
|
||||
end
|
||||
@ -105,33 +114,73 @@ end
|
||||
---@private
|
||||
function BattleBossBloodView:InitGenerate__2(Root, data)
|
||||
--[[
|
||||
BossBloodAnim/BossBlood/BloodBar2
|
||||
BossBloodAnim/BossName/TextName
|
||||
--]]
|
||||
local tmp = Root:Find("BossBloodAnim/BossBlood/BloodBar2").gameObject
|
||||
local tmp = Root:Find("BossBloodAnim/BossName/TextName").gameObject
|
||||
if tolua.getpeer(tmp) == nil then
|
||||
tolua.setpeer(tmp, {})
|
||||
end
|
||||
self.bossBlood2 = tmp
|
||||
self.bossName = tmp
|
||||
|
||||
tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
|
||||
tmp.text = tmp:GetComponent(Enum.TypeInfo.TextMeshProUGUI)
|
||||
end
|
||||
|
||||
---@private
|
||||
function BattleBossBloodView:InitGenerate__3(Root, data)
|
||||
--[[
|
||||
BossBloodAnim/BossBlood/BloodBar
|
||||
BossBloodAnim/BossBlood/BloodRect/BloodBar2
|
||||
--]]
|
||||
local tmp = Root:Find("BossBloodAnim/BossBlood/BloodBar").gameObject
|
||||
local tmp = Root:Find("BossBloodAnim/BossBlood/BloodRect/BloodBar2").gameObject
|
||||
if tolua.getpeer(tmp) == nil then
|
||||
tolua.setpeer(tmp, {})
|
||||
end
|
||||
self.bossBlood2 = tmp
|
||||
|
||||
tmp.slider = tmp:GetComponent(Enum.TypeInfo.Slider)
|
||||
end
|
||||
|
||||
---@private
|
||||
function BattleBossBloodView:InitGenerate__4(Root, data)
|
||||
--[[
|
||||
BossBloodAnim/BossBlood/BloodRect/BloodBar2/Fill
|
||||
--]]
|
||||
local tmp = Root:Find("BossBloodAnim/BossBlood/BloodRect/BloodBar2/Fill").gameObject
|
||||
if tolua.getpeer(tmp) == nil then
|
||||
tolua.setpeer(tmp, {})
|
||||
end
|
||||
self.bossBlood2.fill = tmp
|
||||
end
|
||||
|
||||
---@private
|
||||
function BattleBossBloodView:InitGenerate__5(Root, data)
|
||||
--[[
|
||||
BossBloodAnim/BossBlood/BloodRect/BloodBar
|
||||
--]]
|
||||
local tmp = Root:Find("BossBloodAnim/BossBlood/BloodRect/BloodBar").gameObject
|
||||
if tolua.getpeer(tmp) == nil then
|
||||
tolua.setpeer(tmp, {})
|
||||
end
|
||||
self.bossBlood = tmp
|
||||
|
||||
tmp.image = tmp:GetComponent(Enum.TypeInfo.Image)
|
||||
tmp.slider = tmp:GetComponent(Enum.TypeInfo.Slider)
|
||||
end
|
||||
|
||||
---@private
|
||||
function BattleBossBloodView:InitGenerate__4(Root, data)
|
||||
function BattleBossBloodView:InitGenerate__6(Root, data)
|
||||
--[[
|
||||
BossBloodAnim/BossBlood/BloodRect/BossEnergy
|
||||
--]]
|
||||
local tmp = Root:Find("BossBloodAnim/BossBlood/BloodRect/BossEnergy").gameObject
|
||||
if tolua.getpeer(tmp) == nil then
|
||||
tolua.setpeer(tmp, {})
|
||||
end
|
||||
self.bossEnergy = tmp
|
||||
|
||||
tmp.slider = tmp:GetComponent(Enum.TypeInfo.Slider)
|
||||
end
|
||||
|
||||
---@private
|
||||
function BattleBossBloodView:InitGenerate__7(Root, data)
|
||||
--[[
|
||||
BossBloodAnim/BossBlood/num
|
||||
--]]
|
||||
@ -143,25 +192,11 @@ function BattleBossBloodView:InitGenerate__4(Root, data)
|
||||
end
|
||||
|
||||
---@private
|
||||
function BattleBossBloodView:InitGenerate__5(Root, data)
|
||||
function BattleBossBloodView:InitGenerate__8(Root, data)
|
||||
--[[
|
||||
BossBloodAnim/BossBlood/BossName/TextName
|
||||
BossBloodAnim/BossHead/mask/headboss
|
||||
--]]
|
||||
local tmp = Root:Find("BossBloodAnim/BossBlood/BossName/TextName").gameObject
|
||||
if tolua.getpeer(tmp) == nil then
|
||||
tolua.setpeer(tmp, {})
|
||||
end
|
||||
self.bossName = tmp
|
||||
|
||||
tmp.text = tmp:GetComponent(Enum.TypeInfo.Text)
|
||||
end
|
||||
|
||||
---@private
|
||||
function BattleBossBloodView:InitGenerate__6(Root, data)
|
||||
--[[
|
||||
BossBloodAnim/BossHead/headboss
|
||||
--]]
|
||||
local tmp = Root:Find("BossBloodAnim/BossHead/headboss").gameObject
|
||||
local tmp = Root:Find("BossBloodAnim/BossHead/mask/headboss").gameObject
|
||||
if tolua.getpeer(tmp) == nil then
|
||||
tolua.setpeer(tmp, {})
|
||||
end
|
||||
@ -173,7 +208,7 @@ function BattleBossBloodView:InitGenerate__6(Root, data)
|
||||
end
|
||||
|
||||
---@private
|
||||
function BattleBossBloodView:InitGenerate__7(Root, data)
|
||||
function BattleBossBloodView:InitGenerate__9(Root, data)
|
||||
--[[
|
||||
BossBloodAnim/BossHead/nature
|
||||
--]]
|
||||
@ -187,7 +222,7 @@ function BattleBossBloodView:InitGenerate__7(Root, data)
|
||||
end
|
||||
|
||||
---@private
|
||||
function BattleBossBloodView:InitGenerate__8(Root, data)
|
||||
function BattleBossBloodView:InitGenerate__10(Root, data)
|
||||
--[[
|
||||
BossBloodAnim/BossBuff
|
||||
--]]
|
||||
@ -199,7 +234,7 @@ function BattleBossBloodView:InitGenerate__8(Root, data)
|
||||
end
|
||||
|
||||
---@private
|
||||
function BattleBossBloodView:InitGenerate__9(Root, data)
|
||||
function BattleBossBloodView:InitGenerate__11(Root, data)
|
||||
--[[
|
||||
BossBloodAnim/BossBuff/BuffItem
|
||||
--]]
|
||||
@ -208,10 +243,12 @@ function BattleBossBloodView:InitGenerate__9(Root, data)
|
||||
tolua.setpeer(tmp, {})
|
||||
end
|
||||
self.buffTemp = tmp
|
||||
|
||||
tmp.button = tmp:GetComponent(Enum.TypeInfo.Button)
|
||||
end
|
||||
|
||||
---@private
|
||||
function BattleBossBloodView:InitGenerate__10(Root, data)
|
||||
function BattleBossBloodView:InitGenerate__12(Root, data)
|
||||
--[[
|
||||
BossBloodAnim/BossBuff/BuffItem/Image
|
||||
--]]
|
||||
@ -225,7 +262,7 @@ function BattleBossBloodView:InitGenerate__10(Root, data)
|
||||
end
|
||||
|
||||
---@private
|
||||
function BattleBossBloodView:InitGenerate__11(Root, data)
|
||||
function BattleBossBloodView:InitGenerate__13(Root, data)
|
||||
--[[
|
||||
BossBloodAnim/BossBuff/BuffItem/num
|
||||
--]]
|
||||
@ -239,7 +276,7 @@ function BattleBossBloodView:InitGenerate__11(Root, data)
|
||||
end
|
||||
|
||||
---@private
|
||||
function BattleBossBloodView:InitGenerate__12(Root, data)
|
||||
function BattleBossBloodView:InitGenerate__14(Root, data)
|
||||
--[[
|
||||
BossBloodAnim/BattleTime/LeftBattleTime
|
||||
--]]
|
||||
@ -253,7 +290,7 @@ function BattleBossBloodView:InitGenerate__12(Root, data)
|
||||
end
|
||||
|
||||
---@private
|
||||
function BattleBossBloodView:InitGenerate__13(Root, data)
|
||||
function BattleBossBloodView:InitGenerate__15(Root, data)
|
||||
--[[
|
||||
BossBloodAnim/BattleTime/infinite
|
||||
--]]
|
||||
@ -272,10 +309,17 @@ function BattleBossBloodView:GenerateDestroy()
|
||||
if tolua.getpeer(self.buffTemp.image) ~= nil then
|
||||
tolua.setpeer(self.buffTemp.image, nil)
|
||||
end
|
||||
if tolua.getpeer(self.bossBlood2.fill) ~= nil then
|
||||
tolua.setpeer(self.bossBlood2.fill, nil)
|
||||
end
|
||||
if tolua.getpeer(self.bossBloodNode) ~= nil then
|
||||
tolua.setpeer(self.bossBloodNode, nil)
|
||||
end
|
||||
self.bossBloodNode = nil
|
||||
if tolua.getpeer(self.bossName) ~= nil then
|
||||
tolua.setpeer(self.bossName, nil)
|
||||
end
|
||||
self.bossName = nil
|
||||
if tolua.getpeer(self.bossBlood2) ~= nil then
|
||||
tolua.setpeer(self.bossBlood2, nil)
|
||||
end
|
||||
@ -284,14 +328,14 @@ function BattleBossBloodView:GenerateDestroy()
|
||||
tolua.setpeer(self.bossBlood, nil)
|
||||
end
|
||||
self.bossBlood = nil
|
||||
if tolua.getpeer(self.bossEnergy) ~= nil then
|
||||
tolua.setpeer(self.bossEnergy, nil)
|
||||
end
|
||||
self.bossEnergy = nil
|
||||
if tolua.getpeer(self.bloodNum) ~= nil then
|
||||
tolua.setpeer(self.bloodNum, nil)
|
||||
end
|
||||
self.bloodNum = nil
|
||||
if tolua.getpeer(self.bossName) ~= nil then
|
||||
tolua.setpeer(self.bossName, nil)
|
||||
end
|
||||
self.bossName = nil
|
||||
if tolua.getpeer(self.bossIcon) ~= nil then
|
||||
tolua.setpeer(self.bossIcon, nil)
|
||||
end
|
||||
|
||||
@ -45,8 +45,8 @@ function BattleBossBloodPart:Show(bossActor,bossName,life,maxLife,skillParam)
|
||||
self.totalTime = GlobalConfig.Instance:GetConfigIntValue(3)
|
||||
self.leftTime = self.totalTime
|
||||
|
||||
self.viewLua.bossBlood2.image.fillAmount = 1
|
||||
self.viewLua.bossBlood.image.fillAmount = 1
|
||||
self.viewLua.bossBlood2.slider.value = 1
|
||||
self.viewLua.bossBlood.slider.value = 1
|
||||
self.viewLua.bossBloodNode.animator:Play("BossBloddShow")
|
||||
|
||||
self:SetBossBattleInfo(bossName,bossActor.HeadIcon)
|
||||
@ -65,8 +65,8 @@ end
|
||||
function BattleBossBloodPart:OnCloneNewBoss(bossName,life,maxLife,skillParam)
|
||||
self.lastLife = life
|
||||
|
||||
self.viewLua.bossBlood2.image.fillAmount = 1
|
||||
self.viewLua.bossBlood.image.fillAmount = 1
|
||||
self.viewLua.bossBlood2.slider.value = 1
|
||||
self.viewLua.bossBlood.slider.value = 1
|
||||
self.viewLua.bossName.text.text = bossName
|
||||
end
|
||||
|
||||
@ -125,7 +125,7 @@ function BattleBossBloodPart:SetBossBattleInfo(bossName,bossIcon)
|
||||
end
|
||||
|
||||
function BattleBossBloodPart:HideBossBattleInfo()
|
||||
LuaBattleBridge.SetTweenFillAmount(self.viewLua.bossBlood2,false)
|
||||
LuaBattleBridge.SetTweenFillAmount(self.viewLua.bossBlood2.fill,false)
|
||||
self:Clear()
|
||||
end
|
||||
|
||||
@ -137,8 +137,10 @@ function BattleBossBloodPart:OnRefreshBossLife(life,maxLife)
|
||||
|
||||
self.lastLife = life
|
||||
|
||||
self.viewLua.bossBlood.image.fillAmount = life / maxLife
|
||||
LuaBattleBridge.TweemFillAmount(self.viewLua.bossBlood2,life / maxLife,0.5)
|
||||
self.viewLua.bossBlood.slider.value = life / maxLife
|
||||
--田正阳标记:这里修改血量变化动画持续时间
|
||||
local duration=1
|
||||
LuaBattleBridge.TweemFillAmount(self.viewLua.bossBlood2.fill,life / maxLife,duration)
|
||||
|
||||
if life == 0 then
|
||||
ManagerContainer.LuaEventMgr:Dispatch(UIEventNames.EID_Refresh_Boss_Dead)
|
||||
|
||||
187
Assets/Src/ExtendComponents/ExtendImage.cs
Normal file
@ -0,0 +1,187 @@
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
[AddComponentMenu("UI/ExtendImage")]
|
||||
public class ExtendImage : Image
|
||||
{
|
||||
[SerializeField]
|
||||
private bool m_SlicedClipMode = false;
|
||||
|
||||
protected override void OnPopulateMesh(VertexHelper vh)
|
||||
{
|
||||
switch (type)
|
||||
{
|
||||
case Type.Filled when m_SlicedClipMode && (fillMethod == FillMethod.Horizontal || fillMethod == FillMethod.Vertical) && hasBorder:
|
||||
GenerateSlicedSprite(vh);
|
||||
break;
|
||||
default:
|
||||
base.OnPopulateMesh(vh);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
private Vector2[] s_VertScratch = new Vector2[4];
|
||||
private Vector2[] s_UVScratch = new Vector2[4];
|
||||
|
||||
private void GenerateSlicedSprite(VertexHelper toFill)
|
||||
{
|
||||
var activeSprite = overrideSprite ?? sprite;
|
||||
|
||||
Vector4 outer, inner, padding, border;
|
||||
|
||||
if (activeSprite != null)
|
||||
{
|
||||
outer = UnityEngine.Sprites.DataUtility.GetOuterUV(activeSprite);
|
||||
inner = UnityEngine.Sprites.DataUtility.GetInnerUV(activeSprite);
|
||||
padding = UnityEngine.Sprites.DataUtility.GetPadding(activeSprite);
|
||||
border = activeSprite.border;
|
||||
}
|
||||
else
|
||||
{
|
||||
outer = Vector4.zero;
|
||||
inner = Vector4.zero;
|
||||
padding = Vector4.zero;
|
||||
border = Vector4.zero;
|
||||
}
|
||||
Rect rect = GetPixelAdjustedRect();
|
||||
Vector4 adjustedBorders = GetAdjustedBorders(border / pixelsPerUnit, rect);
|
||||
padding = padding / pixelsPerUnit;
|
||||
|
||||
s_VertScratch[0] = new Vector2(padding.x, padding.y);
|
||||
s_VertScratch[3] = new Vector2(rect.width - padding.z, rect.height - padding.w);
|
||||
|
||||
s_VertScratch[1].x = adjustedBorders.x;
|
||||
s_VertScratch[1].y = adjustedBorders.y;
|
||||
|
||||
s_VertScratch[2].x = rect.width - adjustedBorders.z;
|
||||
s_VertScratch[2].y = rect.height - adjustedBorders.w;
|
||||
|
||||
for (int i = 0; i < 4; ++i)
|
||||
{
|
||||
s_VertScratch[i].x += rect.x;
|
||||
s_VertScratch[i].y += rect.y;
|
||||
}
|
||||
|
||||
s_UVScratch[0] = new Vector2(outer.x, outer.y);
|
||||
s_UVScratch[1] = new Vector2(inner.x, inner.y);
|
||||
s_UVScratch[2] = new Vector2(inner.z, inner.w);
|
||||
s_UVScratch[3] = new Vector2(outer.z, outer.w);
|
||||
|
||||
float xLength = s_VertScratch[3].x - s_VertScratch[0].x;
|
||||
float yLength = s_VertScratch[3].y - s_VertScratch[0].y;
|
||||
float len1XRatio = (s_VertScratch[1].x - s_VertScratch[0].x) / xLength;
|
||||
float len1YRatio = (s_VertScratch[1].y - s_VertScratch[0].y) / yLength;
|
||||
float len2XRatio = (s_VertScratch[2].x - s_VertScratch[1].x) / xLength;
|
||||
float len2YRatio = (s_VertScratch[2].y - s_VertScratch[1].y) / yLength;
|
||||
float len3XRatio = (s_VertScratch[3].x - s_VertScratch[2].x) / xLength;
|
||||
float len3YRatio = (s_VertScratch[3].y - s_VertScratch[2].y) / yLength;
|
||||
int xLen = 3, yLen = 3;
|
||||
if (fillMethod == FillMethod.Horizontal)
|
||||
{
|
||||
if (fillAmount >= (len1XRatio + len2XRatio))
|
||||
{
|
||||
float ratio = 1 - (fillAmount - (len1XRatio + len2XRatio)) / len3XRatio;
|
||||
s_VertScratch[3].x = s_VertScratch[3].x - (s_VertScratch[3].x - s_VertScratch[2].x) * ratio;
|
||||
s_UVScratch[3].x = s_UVScratch[3].x - (s_UVScratch[3].x - s_UVScratch[2].x) * ratio;
|
||||
}
|
||||
else if (fillAmount >= len1XRatio)
|
||||
{
|
||||
xLen = 2;
|
||||
float ratio = 1 - (fillAmount - len1XRatio) / len2XRatio;
|
||||
s_VertScratch[2].x = s_VertScratch[2].x - (s_VertScratch[2].x - s_VertScratch[1].x) * ratio;
|
||||
}
|
||||
else
|
||||
{
|
||||
xLen = 1;
|
||||
float ratio = 1 - fillAmount / len1XRatio;
|
||||
s_VertScratch[1].x = s_VertScratch[1].x - (s_VertScratch[1].x - s_VertScratch[0].x) * ratio;
|
||||
s_UVScratch[1].x = s_UVScratch[1].x - (s_UVScratch[1].x - s_UVScratch[0].x) * ratio;
|
||||
}
|
||||
}
|
||||
else if (fillMethod == FillMethod.Vertical)
|
||||
{
|
||||
if (fillAmount >= (len1YRatio + len2YRatio))
|
||||
{
|
||||
float ratio = 1 - (fillAmount - (len1YRatio + len2YRatio)) / len3YRatio;
|
||||
s_VertScratch[3].y = s_VertScratch[3].y - (s_VertScratch[3].y - s_VertScratch[2].y) * ratio;
|
||||
s_UVScratch[3].y = s_UVScratch[3].y - (s_UVScratch[3].y - s_UVScratch[2].y) * ratio;
|
||||
}
|
||||
else if (fillAmount >= len1YRatio)
|
||||
{
|
||||
yLen = 2;
|
||||
float ratio = 1 - (fillAmount - len1YRatio) / len2YRatio;
|
||||
s_VertScratch[2].y = s_VertScratch[2].y - (s_VertScratch[2].y - s_VertScratch[1].y) * ratio;
|
||||
}
|
||||
else
|
||||
{
|
||||
yLen = 1;
|
||||
float ratio = 1 - fillAmount / len1YRatio;
|
||||
s_VertScratch[1].y = s_VertScratch[1].y - (s_VertScratch[1].y - s_VertScratch[0].y) * ratio;
|
||||
s_UVScratch[1].y = s_UVScratch[1].y - (s_UVScratch[1].y - s_UVScratch[0].y) * ratio;
|
||||
}
|
||||
}
|
||||
|
||||
toFill.Clear();
|
||||
|
||||
for (int x = 0; x < xLen; ++x)
|
||||
{
|
||||
int x2 = x + 1;
|
||||
|
||||
for (int y = 0; y < yLen; ++y)
|
||||
{
|
||||
if (!fillCenter && x == 1 && y == 1)
|
||||
continue;
|
||||
|
||||
int y2 = y + 1;
|
||||
|
||||
|
||||
AddQuad(toFill,
|
||||
new Vector2(s_VertScratch[x].x, s_VertScratch[y].y),
|
||||
new Vector2(s_VertScratch[x2].x, s_VertScratch[y2].y),
|
||||
color,
|
||||
new Vector2(s_UVScratch[x].x, s_UVScratch[y].y),
|
||||
new Vector2(s_UVScratch[x2].x, s_UVScratch[y2].y));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static void AddQuad(VertexHelper vertexHelper, Vector2 posMin, Vector2 posMax, Color32 color, Vector2 uvMin, Vector2 uvMax)
|
||||
{
|
||||
int startIndex = vertexHelper.currentVertCount;
|
||||
|
||||
vertexHelper.AddVert(new Vector3(posMin.x, posMin.y, 0), color, new Vector2(uvMin.x, uvMin.y));
|
||||
vertexHelper.AddVert(new Vector3(posMin.x, posMax.y, 0), color, new Vector2(uvMin.x, uvMax.y));
|
||||
vertexHelper.AddVert(new Vector3(posMax.x, posMax.y, 0), color, new Vector2(uvMax.x, uvMax.y));
|
||||
vertexHelper.AddVert(new Vector3(posMax.x, posMin.y, 0), color, new Vector2(uvMax.x, uvMin.y));
|
||||
|
||||
vertexHelper.AddTriangle(startIndex, startIndex + 1, startIndex + 2);
|
||||
vertexHelper.AddTriangle(startIndex + 2, startIndex + 3, startIndex);
|
||||
}
|
||||
|
||||
private Vector4 GetAdjustedBorders(Vector4 border, Rect adjustedRect)
|
||||
{
|
||||
Rect originalRect = rectTransform.rect;
|
||||
|
||||
for (int axis = 0; axis <= 1; axis++)
|
||||
{
|
||||
float borderScaleRatio;
|
||||
|
||||
if (originalRect.size[axis] != 0)
|
||||
{
|
||||
borderScaleRatio = adjustedRect.size[axis] / originalRect.size[axis];
|
||||
border[axis] *= borderScaleRatio;
|
||||
border[axis + 2] *= borderScaleRatio;
|
||||
}
|
||||
|
||||
float combinedBorders = border[axis] + border[axis + 2];
|
||||
if (adjustedRect.size[axis] < combinedBorders && combinedBorders != 0)
|
||||
{
|
||||
borderScaleRatio = adjustedRect.size[axis] / combinedBorders;
|
||||
border[axis] *= borderScaleRatio;
|
||||
border[axis + 2] *= borderScaleRatio;
|
||||
}
|
||||
}
|
||||
return border;
|
||||
}
|
||||
}
|
||||
|
||||
11
Assets/Src/ExtendComponents/ExtendImage.cs.meta
Normal file
@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 365078400b3e1ad48a96ea320d1e2690
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||