Commit 78b7a29a authored by shujianhe's avatar shujianhe

ZipUtility.cs 压缩和解压

优化游戏进入速度
添加点击区域后直接显示
优化点击区域后动画显示部分性能
parent 77855ee5
fileFormatVersion: 2
guid: e763f9a629fd5f645bb11276aa796b4c
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 12
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: 1
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 1
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: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Server
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: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
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:
fileFormatVersion: 2
guid: 624b4e4f81ce13d41adf950afc5e71b4
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 12
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: 1
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 1
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: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Server
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: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
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:
fileFormatVersion: 2
guid: ee4d009313c09a74d83967143bb83c02
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 12
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: 1
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 1
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: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Server
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: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
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:
fileFormatVersion: 2
guid: 97f577b3c49ae354e926b0e61431f053
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 12
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: 1
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 1
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: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Server
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: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
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:
fileFormatVersion: 2
guid: 7aa23db8df7642c4aa832e0923394ea8
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 12
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: 1
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 1
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: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Server
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: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
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:
fileFormatVersion: 2
guid: 7261b9487930d68449eb1e16126beabc
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 12
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: 1
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: 1
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 1
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 0
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: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Server
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: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
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:
fileFormatVersion: 2
guid: c63e9ad99cd7ad347816a951ec4b64af
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 12
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: 1
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 1
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: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Server
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: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
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:
fileFormatVersion: 2
guid: 84c9229b094295b4ebdbe163fc9e742c
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 12
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: 1
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 1
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: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Server
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: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
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:
fileFormatVersion: 2
guid: 6a7c0079bcfdabf4ab3e8b132f43a294
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 12
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: 1
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 1
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: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Server
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: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
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:
fileFormatVersion: 2
guid: 7fcbb809c58b4e041920e03ae56cecbb
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 12
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: 1
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 1
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: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Server
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: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
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:
fileFormatVersion: 2
guid: eafbc2c184cd7844693945d4867eb011
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 12
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: 1
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 1
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: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Server
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: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
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:
fileFormatVersion: 2
guid: 41e9dc8b4f76f1c4591f4dfad681d527
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 12
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: 1
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 1
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: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Server
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: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
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:
fileFormatVersion: 2
guid: 7656aa77858fcc94aae11908f30b1652
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 12
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: 1
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 1
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: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Server
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: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
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:
fileFormatVersion: 2
guid: e41d5b6cab780f147b46e4715081fb5a
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 12
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: 1
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 1
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: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Server
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: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
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:
fileFormatVersion: 2
guid: 98fe11f2c448cbe49846ab02a7d81aa7
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 12
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: 1
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 0
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 1
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: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Server
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: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
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:
fileFormatVersion: 2
guid: 67be3f4c928dece48bbe7a22016f6cd4
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 12
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: 1
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 1
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: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Server
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: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
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:
fileFormatVersion: 2
guid: be0a2958b7f371e44a4a94405c10a423
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 12
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: 1
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 1
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: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Server
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: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
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:
fileFormatVersion: 2
guid: aca50f64d6763364aa2281a1fbe15070
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 12
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: 1
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 0
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 1
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: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Server
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: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
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:
fileFormatVersion: 2
guid: e248a64f6edb4c34f939e54bfcc24bf1
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 12
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: 1
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 1
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: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Server
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: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
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:
...@@ -404,6 +404,7 @@ RectTransform: ...@@ -404,6 +404,7 @@ RectTransform:
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: m_Children:
- {fileID: 5685663661502957755}
- {fileID: 6476937435851580628} - {fileID: 6476937435851580628}
- {fileID: 3897279381017416766} - {fileID: 3897279381017416766}
- {fileID: 5359058762449102090} - {fileID: 5359058762449102090}
...@@ -594,6 +595,82 @@ MonoBehaviour: ...@@ -594,6 +595,82 @@ MonoBehaviour:
m_FillOrigin: 0 m_FillOrigin: 0
m_UseSpriteMesh: 0 m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1 m_PixelsPerUnitMultiplier: 1
--- !u!1 &966406415947144623
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 5685663661502957755}
- component: {fileID: 3421000113890224223}
- component: {fileID: 445159793341180119}
m_Layer: 0
m_Name: back
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &5685663661502957755
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 966406415947144623}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 2696017519285237368}
m_RootOrder: -1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 800}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &3421000113890224223
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 966406415947144623}
m_CullTransparentMesh: 1
--- !u!114 &445159793341180119
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 966406415947144623}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 0.8254717, b: 0.8254717, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 0}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!1 &1510817547163903128 --- !u!1 &1510817547163903128
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
...@@ -2654,15 +2731,15 @@ MonoBehaviour: ...@@ -2654,15 +2731,15 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 1, g: 0.7028302, b: 0.7028302, a: 1} m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1 m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1 m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
m_Calls: [] m_Calls: []
m_Sprite: {fileID: 0} m_Sprite: {fileID: 21300000, guid: 6ef80ceddf6ea4e3eab816c1cf64c4ea, type: 3}
m_Type: 0 m_Type: 1
m_PreserveAspect: 0 m_PreserveAspect: 0
m_FillCenter: 1 m_FillCenter: 1
m_FillMethod: 4 m_FillMethod: 4
...@@ -2848,6 +2925,8 @@ MonoBehaviour: ...@@ -2848,6 +2925,8 @@ MonoBehaviour:
- {fileID: 5746595262711090281} - {fileID: 5746595262711090281}
DebugSprites: [] DebugSprites: []
resetBtn: {fileID: 5746595262711090281} resetBtn: {fileID: 5746595262711090281}
oleMovePos: {x: 0, y: 0}
scaleConstPos: {x: 0, y: 0}
--- !u!222 &8127201246377606253 --- !u!222 &8127201246377606253
CanvasRenderer: CanvasRenderer:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
...@@ -3388,7 +3467,7 @@ MonoBehaviour: ...@@ -3388,7 +3467,7 @@ MonoBehaviour:
m_HandleRect: {fileID: 2545109457425451164} m_HandleRect: {fileID: 2545109457425451164}
m_Direction: 0 m_Direction: 0
m_Value: 1 m_Value: 1
m_Size: 1 m_Size: 0.9999999
m_NumberOfSteps: 0 m_NumberOfSteps: 0
m_OnValueChanged: m_OnValueChanged:
m_PersistentCalls: m_PersistentCalls:
......
...@@ -21,7 +21,7 @@ TextureImporter: ...@@ -21,7 +21,7 @@ TextureImporter:
heightScale: 0.25 heightScale: 0.25
normalMapFilter: 0 normalMapFilter: 0
flipGreenChannel: 0 flipGreenChannel: 0
isReadable: 0 isReadable: 1
streamingMipmaps: 0 streamingMipmaps: 0
streamingMipmapsPriority: 0 streamingMipmapsPriority: 0
vTOnly: 0 vTOnly: 0
...@@ -71,7 +71,7 @@ TextureImporter: ...@@ -71,7 +71,7 @@ TextureImporter:
buildTarget: DefaultTexturePlatform buildTarget: DefaultTexturePlatform
maxTextureSize: 2048 maxTextureSize: 2048
resizeAlgorithm: 0 resizeAlgorithm: 0
textureFormat: -1 textureFormat: 4
textureCompression: 1 textureCompression: 1
compressionQuality: 50 compressionQuality: 50
crunchedCompression: 0 crunchedCompression: 0
......
fileFormatVersion: 2
guid: 66ab0df8d43b06f419c25040ffc631a0
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 12
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: 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
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: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Server
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: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
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:
<svg xmlns="http://www.w3.org/2000/svg" width="303.71" height="525.42" viewBox="0 0 303.71 525.42" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="m42.49,524.23c0,.66.53,1.19,1.19,1.19h258.84c.66,0,1.19-.53,1.19-1.19s-.53-1.19-1.19-1.19H43.68c-.66,0-1.19.53-1.19,1.19Z" fill="#484565"/><path d="m178.61.33s-21.91-5.31-35.17,26.77c-11.05,26.74-18.89,41.02-9.92,50.72,3.21,3.47,7.79,5.34,12.51,5.5l50.5,1.66s18.54-48.62,7.27-66.2C192.53,1.19,178.61.33,178.61.33Z" fill="#2f2e41"/><polygon points="189.07 80.94 164.78 88.93 164.78 53.96 186.82 53.96 189.07 80.94" fill="#f6a6a9"/><polygon points="170.43 504.69 147.67 504.69 134.48 383.11 169.65 383.11 170.43 504.69" fill="#f6a6a9"/><path d="m125.51,524.23c-2.39,0-4.52-.06-6.13-.21-6.05-.55-11.81-5.01-14.71-7.62-1.3-1.17-1.72-3.04-1.04-4.65h0c.49-1.16,1.46-2.02,2.66-2.36l15.97-4.56,25.86-17.45.29.52c.11.19,2.65,4.77,3.5,7.86.32,1.18.24,2.16-.25,2.91-.34.53-.81.83-1.2,1,.47.49,1.94,1.48,6.45,2.2,6.6,1.05,7.98-5.79,8.04-6.08l.04-.23.2-.13c3.14-2.02,5.07-2.94,5.74-2.75.42.12,1.11.33,2.98,18.95.19.58,1.5,4.87.61,8.96-.97,4.46-20.44,2.92-24.34,2.57-.11.01-14.69,1.05-24.68,1.05v.02h.01Z" fill="#2f2e41"/><polygon points="221.83 504.69 199.08 504.69 185.88 383.11 221.05 383.11 221.83 504.69" fill="#f6a6a9"/><path d="m176.92,524.23c-2.39,0-4.52-.06-6.13-.21-6.05-.55-11.81-5.01-14.71-7.62-1.3-1.17-1.72-3.04-1.04-4.65h0c.49-1.16,1.46-2.02,2.66-2.36l15.97-4.56,25.86-17.45.29.52c.11.19,2.65,4.77,3.5,7.86.32,1.18.24,2.16-.25,2.91-.34.53-.81.83-1.2,1,.47.49,1.94,1.48,6.45,2.2,6.6,1.05,7.98-5.79,8.04-6.08l.04-.23.2-.13c3.14-2.02,5.07-2.94,5.74-2.75.42.12,1.11.33,2.98,18.95.19.58,1.5,4.87.61,8.96-.97,4.46-20.44,2.92-24.34,2.57-.11.01-14.69,1.05-24.68,1.05v.02h.01Z" fill="#2f2e41"/><polygon points="228.38 206.07 117.82 206.07 157.56 75.28 201.64 75.28 228.38 206.07" fill="#dddedf"/><path id="uuid-91f12725-4651-4192-855e-1b1e45ba96a1-35" d="m114.81,279.46c-1.32,8.01-6.66,13.76-11.93,12.83-5.27-.93-8.48-8.17-7.16-16.18.48-3.21,1.75-6.24,3.7-8.85l6.02-33.87,16.39,3.43-7.68,33.02c1.01,3.12,1.24,6.42.67,9.62h0s0,0,0,0Z" fill="#f6a6a9"/><path d="m164.52,75.3s-27.46-.72-30.35,6.5c-2.89,7.23-36.85,179.21-36.85,179.21h22.4s44.8-185.71,44.8-185.71Z" fill="#dddedf"/><circle cx="170.35" cy="38.01" r="24.21" fill="#f6a6a9"/><path d="m174.15,8.32s-31.08,46.23-25.85,75.07l-18.08-11.33s12.73-58.38,31.7-62.91l12.23-.84h0s0,.01,0,.01Z" fill="#2f2e41"/><path d="m205.4,206.07h-72.55l-39.7,162.93c-.73,6.88,3.63,13.3,10.32,15.09,21.78,5.83,74.04,14.1,153.15-8.92,7.61-2.21,11.93-10.24,9.54-17.8l-60.76-151.29h0s0-.01,0-.01Z" fill="#2f2e41"/><path d="m107.55,98.48l-.5-.5-.5.5c-24.33-24.31-63.76-24.28-88.07.05-24.31,24.34-24.8,64.26-.47,88.57h0l89.1,89.01,89.04-89.12h0c24.31-24.34,23.8-64.26-.52-88.57-24.33-24.31-63.76-24.28-88.07.05h0s0,0,0,0Z" fill="#6c63ff"/><path d="m173.35,87.52l20.1-10.31c9.19-3.4,19.44-2.26,27.66,3.09,25,16.26,74.28,52.11,53.1,69.83-27.91,23.36-65.64-18.07-65.64-18.07l-35.22-44.54h0Z" fill="#dddedf"/><path id="uuid-8411e106-0120-401a-9ba4-6dca08ef376d-36" d="m172.91,105.14c-6.99-4.12-10.42-11.18-7.65-15.77,2.77-4.58,10.68-4.95,17.68-.83,2.82,1.61,5.19,3.89,6.91,6.65l29.4,17.86-9.12,14.04-28.02-19.1c-3.28-.19-6.44-1.17-9.21-2.86h.01Z" fill="#f6a6a9"/><polygon points="192.89 121.33 201.25 101.36 242.1 114.88 223.83 145.29 192.89 121.33" fill="#dddedf"/></svg>
\ No newline at end of file
fileFormatVersion: 2
guid: 28553c3d705f6c645bbc5fea1994ddda
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: a57477913897c46af95d590f580878bd, type: 3}
svgType: 0
texturedSpriteMeshType: 0
svgPixelsPerUnit: 1
gradientResolution: 64
alignment: 0
customPivot: {x: 0, y: 0}
generatePhysicsShape: 0
viewportOptions: 0
preserveViewport: 0
advancedMode: 0
predefinedResolutionIndex: 1
targetResolution: 1080
resolutionMultiplier: 1
stepDistance: 10
samplingStepDistance: 100
maxCordDeviationEnabled: 0
maxCordDeviation: 1
maxTangentAngleEnabled: 0
maxTangentAngle: 5
keepTextureAspectRatio: 1
textureSize: 256
textureWidth: 256
textureHeight: 256
wrapMode: 0
filterMode: 1
sampleCount: 4
preserveSVGImageAspect: 0
useSVGPixelsPerUnit: 0
spriteData:
TessellationDetail: 0
SpriteRect:
name:
originalName:
pivot: {x: 0, y: 0}
alignment: 0
border: {x: 0, y: 0, z: 0, w: 0}
rect:
serializedVersion: 2
x: 0
y: 0
width: 0
height: 0
spriteID: 836b735aaa44e7b449e7eb3e88d623a7
PhysicsOutlines: []
fileFormatVersion: 2
guid: d2197f53fa35d2740b5c3e536387093a
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 12
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: 1
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: 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
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: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Server
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: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
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:
...@@ -521,6 +521,10 @@ PrefabInstance: ...@@ -521,6 +521,10 @@ PrefabInstance:
propertyPath: m_AnchorMax.y propertyPath: m_AnchorMax.y
value: 0 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 2545109457425451164, guid: e2f00cfdb21d04b46adf17805f74f20c, type: 3}
propertyPath: m_AnchorMin.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2696017519285237368, guid: e2f00cfdb21d04b46adf17805f74f20c, type: 3} - target: {fileID: 2696017519285237368, guid: e2f00cfdb21d04b46adf17805f74f20c, type: 3}
propertyPath: m_AnchoredPosition.y propertyPath: m_AnchoredPosition.y
value: -100.00012 value: -100.00012
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -39,7 +39,10 @@ public class GameScenUserInfo ...@@ -39,7 +39,10 @@ public class GameScenUserInfo
ret = ret + url.Substring(idx1); ret = ret + url.Substring(idx1);
return ret; return ret;
} }
public static string getAllRoot()
{
return utilsTools.getWritableByPath(RunGameDatasRootName);
}
public string getLineImgLocalPath() public string getLineImgLocalPath()
{ {
return getUrlByLocalPath(img); return getUrlByLocalPath(img);
......
...@@ -30,6 +30,17 @@ public class gameIdJsonData ...@@ -30,6 +30,17 @@ public class gameIdJsonData
} }
return null; return null;
} }
public int findAid(short id)
{
for (int i = 0; i < roomDatas.Count; i++)
{
if (roomDatas[i].id.Equals(id))
{
return i;
}
}
return -1;
}
public gameAreaGroupItem getRoomGroup(short id) public gameAreaGroupItem getRoomGroup(short id)
{ {
for (int i = 0; i < roomGroupsData.Count; i++) for (int i = 0; i < roomGroupsData.Count; i++)
......
using System; using System;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using UnityEditor;
using UnityEngine; using UnityEngine;
using UnityEngine.UI; using UnityEngine.UI;
using UnityEngine.Video; using UnityEngine.Video;
...@@ -19,6 +20,7 @@ public class gameEndLogic : MonoBehaviour,IEventHandler ...@@ -19,6 +20,7 @@ public class gameEndLogic : MonoBehaviour,IEventHandler
private int mp4OperNext = -1; private int mp4OperNext = -1;
void Start() void Start()
{ {
} }
public void initMember() public void initMember()
{ {
...@@ -158,7 +160,17 @@ public class gameEndLogic : MonoBehaviour,IEventHandler ...@@ -158,7 +160,17 @@ public class gameEndLogic : MonoBehaviour,IEventHandler
nowPlayerId = -1; nowPlayerId = -1;
transform.Find("inSaveProgress").gameObject.SetActive(false); transform.Find("inSaveProgress").gameObject.SetActive(false);
transform.Find("saveOptions").gameObject.SetActive(false); transform.Find("saveOptions").gameObject.SetActive(false);
GameObject gameShowBase = transform.Find("gameShowBase").gameObject; GameObject gameShowBase = transform.Find("gameShowBase").gameObject;
Image image = gameShowBase.GetComponent<Image>();
Texture2D texture = image.sprite.texture;
//Color[] colors = texture.GetPixels(0, 0, texture.width, texture.height);
//int cout = utilsTools.checkResetYuanJiao(colors, texture.width, texture.height, 65);
//if (cout > 0)
//{
// texture.SetPixels(0, 0, texture.width, texture.height, colors);
// texture.Apply();
//}
gameShowBase.SetActive(false); gameShowBase.SetActive(false);
RectTransform rectTransform = gameShowBase.GetComponent<RectTransform>(); RectTransform rectTransform = gameShowBase.GetComponent<RectTransform>();
RectTransform rectTransform1 = gameShowView.GetComponent<RectTransform>(); RectTransform rectTransform1 = gameShowView.GetComponent<RectTransform>();
...@@ -168,7 +180,6 @@ public class gameEndLogic : MonoBehaviour,IEventHandler ...@@ -168,7 +180,6 @@ public class gameEndLogic : MonoBehaviour,IEventHandler
Vector2 objScale = new Vector2(); Vector2 objScale = new Vector2();
objScale.x = rectTransform.rect.width * rectTransform.localScale.x / rectTransform1.rect.width; objScale.x = rectTransform.rect.width * rectTransform.localScale.x / rectTransform1.rect.width;
objScale.y = rectTransform.rect.height * rectTransform.localScale.y / rectTransform1.rect.height; objScale.y = rectTransform.rect.height * rectTransform.localScale.y / rectTransform1.rect.height;
ActionManages.addMoveByRelativePos(gameShowView, new Vector2(0,324), 2); ActionManages.addMoveByRelativePos(gameShowView, new Vector2(0,324), 2);
Debug.Log("收起"); Debug.Log("收起");
ActionManages.addMoveByScale(gameShowView,objScale, 0.35f,(GameObject gobj,int aid) => { ActionManages.addMoveByScale(gameShowView,objScale, 0.35f,(GameObject gobj,int aid) => {
...@@ -180,6 +191,10 @@ public class gameEndLogic : MonoBehaviour,IEventHandler ...@@ -180,6 +191,10 @@ public class gameEndLogic : MonoBehaviour,IEventHandler
rectTransform2.sizeDelta = new Vector2(rectTransform2.rect.width, rectTransform.rect.height); rectTransform2.sizeDelta = new Vector2(rectTransform2.rect.width, rectTransform.rect.height);
rectTransform2.localPosition = new Vector2(0 - rectTransform2.rect.width / 2 - rectTransform.rect.width / 2, 0); rectTransform2.localPosition = new Vector2(0 - rectTransform2.rect.width / 2 - rectTransform.rect.width / 2, 0);
Debug.Log(string.Format("x = {0},y = {1},width = {2},height={3}", rectTransform2.localPosition.x, rectTransform2.localPosition.y, rectTransform2.sizeDelta.x, rectTransform2.sizeDelta.y)); Debug.Log(string.Format("x = {0},y = {1},width = {2},height={3}", rectTransform2.localPosition.x, rectTransform2.localPosition.y, rectTransform2.sizeDelta.x, rectTransform2.sizeDelta.y));
//addRoundedRectangle(gameShowView.transform.Find("up").gameObject);
//addRoundedRectangle(gameShowView.transform.Find("low").gameObject);
//addRoundedRectangle(gameShowView.transform.Find("Image").gameObject);
gameObject.SetActive(true); gameObject.SetActive(true);
gameShowBase.SetActive(true); gameShowBase.SetActive(true);
Debug.Log("扫光"); Debug.Log("扫光");
......
using System; using System;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.IO;
using TMPro; using TMPro;
using Unity.VisualScripting; using Unity.VisualScripting;
using UnityEngine; using UnityEngine;
using UnityEngine.Networking;
using UnityEngine.SceneManagement; using UnityEngine.SceneManagement;
using UnityEngine.UI; using UnityEngine.UI;
using static gameSceneLogic; using static gameSceneLogic;
...@@ -36,12 +38,18 @@ public class gameSceneLogic : MonoBehaviour, IEventHandler ...@@ -36,12 +38,18 @@ public class gameSceneLogic : MonoBehaviour, IEventHandler
public delegate bool StringOutTValue<T>(string strvalue, out T backValue); public delegate bool StringOutTValue<T>(string strvalue, out T backValue);
void Start() void Start()
{ {
if(utilsTools.IsWin)
Application.targetFrameRate = 100;
else
{
Application.targetFrameRate = 60;
}
dtime = DateTime.Now; dtime = DateTime.Now;
if (utilsTools.ContainsKeyGDataByKey("urlRoot") == false) if (utilsTools.ContainsKeyGDataByKey("urlRoot") == false)
{ {
utilsTools.setGDataByKey("urlRoot", "http://192.168.124.124:19898");// "http://8.218.187.222:19897"); utilsTools.setGDataByKey("urlRoot", "http://192.168.124.124:19898");// "http://8.218.187.222:19897");
} }
Application.SetStackTraceLogType(LogType.Log, StackTraceLogType.None); //Application.SetStackTraceLogType(LogType.Log, StackTraceLogType.None);
onEvent("switchGameAreaGroupId",this.onEvent_switchGameAreaGroupId_Handler); onEvent("switchGameAreaGroupId",this.onEvent_switchGameAreaGroupId_Handler);
onEvent("gameViewOnInitEnd",this.onEvent_gameViewOnInitEnd_Handler); onEvent("gameViewOnInitEnd",this.onEvent_gameViewOnInitEnd_Handler);
onEvent("gameClickPos",this.onEvent_gameClickPos_Handler); onEvent("gameClickPos",this.onEvent_gameClickPos_Handler);
...@@ -61,8 +69,12 @@ public class gameSceneLogic : MonoBehaviour, IEventHandler ...@@ -61,8 +69,12 @@ public class gameSceneLogic : MonoBehaviour, IEventHandler
transform.Find("gameEndOperBase").GetComponent<gameEndLogic>().initMember(); transform.Find("gameEndOperBase").GetComponent<gameEndLogic>().initMember();
utilsTools.addTimer_Sec(gameObject, "loopGetHot", (String name) => utilsTools.addTimer_Sec(gameObject, "loopGetHot", (String name) =>
{ {
addHotParams<float>("TUSE_doubleTouchScale", "doubleTouchScale",float.TryParse); //addHotParams<float>("TUSE_doubleTouchScale", "doubleTouchScale",float.TryParse,(bool _) => {
addHotParams<short>("TUSE_areaOutValue", "areaOutValue", short.TryParse); // Debug.Log("doubleTouchScale = " + utilsTools.getGDataByKey<float>("doubleTouchScale",-0.02f).ToString());
// return;
//});
//addHotParams<short>("TUSE_areaOutValue", "areaOutValue", short.TryParse);
//addHotParams<float>("TUSE_MoveScale", "moveScale", float.TryParse);
//addHotParams<float>("TUSE_doubleTouchScale", "doubleTouchScale", float.TryParse); //addHotParams<float>("TUSE_doubleTouchScale", "doubleTouchScale", float.TryParse);
//addHotParams<float>("TUSE_doubleTouchScale", "doubleTouchScale", float.TryParse); //addHotParams<float>("TUSE_doubleTouchScale", "doubleTouchScale", float.TryParse);
return true; return true;
...@@ -254,6 +266,7 @@ public class gameSceneLogic : MonoBehaviour, IEventHandler ...@@ -254,6 +266,7 @@ public class gameSceneLogic : MonoBehaviour, IEventHandler
transform1.localPosition = new Vector2(transform1.localPosition.x, offsetY + 35); transform1.localPosition = new Vector2(transform1.localPosition.x, offsetY + 35);
gameShowView.GetComponent<mainGameScaleMove>().setCheckInput(); gameShowView.GetComponent<mainGameScaleMove>().setCheckInput();
gameShowView.GetComponent<mainGameView>().showTimes(); gameShowView.GetComponent<mainGameView>().showTimes();
} }
private void handlerLoadingPosition(Image image) private void handlerLoadingPosition(Image image)
{ {
...@@ -309,11 +322,22 @@ public class gameSceneLogic : MonoBehaviour, IEventHandler ...@@ -309,11 +322,22 @@ public class gameSceneLogic : MonoBehaviour, IEventHandler
} }
return 0; return 0;
} }
void onInitViewShowDataEvent(List<UnityEngine.Object> uobjects, List<System.Object> objects) void onZipFileHandler(GameScenUserInfo gameScenUser)
{ {
transform.Find("ingameLoad").gameObject.SetActive(true); string zpath = utilsTools.getWritableByPath("debugFiles/outzips/" + gameScenUser.id + ".zip");
GameScenUserInfo gameScenUser = (GameScenUserInfo)objects[0]; if (utilsTools.IsPhone == false)
zpath = zpath.Replace("/", "\\");
gameScenUser.createWorkDirectory(); gameScenUser.createWorkDirectory();
string outPath = GameScenUserInfo.getAllRoot();
if(utilsTools.IsPhone == false)
{
outPath = outPath.Replace("/", "\\");
}
utilsTools.setGDataByKey("beginUnZip", utilsTools.getTotalMillisecond());
ZipUtility.UnzipFile(zpath, outPath, "tuse" + gameScenUser.id);
utilsTools.setGDataByKey("endUnZip", utilsTools.getTotalMillisecond());
transform.Find("ingameLoad").gameObject.SetActive(true);
utilsTools.setGDataByKey("nowSelectUseData", gameScenUser); utilsTools.setGDataByKey("nowSelectUseData", gameScenUser);
Image image = transform.Find("ingameLoad/loadImg").GetComponent<Image>(); Image image = transform.Find("ingameLoad/loadImg").GetComponent<Image>();
image.color = new Color(1, 1, 1, 0);//未加载出来时候就透明化 image.color = new Color(1, 1, 1, 0);//未加载出来时候就透明化
...@@ -331,7 +355,7 @@ public class gameSceneLogic : MonoBehaviour, IEventHandler ...@@ -331,7 +355,7 @@ public class gameSceneLogic : MonoBehaviour, IEventHandler
{ {
gameShowView.GetComponent<mainGameView>().loadGameImgId(); gameShowView.GetComponent<mainGameView>().loadGameImgId();
string suoluetu = gameScenUser.getLocalThumbnailPath(); string suoluetu = gameScenUser.getLocalThumbnailPath();
if(utilsTools.IsExistIO(suoluetu) == false) if (utilsTools.IsExistIO(suoluetu) == false)
{ {
utilsTools.loadLocalImage(this, image, lineImg, (bool isOk) => utilsTools.loadLocalImage(this, image, lineImg, (bool isOk) =>
{ {
...@@ -354,8 +378,93 @@ public class gameSceneLogic : MonoBehaviour, IEventHandler ...@@ -354,8 +378,93 @@ public class gameSceneLogic : MonoBehaviour, IEventHandler
}); });
} }
} }
}
void onInitViewShowDataEvent(List<UnityEngine.Object> uobjects, List<System.Object> objects)
{
utilsTools.setGDataByKey("firstT", utilsTools.getTotalMillisecond());
GameScenUserInfo gameScenUser = (GameScenUserInfo)objects[0];
string zpath = utilsTools.getWritableByPath("debugFiles/outzips/"+gameScenUser.id+".zip");
if (utilsTools.IsPhone == false)
zpath = zpath.Replace("/", "\\");
if (utilsTools.IsExistIO(zpath) == false)
{
string dir1 = utilsTools.getWritableByPath("debugFiles/outzips");
utilsTools.CreateDirectory(dir1);
utilsTools.setGDataByKey("downZipBegin", utilsTools.getTotalMillisecond());
//https://cdn.zhangxingames.com/file/ccNO7LSXpxA8GzQUHq1.zip in
//"https://d21z6ifg4bbv2v.cloudfront.net/files/ccNO7LSXpxA8GzQUHq1.zip" wwww
StartCoroutine(LoadAndBytesUnzipWithWeb("https://cdn.zhangxingames.com/file/ccNO7LSXpxA8GzQUHq1.zip", zpath,(bool isOk) =>
{
if (isOk)
{
utilsTools.addTimer_Update(gameObject, "unZipNext", (String _) =>
{
utilsTools.setGDataByKey("downZipEnd", utilsTools.getTotalMillisecond());
onZipFileHandler(gameScenUser);
return false;
});
}
}));
}
else
{
onZipFileHandler(gameScenUser);
}
}
IEnumerator LoadAndBytesUnzipWithWeb(string url, string exportPath,NotifyBoolParam back)
{
Debug.Log("exportPath : " + exportPath);
using (UnityWebRequest uwr = UnityWebRequest.Get(url))
{
yield return uwr.SendWebRequest();
if (uwr.isHttpError == true || uwr.isNetworkError == true)
{
Debug.Log("www.error : " + uwr.error);
back(false);
}
else if (uwr.isDone == true)
{
var data = uwr.downloadHandler.data;
File.WriteAllBytes(exportPath, data);
back(true);
// 酌情使用即可
//File.Delete(zipPath);
//Directory.Delete(exportPath, true);
}
}
}
IEnumerator LoadAndBytesUnzip(string url, string exportPath)
{
Debug.Log("exportPath : " + exportPath);
WWW www = new WWW(url);
yield return www;
if (www.error != null)
{
Debug.Log("www.error : " + www.error);
}
else
{
var data = www.bytes;
//ZipWrapper.UnzipFile(data, exportPath);
//if (wwwZipBytesOnFinished != null)
//{
// wwwZipBytesOnFinished();
//}
}
} }
void onChangeGameUserProgressEvent(List<UnityEngine.Object> uobjects,List<System.Object> objects) { void onChangeGameUserProgressEvent(List<UnityEngine.Object> uobjects,List<System.Object> objects) {
int pro = (int)objects[0]; int pro = (int)objects[0];
transform.Find("ingameLoad").gameObject.SetActive(false); transform.Find("ingameLoad").gameObject.SetActive(false);
...@@ -422,7 +531,8 @@ public class gameSceneLogic : MonoBehaviour, IEventHandler ...@@ -422,7 +531,8 @@ public class gameSceneLogic : MonoBehaviour, IEventHandler
{ {
gameShowView.GetComponent<mainGameView>().onClear(); gameShowView.GetComponent<mainGameView>().onClear();
SceneManager.LoadScene("Scenes/MainHallGame"); //SceneManager.LoadScene("Scenes/MainHallGame");
SceneManager.LoadScene("Scenes/MainGame");
} }
public void onTestTemp1() public void onTestTemp1()
{ {
......
...@@ -241,7 +241,6 @@ public class GameClickPosEffect : MonoBehaviour ...@@ -241,7 +241,6 @@ public class GameClickPosEffect : MonoBehaviour
} }
} }
} }
Debug.Log("绘制点数:"+dt1.ToString() + ","+dt2.ToString());
texture2D.Apply(); texture2D.Apply();
} }
else else
......
...@@ -2,48 +2,112 @@ using System.Collections; ...@@ -2,48 +2,112 @@ using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using Unity.VisualScripting; using Unity.VisualScripting;
using UnityEngine; using UnityEngine;
using UnityEngine.UI;
//这个节点必须在现实的下边 //这个节点必须在现实的下边
public class checkRootFirstRun : MonoBehaviour public class checkRootFirstRun : MonoBehaviour
{ {
// Start is called before the first frame update // Start is called before the first frame update
public int r1 = 60;
public int r2 = 20;
public int width = 500;
public int height = 500;
public Color color = Color.white;
private Color backColor = new Color(1.0f,1.0f,0.23f,1);
private int oldR1 = 0;
private int oldR2 = 0;
private Image image = null;
void Start() void Start()
{ {
utilsTools.addTimer_Update(gameObject, "tempcheck", (string name) => onApply();
}
private void onUserYanJiaoJuXing()
{ {
//loopCheck(transform); Image image = transform.Find("Image").GetComponent<Image>();
return false; Texture2D texture = image.sprite.texture;
}); Color[] colors = texture.GetPixels(0, 0, texture.width, texture.height);
int cout = utilsTools.checkResetYuanJiao(colors, texture.width, texture.height, 100);
if (cout > 0)
{
texture.SetPixels(0, 0, texture.width, texture.height, colors);
texture.Apply();
}
} }
private void loopCheck(Transform trans) private void loopCheck(Transform trans)
{ {
Vector3 vectorCenter = new Vector3(0, 0);
Quaternion quaterion = new Quaternion(); }
for (int i = 0;i < trans.childCount; i++) public void onApply()
{
bool removeOld = true;
Texture2D texture2D = null;
if(image == null)
{ {
var obj = trans.GetChild(i).gameObject; image = transform.Find("Image").GetComponent<Image>();
if (obj.active == false) removeOld = false;
texture2D = new Texture2D(width, height,TextureFormat.RGBA32,false);
Sprite sprite = Sprite.Create(texture2D, new Rect(0, 0, texture2D.width, texture2D.height), new Vector2(0.5f, 0.5f));
image.sprite = sprite;
}
else
{ {
Vector3 pos1 = new Vector3(); texture2D = image.sprite.texture;
obj.transform.GetPositionAndRotation(out pos1, out quaterion); if (texture2D.width != width || texture2D.height != height)
utilsTools.setUserData(obj, "initPos__temp", pos1);
obj.transform.SetPositionAndRotation(new Vector3(-1000, -1000), quaterion);
obj.SetActive(true);
utilsTools.addTimer_Update(gameObject, "initPosTempTime", (string name) =>
{ {
utilsTools.getUserData<Vector3>(obj, "initPos__temp", out pos1, vectorCenter); texture2D = new Texture2D(width, height, TextureFormat.RGBA32, false);
obj.transform.SetPositionAndRotation(pos1, quaterion); Sprite sprite = Sprite.Create(texture2D, new Rect(0, 0, texture2D.width, texture2D.height), new Vector2(0.5f, 0.5f));
obj.SetActive(false); Destroy(image.sprite);
return false; image.sprite = sprite;
}, 5); removeOld = false;
} }
loopCheck(obj.transform);
} }
if(oldR1 == 0)
{
removeOld = false;
} }
Color[] colors = texture2D.GetPixels(0,0,texture2D.width,texture2D.height);
// Update is called once per frame if(removeOld)
void Update() {
utilsTools.Ring(width/2 -100, height/2+100, oldR1, oldR2, width, height, (int x, int y, int idx) =>
{
colors[idx] = backColor;
return true;
});
}
else
{
for (int x = 0; x < width; x++)
{
for (int y = 0; y < height; y++)
{ {
int idx = y * width + x;
colors[idx] = backColor;
}
}
}
int t1 = utilsTools.getTotalMillisecond();
int cout1 = 0;
utilsTools.Ring( width / 2 - 100, height / 2 + 100, r1, r2, width,height,(int x,int y,int idx) => {
colors[idx] = color;
cout1++;
return true;
});
int t2 = utilsTools.getTotalMillisecond();
texture2D.SetPixels(colors);
texture2D.Apply();
oldR1 = r1;
oldR2 = r2;
string msg = string.Format("time:{0} width = {1} height = {2} r1 = {3} r2 = {4} cout = {5}", (t2 - t1), width, height, r1, r2,cout1);
Debug.Log(msg);
}
private void Update()
{
if( utilsTools.IsPhone ==false )
{
return;
}
} }
} }
...@@ -10,7 +10,7 @@ public class gameGroupEffect : MonoBehaviour ...@@ -10,7 +10,7 @@ public class gameGroupEffect : MonoBehaviour
// Start is called before the first frame update // Start is called before the first frame update
public Color color1 = new Color(1, 1, 0,1);//颜色1 public Color color1 = new Color(1, 1, 0,1);//颜色1
public Color color2 = new Color(1, 0, 1,1);//颜色2 public Color color2 = new Color(1, 0, 1,1);//颜色2
private int state = 0;
[SerializeField] [SerializeField]
private float height = 0.25f;//当前高度 private float height = 0.25f;//当前高度
[SerializeField] [SerializeField]
...@@ -54,6 +54,7 @@ public class gameGroupEffect : MonoBehaviour ...@@ -54,6 +54,7 @@ public class gameGroupEffect : MonoBehaviour
{ {
if(texture2D == null) if(texture2D == null)
{ {
speed = speed * 4f;
Image image = GetComponent<Image>(); Image image = GetComponent<Image>();
RectTransform rectTransform = GetComponent<RectTransform>(); RectTransform rectTransform = GetComponent<RectTransform>();
rectTransform.sizeDelta = new Vector2(radius * 2, radius * 2); rectTransform.sizeDelta = new Vector2(radius * 2, radius * 2);
...@@ -65,6 +66,7 @@ public class gameGroupEffect : MonoBehaviour ...@@ -65,6 +66,7 @@ public class gameGroupEffect : MonoBehaviour
texture2D.Apply(); texture2D.Apply();
GameObject.Destroy(oldSprite); GameObject.Destroy(oldSprite);
oldSprite = null; oldSprite = null;
state = 1;
} }
} }
void Start() void Start()
...@@ -132,13 +134,16 @@ public class gameGroupEffect : MonoBehaviour ...@@ -132,13 +134,16 @@ public class gameGroupEffect : MonoBehaviour
} }
return true; return true;
} }
// Update is called once per frame private void FixedUpdate()
void Update()
{ {
initMembers(); initMembers();
state++;
if(state % 4 == 0) {
state = 0;
if (pause == false && updateTexture(ref texture2D) == true) if (pause == false && updateTexture(ref texture2D) == true)
{ {
texture2D.Apply(); texture2D.Apply();
} }
} }
}
} }
...@@ -7,6 +7,7 @@ using UnityEngine; ...@@ -7,6 +7,7 @@ using UnityEngine;
using UnityEngine.SceneManagement; using UnityEngine.SceneManagement;
using UnityEngine.UI; using UnityEngine.UI;
delegate void CheckInput(); delegate void CheckInput();
public class mainGameScaleMove : MonoBehaviour public class mainGameScaleMove : MonoBehaviour
{ {
...@@ -19,12 +20,14 @@ public class mainGameScaleMove : MonoBehaviour ...@@ -19,12 +20,14 @@ public class mainGameScaleMove : MonoBehaviour
private bool skipDoubleScale = false; private bool skipDoubleScale = false;
public float OldTouchCurrDis = -1000; public float OldTouchCurrDis = -1000;
public float minScale = 0.25f; public float minScale = 0.25f;
public float maxScale = 3.25f;//8f; public float maxScale = 8f;
public List<GameObject> ignoreList = new List<GameObject>(); public List<GameObject> ignoreList = new List<GameObject>();
private Vector2 winPrvePos = new Vector2(-90000, -90000); private Vector2 winPrvePos = new Vector2(-90000, -90000);
public List<Sprite> DebugSprites = new List<Sprite>(); public List<Sprite> DebugSprites = new List<Sprite>();
public GameObject resetBtn = null; public GameObject resetBtn = null;
private Vector3 initScale = new Vector3(); private Vector3 initScale = new Vector3();
public Vector2 oleMovePos = new Vector3();
public Vector2 scaleConstPos = new Vector2();
public Vector2 NowPos public Vector2 NowPos
{ {
get { return nowPos; } get { return nowPos; }
...@@ -41,6 +44,10 @@ public class mainGameScaleMove : MonoBehaviour ...@@ -41,6 +44,10 @@ public class mainGameScaleMove : MonoBehaviour
{ {
Vector3 tempVector3; Vector3 tempVector3;
Quaternion quaternion; Quaternion quaternion;
maxScale = 8f;
minScale = 0.25f;
Debug.Log("**************");
Debug.Log(Vector2.Distance(new Vector2(-100, -100), new Vector2(20, 60)));
for (int i = 0; i < transform.childCount; i++) for (int i = 0; i < transform.childCount; i++)
{ {
var itemChild = transform.GetChild(i); var itemChild = transform.GetChild(i);
...@@ -67,8 +74,75 @@ public class mainGameScaleMove : MonoBehaviour ...@@ -67,8 +74,75 @@ public class mainGameScaleMove : MonoBehaviour
checkInput = utilsTools.IsPhone ? checkInputByPhone : checkInputByComputer; checkInput = utilsTools.IsPhone ? checkInputByPhone : checkInputByComputer;
} }
} }
//Vector2 ScreenToAnchorPosition(Vector2 pos, RectTransform rT)
//{
// Vector2 position;
// RectTransformUtility.ScreenPointToLocalPointInRectangle(rT, pos, Camera.main, out position);
// return position;
//}
//public Transform target; //目标
//bool isInit;
//Vector3 touch1, touch2, oriPos, pos;
//float scale, disX, disY, oriScale;
//public float scaleSpeed = 1;
//public bool isLimitScale = false;
//public float min = 0.25f;
//public float max = 25f;
//void checkInputByPhone()
//{
// //不是双指就关闭
// if (Input.touchCount != 2)
// {
// isInit = false;
// }
// //初始化
// if (Input.touchCount == 2 && !isInit)
// {
// //两指点位
// touch1 = Camera.main.ScreenToWorldPoint(Input.GetTouch(0).position);
// touch2 = Camera.main.ScreenToWorldPoint(Input.GetTouch(1).position);
// //目标初始点位
// oriPos = new Vector3(transform.position.x, transform.position.y, 0);
// //两指中点
// pos = new Vector3((Camera.main.ScreenToWorldPoint(Input.GetTouch(0).position).x + Camera.main.ScreenToWorldPoint(Input.GetTouch(1).position).x) / 2, (Camera.main.ScreenToWorldPoint(Input.GetTouch(0).position).y + Camera.main.ScreenToWorldPoint(Input.GetTouch(1).position).y) / 2, 0);
// //两指中点和目标距离
// disX = pos.x - oriPos.x;
// disY = pos.y - oriPos.y;
// oriScale = transform.localScale.x;
// isInit = true;
// }
// if (Input.touchCount == 2)
// {
// //两指缩放比例
// scale = Vector3.Distance(Camera.main.ScreenToWorldPoint(Input.GetTouch(0).position), Camera.main.ScreenToWorldPoint(Input.GetTouch(1).position)) / Vector3.Distance(touch1, touch2);
// //利用scaleSpeed控制缩放速度
// scale = (scale - 1) * scaleSpeed;
// //给缩放比例加限制
// if (isLimitScale && target.localScale.x <= min && scale < 0)
// return;
// if (isLimitScale && target.localScale.x >= max && scale > 0)
// return;
// //缩放目标大小
// target.localScale = new Vector3(oriScale + scale, oriScale + scale, oriScale + scale);
// //改变目标位置,让位置保持不变
// transform.position = new Vector3(oriPos.x - ((target.localScale.x - oriScale) * disX), oriPos.y - ((target.localScale.y - oriScale) * disY), 0);
// }
//}
void checkInputByPhone() void checkInputByPhone()
{ {
if (Input.touchCount == 2) if (Input.touchCount == 2)
{ {
clearOneTouchBegin(); clearOneTouchBegin();
...@@ -77,17 +151,47 @@ public class mainGameScaleMove : MonoBehaviour ...@@ -77,17 +151,47 @@ public class mainGameScaleMove : MonoBehaviour
if (touch1.phase == TouchPhase.Moved || touch2.phase == TouchPhase.Moved) if (touch1.phase == TouchPhase.Moved || touch2.phase == TouchPhase.Moved)
{ {
if (skipDoubleScale) return; if (skipDoubleScale) return;
onDoubleTouchHandler(Vector2.Distance(touch1.position, touch2.position)); if (OldTouchCurrDis < -999)
{
Vector2 touchPos1 = utilsTools.DisplaySize / 2 + touch1.position;
Vector2 touchPos2 = utilsTools.DisplaySize / 2 + touch2.position;
Vector2 zhongxin = (touchPos1 - touchPos2) / 2 + utilsTools.DisplaySize / 2;
mainGameView mainView = GetComponent<mainGameView>();
var lineTransform = transform.Find("low").GetComponent<RectTransform>();
Vector2 vector = utilsTools.ScreenToUILocalPos(lineTransform, zhongxin);
if (lineTransform.rect.Contains(vector) == false)
{
if (lineTransform.rect.xMin > vector.x)
{
vector.x = lineTransform.rect.xMin;
} }
else else if (lineTransform.rect.xMax < vector.x)
{ {
OldTouchCurrDis = -1000; vector.x = lineTransform.rect.xMax;
} }
if (lineTransform.rect.yMin > vector.y)
{
vector.y = lineTransform.rect.yMin;
}
else if (lineTransform.rect.yMax < vector.y)
{
vector.y = lineTransform.rect.yMax;
}
}
scaleConstPos = new Vector2(vector.x / (lineTransform.rect.width * lineTransform.localPosition.x), vector.y / (lineTransform.rect.height * lineTransform.localPosition.y));
OldTouchCurrDis = Vector2.Distance(touch1.position,touch2.position);
return;
}
//Vector2 center = new Vector2(touch1.position.x-touch2.position.x,touch1.position.y-touch2.position.y);
onDoubleTouchHandler(Vector2.Distance(touch1.position, touch2.position));
}
else {
skipDoubleScale = false; skipDoubleScale = false;
//else OldTouchCurrDis = -1000;
//{ }
//}
} else if (Input.touchCount == 1) } else if (Input.touchCount == 1)
{ {
var oneTouch = Input.GetTouch(0); var oneTouch = Input.GetTouch(0);
...@@ -115,13 +219,8 @@ public class mainGameScaleMove : MonoBehaviour ...@@ -115,13 +219,8 @@ public class mainGameScaleMove : MonoBehaviour
} }
void onDoubleTouchHandler(float nowTouchDistance) void onDoubleTouchHandler(float nowTouchDistance)
{ {
if(OldTouchCurrDis < -999) var nowOffset = (nowTouchDistance - OldTouchCurrDis) * utilsTools.getGDataByKey<float>("doubleTouchScale", 0.002f);
{ //var nowOffset = nowTouchDistance * utilsTools.getGDataByKey<float>("doubleTouchScale",0.002f);
OldTouchCurrDis = nowTouchDistance;
return;
}
//var nowOffset = (nowTouchDistance - OldTouchCurrDis) * 0.002f;
var nowOffset = nowTouchDistance * utilsTools.getGDataByKey<float>("doubleTouchScale",0.002f);
if(nowOffset < 0) if(nowOffset < 0)
{ {
if (nowScale.x + nowOffset < minScale) if (nowScale.x + nowOffset < minScale)
...@@ -138,14 +237,35 @@ public class mainGameScaleMove : MonoBehaviour ...@@ -138,14 +237,35 @@ public class mainGameScaleMove : MonoBehaviour
} }
} }
//nowScale = new Vector2(nowScale.x + nowOffset,nowScale.y + nowOffset) ; nowScale = new Vector2(nowScale.x + nowOffset,nowScale.y + nowOffset) ;
nowScale = new Vector2(nowOffset, nowOffset); //nowScale = new Vector2(nowOffset, nowOffset);
OldTouchCurrDis = nowTouchDistance; OldTouchCurrDis = nowTouchDistance;
Vector2 offsetPos = Vector2.zero;
for (int i = 0; i < transform.childCount; i++) for (int i = 0; i < transform.childCount; i++)
{ {
var itemChild = transform.GetChild(i); var itemChild = transform.GetChild(i);
if(i == 0)
{
RectTransform rectTrans1 = itemChild.GetComponent<RectTransform>();
Vector2 scaleDiff = nowScale - new Vector2(itemChild.localScale.x, itemChild.localScale.y);
Vector2 scaleDiffSize = new Vector2(scaleDiff.x * rectTrans1.rect.width, scaleDiff.y * rectTrans1.rect.height);
if (!(itemChild.localPosition.x == 0 || itemChild.localPosition.y == 0))
{
offsetPos = scaleConstPos * scaleDiffSize;
}
else
{
offsetPos = scaleDiffSize;
}
offsetPos = scaleDiffSize / 4;///2 左下角 锁定 不偏移 中心锁定
}
itemChild.localScale = nowScale; itemChild.localScale = nowScale;
if(i == 0 && resetBtn) Vector3 nowPos = new Vector3(itemChild.localPosition.x + offsetPos.x, itemChild.localPosition.y + offsetPos.y);
itemChild.localPosition = nowPos;
if (i == 0 && resetBtn)
{ {
RectTransform rectTrans = itemChild.GetComponent<RectTransform>(); RectTransform rectTrans = itemChild.GetComponent<RectTransform>();
bool leftIsOut = checkPtIsOutScene(rectTrans,new Vector2(rectTrans.rect.xMin, 0)); bool leftIsOut = checkPtIsOutScene(rectTrans,new Vector2(rectTrans.rect.xMin, 0));
...@@ -223,27 +343,34 @@ public class mainGameScaleMove : MonoBehaviour ...@@ -223,27 +343,34 @@ public class mainGameScaleMove : MonoBehaviour
private void onOneTouchMove(Vector2 nowPos,Vector2 delatPos) private void onOneTouchMove(Vector2 nowPos,Vector2 delatPos)
{ {
Vector3 tempVector3 = new Vector3(0, 0); Vector3 tempVector3 = new Vector3(0, 0);
Quaternion quaternion = new Quaternion();
var itemChild = transform.GetChild(0); var itemChild = transform.GetChild(0);
itemChild.GetLocalPositionAndRotation(out tempVector3, out quaternion); tempVector3 = itemChild.localPosition;
float width = nowScale.x * nowSize.x; float width = nowScale.x * nowSize.x;
float height = nowScale.y * nowSize.y; float height = nowScale.y * nowSize.y;
if(delatPos.x < 0 && (tempVector3.x + delatPos.x) < (width / -2))
{ //if(delatPos.x < 0 && (tempVector3.x + delatPos.x) < (width / -2))
delatPos.x = 0; //{
}else if(delatPos.x > 0 && (tempVector3.x + delatPos.x) > (width / 2)) // delatPos.x = 0;
{ //}else if(delatPos.x > 0 && (tempVector3.x + delatPos.x) > (width / 2))
delatPos.x = 0; //{
} // delatPos.x = 0;
if(delatPos.y < 0 && (tempVector3.y + delatPos.y) < (height / -2)) //}
{ //if(delatPos.y < 0 && (tempVector3.y + delatPos.y) < (height / -2))
delatPos.y = 0; //{
} // delatPos.y = 0;
else if(delatPos.y > 0 && (tempVector3.y + delatPos.y) > (height / 2)) //}
//else if(delatPos.y > 0 && (tempVector3.y + delatPos.y) > (height / 2))
//{
// delatPos.y = 0;
//}
//if (delatPos.x == delatPos.y && delatPos.x == 0) return;//都不用移动就不更新坐标
if (delatPos.x == 0f || delatPos.y == 0f)
{ {
delatPos.y = 0; return;
} }
if (delatPos.x == delatPos.y && delatPos.x == 0) return;//都不用移动就不更新坐标 float scaleBet = utilsTools.getGDataByKey<float>("moveScale", 1.0f);
delatPos = delatPos * scaleBet;
tempVector3.x += delatPos.x; tempVector3.x += delatPos.x;
tempVector3.y += delatPos.y; tempVector3.y += delatPos.y;
updateSizeMove(tempVector3); updateSizeMove(tempVector3);
...@@ -256,7 +383,8 @@ public class mainGameScaleMove : MonoBehaviour ...@@ -256,7 +383,8 @@ public class mainGameScaleMove : MonoBehaviour
for (int i = 0; i < transform.childCount; i++) for (int i = 0; i < transform.childCount; i++)
{ {
var itemChild = transform.GetChild(i); var itemChild = transform.GetChild(i);
itemChild.SetLocalPositionAndRotation(tempVector3, quaternion); itemChild.localPosition = tempVector3;
//itemChild.SetLocalPositionAndRotation(tempVector3, quaternion);
} }
} }
private void onOneTouchEnd(Vector2 nowPos, Vector2 delatPos) private void onOneTouchEnd(Vector2 nowPos, Vector2 delatPos)
...@@ -294,7 +422,8 @@ public class mainGameScaleMove : MonoBehaviour ...@@ -294,7 +422,8 @@ public class mainGameScaleMove : MonoBehaviour
// Update is called once per frame // Update is called once per frame
void Update() void Update()
{ {
if(checkInput != null)
if (checkInput != null)
{ {
if (utilsTools.getGDataByKey<bool>("enableZoomMove", false)) if (utilsTools.getGDataByKey<bool>("enableZoomMove", false))
{ {
......
...@@ -7,174 +7,13 @@ using System.Linq; ...@@ -7,174 +7,13 @@ using System.Linq;
using System.Security.Cryptography; using System.Security.Cryptography;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
using TMPro;
using UnityEngine; using UnityEngine;
using UnityEngine.UI; using UnityEngine.UI;
using System.Threading; using System.Threading;
using System.Collections.Concurrent; using TMPro;
using Unity.VisualScripting;
public class TempGroupInfos using UnityEditor;
{
public Color rgb;
public int gid;
public short size = 0;
public short show = 0;
public float Jindu
{
get { return (float)show / (float)size; }
}
}
class AreaAnimationDiffuse
{
public short m_x;
public short m_y;
public short m_aid;
public short m_fpsStart = 1;//r 开始
public short m_fpsEnd = 25;//r 结束
public AreaAnimationDiffuse(short x,short y,short aid)
{
m_x = x;
m_y = y;
m_aid = aid;
}
}
class Vector2Short
{
public short x;
public short y;
public Vector2Short(short x,short y)
{
this.x = x;
this.y = y;
}
}
class GroupByAreaPtInfos
{
private ConcurrentDictionary<short, List<Vector2Short>> datas = new ConcurrentDictionary<short, List<Vector2Short>>();
private ConcurrentDictionary<short, List<Vector2Short>> lines = new ConcurrentDictionary<short, List<Vector2Short>>();
public bool getDataByAid(short aid,ref List<Vector2Short> data)
{
if(datas.ContainsKey(aid))
{
data = datas[aid];
return true;
}
return false;
}
public int debugtestLen(short aid)
{
return datas[aid].Count;// + lines[aid].Count;
}
public bool getLineByAid(short aid,ref List<Vector2Short> data)
{
if(lines.ContainsKey(aid) == false)
return false;
data = lines[aid];
return true;
}
public GroupByAreaPtInfos Clone()
{
GroupByAreaPtInfos ret = new GroupByAreaPtInfos();
foreach (var item in datas)
{
ret.datas.TryAdd(item.Key, item.Value);
}
foreach (var item in lines)
{
ret.lines.TryAdd(item.Key, item.Value);
}
return ret;
}
public short[] getDataAllKey()
{
return datas.Keys.ToArray();
}
public void initByAid(short aid)
{
if (datas.ContainsKey(aid) == false)
{
datas.TryAdd(aid, new List<Vector2Short>());
}
if (lines.ContainsKey(aid))
{
lines.TryAdd(aid, new List<Vector2Short>());
}
}
public void appendPos(short aid,short x,short y) {
if(datas.ContainsKey(aid) == false)
{
datas.TryAdd(aid, new List<Vector2Short>());
}
datas[aid].Add(new Vector2Short(x, y));
return;
}
public void appendLinePos(short aid,short x,short y)
{
if (lines.ContainsKey(aid) == false)
{
lines.TryAdd(aid, new List<Vector2Short>());
}
lines[aid].Add(new Vector2Short(x, y));
return;
}
public void removeAid(short aid)
{
List<Vector2Short> list;
datas.TryRemove(aid,out list);
}
public int ContainsAidByPos(short aid,short x,short y) {
return -1;
}
public bool removeAidInLineByIndex(short aid,int idx)
{
return true;
}
}
class ColorIndexTables
{
Dictionary<uint, Color> colors = new Dictionary<uint, Color>();
uint[,] indexs;
int width;
int height;
public ColorIndexTables(int width,int height)
{
indexs = new uint[width,height];
this.width = width;
this.height = height;
}
public bool setColor(int x,int y,Color color)
{
double key1 = color.r * 256f * 256f + color.g * 256f + color.b * 50f + color.a;
uint key = Convert.ToUInt32(key1);
if(colors.ContainsKey(key) == false)
{
colors.Add(key, color);
}
indexs[x, y] = key;
return true;
}
public bool getColor(int x,int y,ref Color color)
{
if(x < 0 || x >= width || y < 0 || y >= height) { return false; }
uint key = indexs[x, y];
Color temp = colors[key];
color = new Color(temp.r,temp.g,temp.b,temp.a);
return true;
}
public bool getTiledColor(int x,int y,ref Color color)
{
if(x < 0)
{
return false;
}
//if (x < 0 || y < 0) return false;
return getColor(x % width, y % height,ref color);
}
}
public class mainGameView : MonoBehaviour public class mainGameView : MonoBehaviour
{ {
private gameIdJsonData gameidJsondata = null; private gameIdJsonData gameidJsondata = null;
...@@ -187,19 +26,21 @@ public class mainGameView : MonoBehaviour ...@@ -187,19 +26,21 @@ public class mainGameView : MonoBehaviour
public string perfabPath = ""; public string perfabPath = "";
private GameObject areaIdperfabObj = null; private GameObject areaIdperfabObj = null;
public DigitMatrixShort digitMatrix = null; public DigitMatrixShort digitMatrix = null;
public float minShowFontSize = 15f; public float minShowFontSize = 20f;
public float showFontSizeMax = 30f; public float showFontSizeMax = 30f;
protected Texture2D lineTexture2d = null; protected Texture2D lineTexture2d = null;
private Texture2D lowImgTexture2d = null; private Texture2D lowImgTexture2d = null;
private Texture2D colorTexure2d = null; private Texture2D colorTexure2d = null;
protected short nowSelectgid = -1; protected short nowSelectgid = -1;
private bool fillAnimation = true;
private bool thumbnailIsChange = false;
private string[] initDigitMatrixs = { "", "","" }; private string[] initDigitMatrixs = { "", "","" };
private Dictionary<short, short> aid2selectOrderIdx = new Dictionary<short, short>(); private Dictionary<short, short> aid2selectOrderIdx = new Dictionary<short, short>();
private GameScenUserInfo gameScenUseInfo = null; private GameScenUserInfo gameScenUseInfo = null;
//x,y aid 当前帧向量 起点终点 等宽度计算扩散 //x,y aid 当前帧向量 起点终点 等宽度计算扩散
private List<AreaAnimationDiffuse> showAreaAnimationDatas = new List<AreaAnimationDiffuse>(); private List<AreaAnimationDiffuse> showAreaAnimationDatas = new List<AreaAnimationDiffuse>();
private ConcurrentDictionary<short, GroupByAreaPtInfos> groupPtInfos = new ConcurrentDictionary<short, GroupByAreaPtInfos>(); private Dictionary<short, GroupByAreaPtInfos> groupPtInfos = new Dictionary<short, GroupByAreaPtInfos>();
private ConcurrentDictionary<short, GroupByAreaPtInfos> groupPtInfos_All = new ConcurrentDictionary<short, GroupByAreaPtInfos>();//不管是否涂色都会记录 private Dictionary<short, GroupByAreaPtInfos> groupPtInfos_All = new Dictionary<short, GroupByAreaPtInfos>();//不管是否涂色都会记录
private short bianlun = -1; private short bianlun = -1;
private short fullShow = -2; private short fullShow = -2;
private Texture2D thumbnailTexture2d = null; private Texture2D thumbnailTexture2d = null;
...@@ -240,6 +81,13 @@ public class mainGameView : MonoBehaviour ...@@ -240,6 +81,13 @@ public class mainGameView : MonoBehaviour
newParams.Add(0); newParams.Add(0);
System.Object[] newParamArray = newParams.ToArray(); System.Object[] newParamArray = newParams.ToArray();
TaskManages tm = TaskManages.getInstance(); TaskManages tm = TaskManages.getInstance();
if(count <= step)
{
newParamArray[idx1] = 0;
newParamArray[idx1 + 1] = count;
tm.addTaskArray(this, back, newParamArray);
return;
}
for (int x = 0; ;) for (int x = 0; ;)
{ {
newParamArray[idx1] = x; newParamArray[idx1] = x;
...@@ -283,6 +131,8 @@ public class mainGameView : MonoBehaviour ...@@ -283,6 +131,8 @@ public class mainGameView : MonoBehaviour
} }
utilsTools.setGDataByKey("makeThumbnailBegin", utilsTools.getTotalMillisecond()); utilsTools.setGDataByKey("makeThumbnailBegin", utilsTools.getTotalMillisecond());
var tm = TaskManages.getInstance(); var tm = TaskManages.getInstance();
if(allColor.ContainsKey("line") == false)
allColor.Add("line", lineTexture2d.GetPixels(0, 0, gameidJsondata.width, gameidJsondata.height));
TaskItemBack taskItemBack = (System.Object[] param) => TaskItemBack taskItemBack = (System.Object[] param) =>
{ {
int start = (int)param[0]; int start = (int)param[0];
...@@ -293,22 +143,29 @@ public class mainGameView : MonoBehaviour ...@@ -293,22 +143,29 @@ public class mainGameView : MonoBehaviour
float height = gameidJsondata.height; float height = gameidJsondata.height;
int a1 = utilsTools.getTotalMillisecond(); int a1 = utilsTools.getTotalMillisecond();
utilsTools.sendEventObjectParams("inGameLoadingValue", 6f, false); utilsTools.sendEventObjectParams("inGameLoadingValue", 6f, false);
int index = 0;
Color[] colors = lineTexture2d.GetPixels(start, 0, step, gameidJsondata.height); Color[] colors = thumbnailTexture2d.GetPixels(0, 0, gameidJsondata.width, gameidJsondata.height);
for(int y1 = 0;y1 < gameidJsondata.height; y1++) for(int y1 = 0;y1 < gameidJsondata.height; y1++)
{ {
y = y1; y = y1;
for(int x1 = start;x1 < (start + step); x1++) for(int x1 = start;x1 < (start + step); x1++)
{ {
x = x1; x = x1;
int index = y1 * gameidJsondata.width + x1;
short nowValue = digitMatrix.Data[x1,y1]; short nowValue = digitMatrix.Data[x1,y1];
if (nowValue.Equals(bianlun) || nowValue < 0) if (nowValue.Equals(bianlun) || nowValue < 0)
{ {
var color = colorTexure2d.GetPixelBilinear(x / width, y / height); var color = colorTexure2d.GetPixelBilinear(x / width, y / height);
color.a = 1f; color.a = 1f;
colors[index] = color; colors[index] = color;
}
if(nowValue.Equals(fullShow))
{
Color color1 = allColor["line"][index];
color1.a = 0f;
allColor["line"][index] = color1;
} }
index++;
} }
} }
...@@ -320,6 +177,8 @@ public class mainGameView : MonoBehaviour ...@@ -320,6 +177,8 @@ public class mainGameView : MonoBehaviour
tm.addTask(this, (System.Object[] param) => tm.addTask(this, (System.Object[] param) =>
{ {
onInitDigitMatrix("thumbnail"); onInitDigitMatrix("thumbnail");
lineTexture2d.SetPixels(allColor["line"]);
lineTexture2d.Apply();
//utilsTools.saveByteToPath(utilsTools.ScaleTexture(thumbnailTexture2d, 120, 120).EncodeToPNG(), gameScenUseInfo.getLocalThumbnailPath() + "_bk.png"); //utilsTools.saveByteToPath(utilsTools.ScaleTexture(thumbnailTexture2d, 120, 120).EncodeToPNG(), gameScenUseInfo.getLocalThumbnailPath() + "_bk.png");
}); });
return; return;
...@@ -331,6 +190,21 @@ public class mainGameView : MonoBehaviour ...@@ -331,6 +190,21 @@ public class mainGameView : MonoBehaviour
nowSelectgid = -1; nowSelectgid = -1;
resetSize(); resetSize();
onInitEndHandler(); onInitEndHandler();
if (thumbnailTexture2d != null) {
utilsTools.addTimer_Update(gameObject, "shouhuThumbnailIsChange", (String _) =>
{
if (thumbnailIsChange == true)
{
thumbnailIsChange = false;
thumbnailTexture2d.SetPixels(allColor["thumbnail"]);
string path = gameScenUseInfo.getLocalThumbnailPath();
var sltTextureSize = utilsTools.getGDataByKey<Vector2>("sltTextureSize", Vector2.one);
//utilsTools.saveByteToPath(utilsTools.ScaleTexture(thumbnailTexture2d, Convert.ToInt32(sltTextureSize.x), Convert.ToInt32(sltTextureSize.y)).EncodeToJPG(), path);
utilsTools.saveByteToPath(thumbnailTexture2d.EncodeToJPG(), path);
}
return true;
}, 120, 0);
}
} }
protected string getSelectPathByGid(int gid) protected string getSelectPathByGid(int gid)
{ {
...@@ -368,85 +242,132 @@ public class mainGameView : MonoBehaviour ...@@ -368,85 +242,132 @@ public class mainGameView : MonoBehaviour
} }
return ret.ToArray(); return ret.ToArray();
} }
void digitMatrixData2GroupPtsInSelect(gameAreaItem gai) //将区域id 离散xy 坐标存储为 连续数组
public void idHashPosToArrayPos()
{
Dictionary<short, short> aidToIndex = new Dictionary<short, short>();
Dictionary<short, List<int>> AidVersions2 = new Dictionary<short, List<int>>();
GroupByAreaPtInfos.width = gameidJsondata.width;
GroupByAreaPtInfos.height = gameidJsondata.height;
int t1 = utilsTools.getTotalMillisecond();
Dictionary<short, RectInt> aidByRect = fillAnimation ? new Dictionary<short, RectInt>() : null;
float maxWidth = (float)(gameidJsondata.width + 1f);
float maxHeight = (float)(gameidJsondata.height + 1f);
RectInt model = new RectInt();
for (int i = 0; i < gameidJsondata.roomGroupsData.Count; i++)
{ {
Color color = new Color(1, 1, 1, 0); short gid = gameidJsondata.roomGroupsData[i].id;
digitMatrix.FloodFill8WithStack(gai.px, gai.py, fullShow, 0, (short x, short y, short c) => { GroupByAreaPtInfos groupByAreaPtInfos = new GroupByAreaPtInfos();
if (gai.IsValid() == false) return true; foreach (var item in gameidJsondata.roomGroupsData[i].roomIds)
if (groupPtInfos.ContainsKey(gai.id) == false) return false;
if (digitMatrix.Data[x, y] == bianlun)
{ {
groupPtInfos_All[gai.gid].appendLinePos(gai.id, x, y); groupByAreaPtInfos.initByAid(item);
} short fid = (short)gameidJsondata.findAid(item);
else aidToIndex.Add(item, fid);
var temp2 = new List<int>(2400);
AidVersions2.Add(item, temp2);
if (aidByRect != null)
{ {
//lineTexture2d.SetPixel(x, y, color);//选中时候透明处理 aidByRect.Add(item, new RectInt(model));
groupPtInfos_All[gai.gid].appendPos(gai.id, x, y);
} }
return true;
}, bianlun, true);
Debug.Log("inselect id " + gai.id.ToString() + " gid = " + gai.gid.ToString() + " len = " + groupPtInfos[gai.gid].debugtestLen(gai.id));
} }
groupPtInfos_All.Add(gid, groupByAreaPtInfos);
void digitMatrixData2GroupPtsNoSelect(gameAreaItem gai) }
int cout = 0;
int cout1 = 0;
for (short x = 0; x < digitMatrix.RowCount; x++)
{ {
digitMatrix.FloodFill8WithStack(gai.px, gai.py, (short)(gai.id + 20), 0, (short x, short y, short c) => { for (short y = 0; y < digitMatrix.ColumnCount; y++)
if (gai.IsValid() == false) return true;
if (digitMatrix.Data[x, y] == bianlun)
{ {
groupPtInfos[gai.gid].appendLinePos(gai.id, x, y); cout++;
groupPtInfos_All[gai.gid].appendLinePos(gai.id, x, y); short cell = digitMatrix.Data[x, y];
if (cell < 20 || false == aidToIndex.ContainsKey((short)(cell-20)))
{
continue;
} }
else else
{ {
groupPtInfos[gai.gid].appendPos(gai.id, x, y); short aid = (short)(cell - 20);
groupPtInfos_All[gai.gid].appendPos(gai.id, x, y); cout1++;
AidVersions2[aid].Add(y * digitMatrix.RowCount + x);
if(aidByRect != null)
{
RectInt rectInt = aidByRect[aid];
if (rectInt.left > x) rectInt.left = x;
if(rectInt.right < x) rectInt.right = x;
if(rectInt.top > y) rectInt.top = y;
if(rectInt.dowm < y) rectInt.dowm = y;
} }
return true;
}, bianlun, true);
Debug.Log("noselect id " + gai.id.ToString() + " gid = " + gai.gid.ToString() + " len = " + groupPtInfos[gai.gid].debugtestLen(gai.id));
} }
void digitMatrixData2GroupThread(System.Object param) }
}
GroupByAreaPtInfos.mapAllDatas = AidVersions2;
groupPtInfos = groupPtInfos_All;
for (int i = 0; i < gameidJsondata.roomGroupsData.Count; i++)
{ {
Tuple<int,int> params1 = (Tuple<int,int>)param; short gid = gameidJsondata.roomGroupsData[i].id;
int step = params1.Item1; var groupItem = groupPtInfos_All[gid];
int start = params1.Item2; foreach (var item in gameidJsondata.roomGroupsData[i].roomIds)
int idx = start;
int a1 = utilsTools.getTotalMillisecond();
while(idx < gameidJsondata.roomDatas.Count)
{ {
gameAreaItem item = gameidJsondata.roomDatas[idx]; if (aid2selectOrderIdx.ContainsKey(item) == true)
if (item.IsValid() == false)
{ {
Debug.Log("unselect id " + item.id.ToString()); groupPtInfos[gid].removeAid(item);
idx += step; }
continue; }
}
} }
if (aid2selectOrderIdx != null && aid2selectOrderIdx.ContainsKey(item.id)) public void onLineColorHandlerEnd()
{ {
digitMatrixData2GroupPtsInSelect(item); if (colorTexure2d == null)
{
utilsTools.addTimer_Update(gameObject, "waitColorBack", (String name) =>
{
onLineColorHandlerEnd();
return colorTexure2d != null;
}, 5, 1000);
} }
else Color[] colors = lineTexture2d.GetPixels(0, 0, lineTexture2d.width, lineTexture2d.height);
List<Vector2Short> temp = null;
foreach (var item in aid2selectOrderIdx)
{
var aidData = gameidJsondata.getAid(item.Key);
if (groupPtInfos_All[aidData.gid].getDataByAid(item.Key, ref temp) && temp.Count > 0)
{
foreach (var item1 in temp)
{ {
digitMatrixData2GroupPtsNoSelect(item); int idx = item1.y * lineTexture2d.width + item1.x;
Color color = colors[idx];
color.a = 0f;
digitMatrix.Data[item1.x, item1.y] = fullShow;
colors[idx] = color;
} }
item.threadHandState = 1; groupPtInfos_All[aidData.gid].getLineByAid(item.Key, ref temp);
foreach (var item1 in temp)
idx += step; {
int idx = item1.y * lineTexture2d.width + item1.x;
Color color = colors[idx];
color.a = 0f;
colors[idx] = color;
digitMatrix.Data[item1.x, item1.y] = fullShow;
} }
Debug.Log("结束线程 " + start.ToString() + " t1 " + (utilsTools.getTotalMillisecond() - a1).ToString()); }
return ; }
lineTexture2d.SetPixels(0, 0, lineTexture2d.width, lineTexture2d.height, colors);
lineTexture2d.Apply();
TaskManages.getInstance().addTask(this, (System.Object[] objects) =>
{
utilsTools.setGDataByKey("lineHandlerEnd", utilsTools.getTotalMillisecond());
lineTexture2d.Apply();
onInitDigitMatrix("line");
});
} }
public void onLoadFileOk(int typeId) public void onLoadFileOk(int typeId)
{ {
if (typeId == 1) if (typeId == 1)
{ {
utilsTools.setGDataByKey("initFanHong", utilsTools.getTotalMillisecond()); lineTexture2d = lineImg.GetComponent<Image>().sprite.texture;
Image image = lineImg.GetComponent<Image>();
lineTexture2d = image.sprite.texture;
digitMatrix = new DigitMatrixShort(lineTexture2d.width, lineTexture2d.height);
TaskManages taskManages = TaskManages.getInstance(); TaskManages taskManages = TaskManages.getInstance();
TaskItemBack taskItemBack = (System.Object[] datas) => { TaskItemBack taskItemBack = (System.Object[] datas) =>
{
int height = (int)datas[0]; int height = (int)datas[0];
int x = (int)datas[1]; int x = (int)datas[1];
int setp = (int)datas[2]; int setp = (int)datas[2];
...@@ -462,18 +383,9 @@ public class mainGameView : MonoBehaviour ...@@ -462,18 +383,9 @@ public class mainGameView : MonoBehaviour
Color color = colors[idx]; Color color = colors[idx];
if (color.a == 0) if (color.a == 0)
{ {
digitMatrix.Data[x1,y] = 0;
colors[idx] = Color.white; colors[idx] = Color.white;
isbackWrite = true; isbackWrite = true;
} }
else if (color.r >= 0.97 && color.g >= 0.97 && color.b >= 0.97)
{
digitMatrix.Data[x1, y] = 0;
}
else
{
digitMatrix.Data[x1, y] = bianlun;
}
idx++; idx++;
} }
} }
...@@ -483,61 +395,26 @@ public class mainGameView : MonoBehaviour ...@@ -483,61 +395,26 @@ public class mainGameView : MonoBehaviour
} }
}; };
System.Object[] objects = { lineTexture2d.height }; System.Object[] objects = { lineTexture2d.height };
loopAddTaskBack(lineTexture2d.width, 200, taskItemBack,objects); //这个循环是为了修复颜色
loopAddTaskBack(lineTexture2d.width, 200, taskItemBack, objects);
taskManages.addTask(this, (System.Object[] a) => {
utilsTools.setGDataByKey("initFanHong_1", utilsTools.getTotalMillisecond());
});
utilsTools.addTimer_Update(gameObject, "waitJsonBack", (String n) => utilsTools.addTimer_Update(gameObject, "waitJsonBack", (String n) =>
{ {
if (gameidJsondata == null) return true; if (gameidJsondata == null) return true;
taskManages.addTask(this, (System.Object[] a) =>
{
utilsTools.setGDataByKey("initFanHong_1", utilsTools.getTotalMillisecond());
for (int i = 0; i < gameidJsondata.roomGroupsData.Count; i++)
{
short gid = gameidJsondata.roomGroupsData[i].id;
GroupByAreaPtInfos groupByAreaPtInfos = new GroupByAreaPtInfos();
foreach (var item in gameidJsondata.roomGroupsData[i].roomIds)
{
groupByAreaPtInfos.initByAid(item);
}
groupPtInfos.TryAdd(gid, groupByAreaPtInfos);
groupPtInfos_All.TryAdd(gid, groupByAreaPtInfos.Clone());
}
int threadCount = 10;
for (int i = 0; i < threadCount; i++)
{
Thread thread = new Thread(digitMatrixData2GroupThread);
thread.IsBackground = true;
thread.Start(new Tuple<int, int>(threadCount, i));
}
TaskItemBack taskItemBack2 = (System.Object[] param) =>
{
TaskItemBack taskItemBack3 = (TaskItemBack)param[0];
for (int i = 0; i < gameidJsondata.roomDatas.Count; i++)
{
var item = gameidJsondata.roomDatas[i];
if(item.IsValid() == false) continue;
if (item.threadHandState == 0)
{
//Debug.Log("no init id " + item.id.ToString());
taskManages.addTask(this, taskItemBack3, param);
return;
}
}
utilsTools.setGDataByKey("initFanHong_2", utilsTools.getTotalMillisecond());
taskManages.addTask(this, (System.Object[] objects) => taskManages.addTask(this, (System.Object[] a) =>
{ {
utilsTools.setGDataByKey("initFanHong_3", utilsTools.getTotalMillisecond()); utilsTools.setGDataByKey("beginIdPosToArray", utilsTools.getTotalMillisecond());
lineTexture2d.Apply(); //连续分组
onInitDigitMatrix("line"); idHashPosToArrayPos();
}); utilsTools.setGDataByKey("endIdPosToArray", utilsTools.getTotalMillisecond());
}; //是否需要阻塞等待彩色图
taskManages.addTask(this, taskItemBack2, taskItemBack2); onLineColorHandlerEnd();
}); });
return false; return false;
}, 5, 100000); }, 5, 100000);
} }
else if(typeId == 4) else if(typeId == 4)
{ {
...@@ -550,14 +427,6 @@ public class mainGameView : MonoBehaviour ...@@ -550,14 +427,6 @@ public class mainGameView : MonoBehaviour
tm.addTask(this, checkPtNextHandler, listparam); tm.addTask(this, checkPtNextHandler, listparam);
return; return;
} }
var checkPt = gameidJsondata.roomDatas[gameidJsondata.roomDatas.Count - 1];
Debug.Log(checkPt.ToString());
float flg = digitMatrix.Data[checkPt.px,checkPt.py];
if(flg == 0)
{
tm.addTask(this, checkPtNextHandler);
return;
}
utilsTools.sendEventObjectParams("inGameLoadingValue", 5f, false); utilsTools.sendEventObjectParams("inGameLoadingValue", 5f, false);
gameidJsondata.roomGroupsData.Sort(gameAreaGroupItem.sortByIsComplete); gameidJsondata.roomGroupsData.Sort(gameAreaGroupItem.sortByIsComplete);
...@@ -587,8 +456,8 @@ public class mainGameView : MonoBehaviour ...@@ -587,8 +456,8 @@ public class mainGameView : MonoBehaviour
if(areaIdBase != null) if(areaIdBase != null)
{ {
colorTexure2d = colorImg.GetComponent<Image>().sprite.texture; colorTexure2d = colorImg.GetComponent<Image>().sprite.texture;
thumbnailTexture2d = new Texture2D(gameidJsondata.width, gameidJsondata.height, TextureFormat.RGBA32,false); thumbnailTexture2d = new Texture2D(gameidJsondata.width, gameidJsondata.height, TextureFormat.RGB24,false);
//utilsTools.ScaleTexture(colorTexure2d, gameidJsondata.width, gameidJsondata.height, TextureFormat.RGBA32); allColor.Add("color",colorTexure2d.GetPixels(0,0,colorTexure2d.width,colorTexure2d.height));
} }
} }
} }
...@@ -690,6 +559,7 @@ public class mainGameView : MonoBehaviour ...@@ -690,6 +559,7 @@ public class mainGameView : MonoBehaviour
gameClickPosEffect.initMember(); gameClickPosEffect.initMember();
go.SetActive(false); go.SetActive(false);
} }
} }
public void loadFileInfo(string url,string localpath,int typeId) public void loadFileInfo(string url,string localpath,int typeId)
{ {
...@@ -795,6 +665,31 @@ public class mainGameView : MonoBehaviour ...@@ -795,6 +665,31 @@ public class mainGameView : MonoBehaviour
}); });
} }
} }
private void bytesInitDigitMatrix(Byte[] bytes)
{
int start = 0;
int step = BitConverter.GetBytes((short)2).Length;
int stepInt = BitConverter.GetBytes(65539).Length;
short width = BitConverter.ToInt16(bytes, start);
start += step;
short height = BitConverter.ToInt16(bytes, start);
DigitMatrixShort digitMatrixBK = new DigitMatrixShort(width, height);
for (short i = 0; i < width; i++)
{
for(short j = 0; j < height; j++)
{
start += step;
short temp = BitConverter.ToInt16(bytes, start);
short aid = (short)(temp - 20);
if (aid2selectOrderIdx.ContainsKey(aid))
{
temp = fullShow;
}
digitMatrixBK.Data[i, j] = temp;
}
}
digitMatrix = digitMatrixBK;
}
public bool loadGameImgId(GameScenUserInfo gameUserInfo) public bool loadGameImgId(GameScenUserInfo gameUserInfo)
{ {
string linePath = gameUserInfo.getLineImgLocalPath(); string linePath = gameUserInfo.getLineImgLocalPath();
...@@ -814,6 +709,19 @@ public class mainGameView : MonoBehaviour ...@@ -814,6 +709,19 @@ public class mainGameView : MonoBehaviour
var userAreaData = gameUserInfo.areaInfoUseData[i]; var userAreaData = gameUserInfo.areaInfoUseData[i];
aid2selectOrderIdx.Add(userAreaData.id, i); aid2selectOrderIdx.Add(userAreaData.id, i);
} }
utilsTools.setGDataByKey("loadBinBegin", utilsTools.getTotalMillisecond());
TaskManages.getInstance().insertTask(this, (System.Object[] _) =>
{
string binpath = colorPath.Substring(0, linePath.Length - 4) + ".bin";
if(utilsTools.IsPhone == false)
{
binpath = binpath.Replace("/", "\\");
}
Byte[] bytes = File.ReadAllBytes(binpath);
bytesInitDigitMatrix(bytes);
Debug.Log("bin初始化完成--------------");
});
utilsTools.setGDataByKey("loadBinEnd", utilsTools.getTotalMillisecond());
utilsTools.setGDataByKey("downJson", utilsTools.getTotalMillisecond()); utilsTools.setGDataByKey("downJson", utilsTools.getTotalMillisecond());
loadFileInfo(gameUserInfo.json, jsonPath, 3); loadFileInfo(gameUserInfo.json, jsonPath, 3);
utilsTools.setGDataByKey("loadGaoQing", utilsTools.getTotalMillisecond()); utilsTools.setGDataByKey("loadGaoQing", utilsTools.getTotalMillisecond());
...@@ -850,8 +758,45 @@ public class mainGameView : MonoBehaviour ...@@ -850,8 +758,45 @@ public class mainGameView : MonoBehaviour
Destroy(lineTexture2d); Destroy(lineTexture2d);
} }
lineTexture2d = image.sprite.texture; lineTexture2d = image.sprite.texture;
TaskItemBack taskItemBack = (System.Object[] param) =>
{
int start = (int)param[0];
int step = (int)param[1];
float x = 1.0f;
float y = 1.0f;
float width = gameidJsondata.width;
float height = gameidJsondata.height;
int a1 = utilsTools.getTotalMillisecond();
utilsTools.sendEventObjectParams("inGameLoadingValue", 6f, false);
int index = 0;
Color[] colors = lineTexture2d.GetPixels(start, 0, step, gameidJsondata.height);
for (int y1 = 0; y1 < gameidJsondata.height; y1++)
{
y = y1;
for (int x1 = start; x1 < (start + step); x1++)
{
x = x1;
short nowValue = digitMatrix.Data[x1, y1];
if (nowValue.Equals(fullShow))
{
colors[index] = Color.white;
}
index++;
}
}
lineTexture2d.SetPixels(start, 0, step, gameidJsondata.height, colors);
};
loopAddTaskBack(gameidJsondata.width, 340, taskItemBack);
TaskManages.getInstance().addTask(this, (System.Object[] param) =>
{
lineTexture2d.Apply();
back(true);
});
}
else
{
back(false);
} }
back(isSuccess);
}); });
} }
public void showArea(int areaId, OnAreaHandler onAreaHandler = null) public void showArea(int areaId, OnAreaHandler onAreaHandler = null)
...@@ -867,7 +812,7 @@ public class mainGameView : MonoBehaviour ...@@ -867,7 +812,7 @@ public class mainGameView : MonoBehaviour
gameAreaItem areaItem1 = gameidJsondata.getAid((short)areaId); gameAreaItem areaItem1 = gameidJsondata.getAid((short)areaId);
List<Vector2Short> areaAllPts = new List<Vector2Short>(); List<Vector2Short> areaAllPts = new List<Vector2Short>();
Color color = new Color(1, 1, 1, 0); Color color = new Color(1, 1, 1, 0);
groupPtInfos_All[areaItem1.gid].getDataByAid(areaItem1.id, ref areaAllPts); groupPtInfos_All[areaItem1.gid].getDataByAid(areaItem1.id, ref areaAllPts,true);
foreach (var item in areaAllPts) foreach (var item in areaAllPts)
{ {
lineTexture2d.SetPixel(item.x,item.y, color);//回放使用 lineTexture2d.SetPixel(item.x,item.y, color);//回放使用
...@@ -883,9 +828,8 @@ public class mainGameView : MonoBehaviour ...@@ -883,9 +828,8 @@ public class mainGameView : MonoBehaviour
{ {
onAreaHandler(areaId, false); onAreaHandler(areaId, false);
} }
} }
public bool switchShowAreaGroup(short gid, OnAreaHandler onAreaHandler = null) public bool switchShowAreaGroup(short gid, OnAreaHandler onAreaHandler = null)
{ {
//utilsTools.setGDataByKey("makeThumbnailBegin", utilsTools.getTotalMillisecond()); //utilsTools.setGDataByKey("makeThumbnailBegin", utilsTools.getTotalMillisecond());
...@@ -915,10 +859,7 @@ public class mainGameView : MonoBehaviour ...@@ -915,10 +859,7 @@ public class mainGameView : MonoBehaviour
gameAreaGroupItem jsonGroupInfo = null; gameAreaGroupItem jsonGroupInfo = null;
GroupByAreaPtInfos groupPt = null; GroupByAreaPtInfos groupPt = null;
List<Vector2Short> tempData = new List<Vector2Short>(); List<Vector2Short> tempData = new List<Vector2Short>();
if (allColor.ContainsKey("line") == false)
{
allColor.Add("line", lineTexture2d.GetPixels(0, 0, gameidJsondata.width, gameidJsondata.height));
}
if(allColor.ContainsKey("low") == false) if(allColor.ContainsKey("low") == false)
{ {
allColor.Add("low", lowImgTexture2d.GetPixels(0, 0, lowImgTexture2d.width, lowImgTexture2d.height)); allColor.Add("low", lowImgTexture2d.GetPixels(0, 0, lowImgTexture2d.width, lowImgTexture2d.height));
...@@ -948,7 +889,7 @@ public class mainGameView : MonoBehaviour ...@@ -948,7 +889,7 @@ public class mainGameView : MonoBehaviour
{ {
if (digitMatrix.Data[pt.x, pt.y] == bianlun) continue; if (digitMatrix.Data[pt.x, pt.y] == bianlun) continue;
color.a = 0f; color.a = 0f;
//lowImgTexture2d.SetPixel(pt.x, pt.y, color); //lowImgTexture2d.SetPixel(pt.y, pt.x, color);
allColor["low"][pt.y * gameidJsondata.width + pt.x] = color; allColor["low"][pt.y * gameidJsondata.width + pt.x] = color;
} }
} }
...@@ -978,7 +919,7 @@ public class mainGameView : MonoBehaviour ...@@ -978,7 +919,7 @@ public class mainGameView : MonoBehaviour
this.nowSelectColors.getTiledColor(pt.x, pt.y, ref color); this.nowSelectColors.getTiledColor(pt.x, pt.y, ref color);
color.a = 1f; color.a = 1f;
allColor["low"][pt.y * gameidJsondata.width + pt.x] = color; allColor["low"][pt.y * gameidJsondata.width + pt.x] = color;
//lowImgTexture2d.SetPixel(pt.x, pt.y, color); //lowImgTexture2d.SetPixel(pt.y, pt.x, color);
} }
} }
lowImgTexture2d.SetPixels(0, 0, lowImgTexture2d.width, lowImgTexture2d.height, allColor["low"]); lowImgTexture2d.SetPixels(0, 0, lowImgTexture2d.width, lowImgTexture2d.height, allColor["low"]);
...@@ -1022,6 +963,43 @@ public class mainGameView : MonoBehaviour ...@@ -1022,6 +963,43 @@ public class mainGameView : MonoBehaviour
} }
return ret; return ret;
} }
void onShowAreaByNoAnimation(short aid)
{
int cout = GroupByAreaPtInfos.mapAllDatas[aid].Count;
var pts = GroupByAreaPtInfos.mapAllDatas[aid];
Color[] low = allColor["low"];
Color[] line = allColor["line"];
Color[] colors1 = colorTexure2d.GetPixels();
for (int i = 0; i < cout; i++)
{
int value = pts[i];
short x = (short)(value % gameidJsondata.width);
short y = (short)(value / gameidJsondata.width);
digitMatrix.Data[x, y] = fullShow;
line[value].a = 0;
low[value].a = 0;
int x1 = (int)((float)x / (float)gameidJsondata.width * colorTexure2d.width);
int y1 = (int)((float)y / (float)gameidJsondata.height * colorTexure2d.height);
}
TaskManages.getInstance().addTask(this, (System.Object[] _) =>
{
lineTexture2d.SetPixels(0, 0, gameidJsondata.width, gameidJsondata.height, allColor["line"]);
lineTexture2d.Apply();
lowImgTexture2d.SetPixels(0, 0, gameidJsondata.width, gameidJsondata.height, allColor["low"]);
lowImgTexture2d.Apply();
if (utilsTools.isEqualByValue(gameScenUseInfo.progress, 1.0, 0.0000002f))
{
TaskManages.getInstance().addTask(this, (System.Object[] parma) =>
{
utilsTools.setGDataByKey("enableZoomMove", false);
if (lowImg != null) lowImg.SetActive(false);
if (areaIdBase != null) areaIdBase.SetActive(false);
utilsTools.sendEventObjectParams("gamePlayerEndHandler");
});
}
});
drawThumbnailByAid(new List<short>() { aid });
}
public virtual bool showAreaByPos(short x,short y,OnAreaHandler showBack) public virtual bool showAreaByPos(short x,short y,OnAreaHandler showBack)
{ {
if (x >= digitMatrix.RowCount || y >= digitMatrix.ColumnCount || this.nowSelectgid < 0 || x < 0 || y < 0) if (x >= digitMatrix.RowCount || y >= digitMatrix.ColumnCount || this.nowSelectgid < 0 || x < 0 || y < 0)
...@@ -1060,6 +1038,7 @@ public class mainGameView : MonoBehaviour ...@@ -1060,6 +1038,7 @@ public class mainGameView : MonoBehaviour
return false; return false;
} }
areaItem.isShow = true; areaItem.isShow = true;
if (areaItem.tempExKey.Equals("") == false) if (areaItem.tempExKey.Equals("") == false)
{ {
var node = areaIdBase.transform.Find(areaItem.tempExKey); var node = areaIdBase.transform.Find(areaItem.tempExKey);
...@@ -1070,12 +1049,19 @@ public class mainGameView : MonoBehaviour ...@@ -1070,12 +1049,19 @@ public class mainGameView : MonoBehaviour
} }
areaItem.tempExKey = ""; areaItem.tempExKey = "";
} }
if (fillAnimation == true)
{
AreaAnimationDiffuse areaAnimationDiffuse = new AreaAnimationDiffuse(x, y, aid); AreaAnimationDiffuse areaAnimationDiffuse = new AreaAnimationDiffuse(x, y, aid);
areaAnimationDiffuse.m_fpsStart = 0; areaAnimationDiffuse.m_fpsStart = 0;
short m_fpsEnd = utilsTools.getGDataByKey<short>("areaOutValue", areaAnimationDiffuse.m_fpsEnd); //short m_fpsEnd = utilsTools.getGDataByKey<short>("areaOutValue", areaAnimationDiffuse.m_fpsEnd);
areaAnimationDiffuse.m_fpsEnd = m_fpsEnd; areaAnimationDiffuse.m_fpsEnd = 50;
showAreaAnimationDatas.Add(areaAnimationDiffuse); showAreaAnimationDatas.Add(areaAnimationDiffuse);
}
else
{
groupPtInfos_All[areaItem.gid].removeAid(areaItem.id);
onShowAreaByNoAnimation(areaItem.id);
}
if(areaIdBase != null) if(areaIdBase != null)
{ {
var eff = areaIdBase.transform.Find("clickPosEff"); var eff = areaIdBase.transform.Find("clickPosEff");
...@@ -1102,74 +1088,47 @@ public class mainGameView : MonoBehaviour ...@@ -1102,74 +1088,47 @@ public class mainGameView : MonoBehaviour
showBack(aid, true); showBack(aid, true);
return true; return true;
} }
// Update is called once per frame // Update is called once per frame
void Update() void Update()
{ {
TaskManages.getInstance().updateTask(this);
onShowAnimationHandler(); onShowAnimationHandler();
} }
//暂时不支持 不同组在同一帧率填充过程 private void LateUpdate()
{
TaskManages.getInstance().updateTask(this);
}
void onShowAnimationHandler() void onShowAnimationHandler()
{ {
if (showAreaAnimationDatas.Count > 0) if(showAreaAnimationDatas.Count > 0)
{ {
int cout = 0;
int width = lineTexture2d.width;
int height = lineTexture2d.height;
Texture2D selectTexture = null;
selectTexture = lowImg.GetComponent<Image>().sprite.texture;
List<short> removeAids = new List<short>(); List<short> removeAids = new List<short>();
bool isBackWrite = false;
foreach (var item in showAreaAnimationDatas)
{
float setp = 1f;
int cout1 = 0; int cout1 = 0;
if (item.m_fpsEnd > 10) int dt001 = utilsTools.getTotalMillisecond();
foreach (var item in showAreaAnimationDatas)
{ {
// 32 == > 1 / (8) -- > 0.125
// 52 ==> 1 / 13 0.0769230769230769
setp = 1 / (item.m_fpsEnd / 4f);
}
short gid = gameidJsondata.getAid(item.m_aid).gid; short gid = gameidJsondata.getAid(item.m_aid).gid;
short nowCheckId = (short)(item.m_aid + 20);
var groupPtInfo = groupPtInfos[gid]; var groupPtInfo = groupPtInfos[gid];
short nowcheckAid = (short)(item.m_aid + 20); int cout = 0;
bool isChange = nowSelectgid.Equals(gameidJsondata.roomDatas[item.m_aid].gid); utilsTools.Ring(item.m_x, item.m_y, item.m_fpsEnd, item.m_fpsStart, gameidJsondata.width, gameidJsondata.height,(int x, int y, int idx) =>
for (float angle = 0; angle < 360; angle += setp) { {
Vector2 direct = new Vector2(Mathf.Sin(angle), Mathf.Cos(angle)); short nowValue = digitMatrix.Data[x, y];
for (short r = item.m_fpsStart; r < item.m_fpsEnd; r++) if(!nowValue.Equals(nowCheckId))
{ {
//下标0就只需要一个点就可以了,不需要360都算一遍 return false;
if (item.m_fpsStart < 2 && r == 0 && utilsTools.isEqualByValue(angle, 0.0f, 0.0005f) == false) continue;
Vector2 scale = direct * r;
short x = Convert.ToInt16(scale.x+ item.m_x);
short y = Convert.ToInt16(scale.y + item.m_y);
if (x < 0 || y < 0 || x >= width || y >= height) continue;
short nowDataValue = digitMatrix.Data[x, y];
if (nowDataValue.Equals(fullShow)) continue;
if (!nowDataValue.Equals(nowcheckAid) ) {
continue;
} }
cout++;
cout1++;
digitMatrix.Data[x, y] = fullShow; digitMatrix.Data[x, y] = fullShow;
isBackWrite = true; Color color = allColor["line"][idx];
int idx = y * gameidJsondata.width + x;
Color color = allColor["line"][idx];// lineTexture2d.GetPixel(x, y);
color.a = 0; color.a = 0;
allColor["line"][idx] = color; allColor["line"][idx] = color;
allColor["low"][idx] = color; allColor["low"][idx] = color;
//lineTexture2d.SetPixel(x, y, color);//显示过程 return true;
//lowImgTexture2d.SetPixel(x, y, color); });
if (thumbnailTexture2d != null) { if (cout == 0)
Color color2 = colorTexure2d.GetPixelBilinear((float)x / (float)gameidJsondata.width, (float)y / (float)gameidJsondata.height);
allColor["thumbnail"][idx] = color2;
//thumbnailTexture2d.SetPixel(x,y,color2);
}
cout++;
cout1++;
}
}
if(cout1 == 0)
{ {
//没有可渲染区域 //没有可渲染区域
removeAids.Add(item.m_aid); removeAids.Add(item.m_aid);
...@@ -1177,31 +1136,18 @@ public class mainGameView : MonoBehaviour ...@@ -1177,31 +1136,18 @@ public class mainGameView : MonoBehaviour
//groupPtInfo.getLineByAid(item.m_aid,ref tempLineColors); //groupPtInfo.getLineByAid(item.m_aid,ref tempLineColors);
foreach (var item1 in tempLineColors) foreach (var item1 in tempLineColors)
{ {
if (digitMatrix.Data[item1.x,item1.y].Equals(bianlun)) if (digitMatrix.Data[item1.x, item1.y].Equals(bianlun))
{ {
isBackWrite = true; cout++;
int idx = (gameidJsondata.width - item1.x + 1) * gameidJsondata.width + (gameidJsondata.height - item1.y + 1); int idx = (gameidJsondata.width - item1.x + 1) * gameidJsondata.width + (gameidJsondata.height - item1.y + 1);
digitMatrix.Data[item1.x, item1.y] = fullShow; digitMatrix.Data[item1.x, item1.y] = fullShow;
Color color = allColor["line"][idx];//lineTexture2d.GetPixel(item1.x, item1.y); Color color = allColor["line"][idx];
color.a = 0; color.a = 0;
allColor["line"][idx] = color; allColor["line"][idx] = color;
allColor["low"][idx] = color; allColor["low"][idx] = color;
lineTexture2d.SetPixel(item1.x, item1.y, color);//
lowImgTexture2d.SetPixel(item1.x, item1.y, color);
if (thumbnailTexture2d != null)
{
Color color2 = colorTexure2d.GetPixelBilinear(item1.x / (float)gameidJsondata.width, item1.y / (float)gameidJsondata.height);
//thumbnailTexture2d.SetPixel(item1.x, item1.y, color2);
allColor["thumbnail"][idx] = color2;
}
} }
} }
groupPtInfo.removeAid(item.m_aid); groupPtInfo.removeAid(item.m_aid);
if (groupPtInfo.getDataAllKey().Length.Equals(0))
{
GroupByAreaPtInfos groupByAreaPtInfos;
groupPtInfos.TryRemove(gid,out groupByAreaPtInfos);
}
} }
else else
...@@ -1210,22 +1156,23 @@ public class mainGameView : MonoBehaviour ...@@ -1210,22 +1156,23 @@ public class mainGameView : MonoBehaviour
item.m_fpsStart = item.m_fpsEnd; item.m_fpsStart = item.m_fpsEnd;
item.m_fpsEnd += diff; item.m_fpsEnd += diff;
} }
} }
if(isBackWrite)
int dt002 = utilsTools.getTotalMillisecond();
if (cout1 > 0)
{ {
lineTexture2d.SetPixels(0, 0, gameidJsondata.width, gameidJsondata.height, allColor["line"]); lineTexture2d.SetPixels(0, 0, gameidJsondata.width, gameidJsondata.height, allColor["line"]);
selectTexture.SetPixels(0, 0, gameidJsondata.width, gameidJsondata.height, allColor["low"]); int dt003 = utilsTools.getTotalMillisecond();
if(thumbnailTexture2d != null)
thumbnailTexture2d.SetPixels(0, 0, gameidJsondata.width, gameidJsondata.height, allColor["line"]);
}
if (selectTexture != null)
{
selectTexture.Apply();
}
lineTexture2d.Apply(); lineTexture2d.Apply();
if(removeAids.Count > 0) int dt004 = utilsTools.getTotalMillisecond();
lowImgTexture2d.SetPixels(0, 0, gameidJsondata.width, gameidJsondata.height, allColor["low"]);
lowImgTexture2d.Apply();
Debug.Log("4-3 = " + (dt004 - dt003).ToString() + " 3 - 2 = " + (dt003 - dt002).ToString() + " 2 - 1 = " + (dt002 - dt001).ToString());
}
if (removeAids.Count > 0)
{ {
//移除已经播放完成 //移除已经播放完成
foreach (var aid in removeAids) foreach (var aid in removeAids)
{ {
...@@ -1238,30 +1185,58 @@ public class mainGameView : MonoBehaviour ...@@ -1238,30 +1185,58 @@ public class mainGameView : MonoBehaviour
} }
} }
} }
if(showAreaAnimationDatas.Count == 0) drawThumbnailByAid(removeAids);
if (showAreaAnimationDatas.Count == 0)
{ {
//保存一次缩略遮罩图 //保存一次缩略遮罩图
string path = gameScenUseInfo.getLocalThumbnailPath(); thumbnailIsChange = true;
if(thumbnailTexture2d != null)
{
var sltTextureSize = utilsTools.getGDataByKey<Vector2>("sltTextureSize", Vector2.one);
utilsTools.saveByteToPath(utilsTools.ScaleTexture(thumbnailTexture2d, Convert.ToInt32(sltTextureSize.x),Convert.ToInt32(sltTextureSize.y)).EncodeToJPG(), path);
}
if (utilsTools.isEqualByValue(gameScenUseInfo.progress, 1.0, 0.0000002f)) if (utilsTools.isEqualByValue(gameScenUseInfo.progress, 1.0, 0.0000002f))
{ {
TaskManages.getInstance().addTask(this, (System.Object[] parma) => TaskManages.getInstance().addTask(this, (System.Object[] parma) =>
{ {
utilsTools.setGDataByKey("enableZoomMove", false); utilsTools.setGDataByKey("enableZoomMove", false);
if (lowImg != null) lowImg.SetActive(false); if (lowImg != null) lowImg.SetActive(false);
if(areaIdBase != null) areaIdBase.SetActive(false); if (areaIdBase != null) areaIdBase.SetActive(false);
utilsTools.sendEventObjectParams("gamePlayerEndHandler"); utilsTools.sendEventObjectParams("gamePlayerEndHandler");
}); });
} }
} }
} }
} }
} }
void drawThumbnailByAid(List<short> aids)
{
if (false)
{
TaskItemBack taskItemBack = (System.Object[] parmass) =>
{
short aid = (short)parmass[0];
int startIdx = (int)parmass[1];
int step = (int)parmass[2];
var pts = GroupByAreaPtInfos.mapAllDatas[aid];
Color[] thumbnail = allColor["thumbnail"];
Color[] jpgColors = allColor["color"];
for (int i = 0; i < step; i++)
{
int value = pts[i + startIdx];
short x = (short)(value % gameidJsondata.width);
short y = (short)(value / gameidJsondata.width);
int x1 = (int)((float)x / (float)gameidJsondata.width * colorTexure2d.width);
int y1 = (int)((float)y / (float)gameidJsondata.height * colorTexure2d.height);
thumbnail[value] = jpgColors[y1 * colorTexure2d.width + x1];
}
thumbnailIsChange = true;
};
for (int i = 0; i < aids.Count; i++)
{
short aid = aids[i];
int cout = GroupByAreaPtInfos.mapAllDatas[aid].Count;
object[] parmass1 = { aid };
loopAddTaskBack(cout, 10240, taskItemBack, parmass1);
}
}
}
public void resetSize() public void resetSize()
{ {
//怎么保持宽高比 //怎么保持宽高比
...@@ -1341,7 +1316,7 @@ public class mainGameView : MonoBehaviour ...@@ -1341,7 +1316,7 @@ public class mainGameView : MonoBehaviour
return; return;
} }
var aidpts = groupPtInfos[nowSelectgid]; var aidpts = groupPtInfos[nowSelectgid];
short[] noshowAids = aidpts.getDataAllKey(); short[] noshowAids = aidpts.getDataAllKey(true);
if (noshowAids.Length > 0) if (noshowAids.Length > 0)
{ {
short aid = -1; short aid = -1;
...@@ -1408,11 +1383,21 @@ public class mainGameView : MonoBehaviour ...@@ -1408,11 +1383,21 @@ public class mainGameView : MonoBehaviour
{ {
var tipAidInfo = gameidJsondata.getAid(item); var tipAidInfo = gameidJsondata.getAid(item);
showAreaByPos(tipAidInfo.px, tipAidInfo.py, null); showAreaByPos(tipAidInfo.px, tipAidInfo.py, null);
break;
} }
utilsTools.addTimer_Update(gameObject, "sdcdvc", (String name) =>
{
utilsTools.setGDataByKey("enableZoomMove", false);
if (lowImg != null) lowImg.SetActive(false);
if (areaIdBase != null) areaIdBase.SetActive(false);
utilsTools.sendEventObjectParams("gamePlayerEndHandler");
return false;
},15);
}, aids); }, aids);
} }
}else{ }
else{
utilsTools.setGDataByKey("enableZoomMove", false); utilsTools.setGDataByKey("enableZoomMove", false);
if (lowImg != null) lowImg.SetActive(false); if (lowImg != null) lowImg.SetActive(false);
if (areaIdBase != null) areaIdBase.SetActive(false); if (areaIdBase != null) areaIdBase.SetActive(false);
...@@ -1502,11 +1487,13 @@ public class mainGameView : MonoBehaviour ...@@ -1502,11 +1487,13 @@ public class mainGameView : MonoBehaviour
{ {
//结束key 开始value //结束key 开始value
Dictionary<string,string> timeKeys = new Dictionary<string,string>(); Dictionary<string,string> timeKeys = new Dictionary<string,string>();
timeKeys.Add("loadingEnd", "downGaoQing"); timeKeys.Add("loadingEnd", "firstT");
timeKeys.Add("endUnZip", "beginUnZip");
timeKeys.Add("downGaoQingBack", "downGaoQing"); timeKeys.Add("downGaoQingBack", "downGaoQing");
timeKeys.Add("initFanHong_1", "initFanHong"); timeKeys.Add("initFanHong_1", "initFanHong");
timeKeys.Add("initFanHong_2", "initFanHong_1"); timeKeys.Add("initFanHong_2", "initFanHong_1");
timeKeys.Add("initFanHong_3", "initFanHong_2"); timeKeys.Add("initFanHong_3", "initFanHong_2");
timeKeys.Add("lineHandlerEnd", "loadGaoQingBack");
timeKeys.Add("downJsonBack", "downJson"); timeKeys.Add("downJsonBack", "downJson");
timeKeys.Add("downJsonAsynTask", "downJsonBack"); timeKeys.Add("downJsonAsynTask", "downJsonBack");
timeKeys.Add("loadGaoQingBack", "loadGaoQing"); timeKeys.Add("loadGaoQingBack", "loadGaoQing");
...@@ -1514,6 +1501,10 @@ public class mainGameView : MonoBehaviour ...@@ -1514,6 +1501,10 @@ public class mainGameView : MonoBehaviour
timeKeys.Add("makeAreaIdEnd", "makeAreaIdBegin"); timeKeys.Add("makeAreaIdEnd", "makeAreaIdBegin");
timeKeys.Add("makeThumbnailEnd", "makeThumbnailBegin"); timeKeys.Add("makeThumbnailEnd", "makeThumbnailBegin");
timeKeys.Add("loadJpgBack", "loadJpg"); timeKeys.Add("loadJpgBack", "loadJpg");
timeKeys.Add("loadBinEnd", "loadBinBegin");
timeKeys.Add("downZipEnd", "downZipBegin");
timeKeys.Add("endIdPosToArray", "beginIdPosToArray");
timeKeys.Add("firstSwitchShowAreaEnd", "firstSwitchShowAreaBegin"); timeKeys.Add("firstSwitchShowAreaEnd", "firstSwitchShowAreaBegin");
String str1 = ""; String str1 = "";
foreach (var item in timeKeys) foreach (var item in timeKeys)
...@@ -1521,10 +1512,16 @@ public class mainGameView : MonoBehaviour ...@@ -1521,10 +1512,16 @@ public class mainGameView : MonoBehaviour
int defvalue = 0; int defvalue = 0;
int end = utilsTools.getGDataByKey<int>(item.Key, defvalue); int end = utilsTools.getGDataByKey<int>(item.Key, defvalue);
int begin = utilsTools.getGDataByKey<int>(item.Value, defvalue); int begin = utilsTools.getGDataByKey<int>(item.Value, defvalue);
if(end.Equals(defvalue) || begin.Equals(defvalue)) { continue; }
str1 = str1 + item.Key + "-----" + item.Value + ":" + (end - begin).ToString()+"\n"; str1 = str1 + item.Key + "-----" + item.Value + ":" + (end - begin).ToString()+"\n";
} }
Debug.Log(str1); Debug.Log(str1);
transform.parent.Find("debugShowTimes").GetComponent<TextMeshProUGUI>().text = str1; transform.parent.Find("debugShowTimes").GetComponent<TextMeshProUGUI>().text = str1;
} utilsTools.addTimer_Sec(gameObject, "sdf", (String _) =>
{
transform.parent.Find("debugShowTimes").gameObject.SetActive(false);
return false;
}, 5);
}
} }
...@@ -4,6 +4,7 @@ using System.Collections.Generic; ...@@ -4,6 +4,7 @@ using System.Collections.Generic;
using System.IO; using System.IO;
using System.Linq; using System.Linq;
using System.Net; using System.Net;
using System.Security.Cryptography;
using System.Text; using System.Text;
using Unity.VisualScripting; using Unity.VisualScripting;
using UnityEngine; using UnityEngine;
...@@ -42,7 +43,8 @@ public class nodeNetProxy : MonoBehaviour ...@@ -42,7 +43,8 @@ public class nodeNetProxy : MonoBehaviour
int ret = 0; int ret = 0;
if (item.Type == 0) if (item.Type == 0)
{ {
ret = httpget(item); ret = 0;
StartCoroutine(httpget(item));
}else if(item.Type == 2) }else if(item.Type == 2)
{ {
StartCoroutine(DonLoadImage(item)); StartCoroutine(DonLoadImage(item));
...@@ -66,28 +68,42 @@ public class nodeNetProxy : MonoBehaviour ...@@ -66,28 +68,42 @@ public class nodeNetProxy : MonoBehaviour
} }
} }
} }
private int httpget(nodeNetProxyItem item) IEnumerator httpget(nodeNetProxyItem item)
{
//HttpWebRequest request = null;
//request = WebRequest.Create(item.url) as HttpWebRequest;
//request.Method = "GET";
//HttpWebResponse res = (HttpWebResponse)request.GetResponse();
UnityWebRequest request = UnityWebRequest.Get(item.url);
yield return request.SendWebRequest();
if (request.isHttpError || request.isNetworkError)
{
//POST(item.url, item.data["srcParams"].ToString(), item.isText, item.back);
item.call("", false, null);
yield return -1;
}
if (request.isDone)
{ {
HttpWebRequest request = null;
request = WebRequest.Create(item.url) as HttpWebRequest;
request.Method = "GET";
HttpWebResponse res = (HttpWebResponse)request.GetResponse();
int ret = 0; int ret = 0;
if (item.isText) if (item.isText)
{ {
StreamReader sr = new StreamReader(res.GetResponseStream(), Encoding.UTF8); String text = request.downloadHandler.text;
string content = sr.ReadToEnd(); //StreamReader sr = new StreamReader(res.GetResponseStream(), Encoding.UTF8);
ret = item.call("", true, content); //string content = sr.ReadToEnd();
ret = item.call("", true, text);
} }
else else
{ {
ret = item.call("", true, res.GetResponseStream()); ret = item.call("", true, request.downloadHandler.data);
} }
if (ret == 1) if (ret == 1)
{ {
item.faileInterval = 10; item.faileInterval = 10;
} }
return ret; yield return ret;
}
} }
IEnumerator httpPost(nodeNetProxyItem item) IEnumerator httpPost(nodeNetProxyItem item)
{ {
......
...@@ -16,6 +16,7 @@ public enum ListViewBackTypeEnum ...@@ -16,6 +16,7 @@ public enum ListViewBackTypeEnum
public delegate void listViewBack(GameObject gameObject, int idx,ListViewBackTypeEnum backType); public delegate void listViewBack(GameObject gameObject, int idx,ListViewBackTypeEnum backType);
public delegate void gradViewBack(GameObject gameObject, int idx, ListViewBackTypeEnum backType); public delegate void gradViewBack(GameObject gameObject, int idx, ListViewBackTypeEnum backType);
public delegate void GetGradViewInfo(int idx,ref string useName,ref float height); public delegate void GetGradViewInfo(int idx,ref string useName,ref float height);
////true 保留 false 终止
public delegate bool timeEventBack(string name); public delegate bool timeEventBack(string name);
//id 随机id url 请求的url data 返回的数据,如果失败null //id 随机id url 请求的url data 返回的数据,如果失败null
//返回值 int -1 失败不做循环 0 成功 1 失败插入循环处理 //返回值 int -1 失败不做循环 0 成功 1 失败插入循环处理
......
...@@ -47,6 +47,7 @@ public class colorItem : MonoBehaviour ...@@ -47,6 +47,7 @@ public class colorItem : MonoBehaviour
} }
public void switchPlayAnimation() public void switchPlayAnimation()
{ {
if (transform == null) return;
if(isSelect) if(isSelect)
{ {
transform.localScale = normalScale; transform.localScale = normalScale;
......
using System.IO;
using System.Collections;
using UnityEngine;
using ICSharpCode.SharpZipLib.Zip;
public static class ZipUtility
{
#region ZipCallback
public abstract class ZipCallback
{
/// <summary>
/// 压缩单个文件或文件夹前执行的回调
/// </summary>
/// <param name="_entry"></param>
/// <returns>如果返回true,则压缩文件或文件夹,反之则不压缩文件或文件夹</returns>
public virtual bool OnPreZip(ZipEntry _entry)
{
return true;
}
/// <summary>
/// 压缩单个文件或文件夹后执行的回调
/// </summary>
/// <param name="_entry"></param>
public virtual void OnPostZip(ZipEntry _entry) { }
/// <summary>
/// 压缩执行完毕后的回调
/// </summary>
/// <param name="_result">true表示压缩成功,false表示压缩失败</param>
public virtual void OnFinished(bool _result) { }
}
#endregion
#region UnzipCallback
public abstract class UnzipCallback
{
/// <summary>
/// 解压单个文件或文件夹前执行的回调
/// </summary>
/// <param name="_entry"></param>
/// <returns>如果返回true,则压缩文件或文件夹,反之则不压缩文件或文件夹</returns>
public virtual bool OnPreUnzip(ZipEntry _entry)
{
return true;
}
/// <summary>
/// 解压单个文件或文件夹后执行的回调
/// </summary>
/// <param name="_entry"></param>
public virtual void OnPostUnzip(ZipEntry _entry) { }
/// <summary>
/// 解压执行完毕后的回调
/// </summary>
/// <param name="_result">true表示解压成功,false表示解压失败</param>
public virtual void OnFinished(bool _result) { }
}
#endregion
/// <summary>
/// 压缩文件和文件夹
/// </summary>
/// <param name="_fileOrDirectoryArray">文件夹路径和文件名</param>
/// <param name="_outputPathName">压缩后的输出路径文件名</param>
/// <param name="_password">压缩密码</param>
/// <param name="_zipCallback">ZipCallback对象,负责回调</param>
/// <returns></returns>
public static bool Zip(string[] _fileOrDirectoryArray, string _outputPathName, string _password = null, ZipCallback _zipCallback = null)
{
if ((null == _fileOrDirectoryArray) || string.IsNullOrEmpty(_outputPathName))
{
if (null != _zipCallback)
_zipCallback.OnFinished(false);
return false;
}
ZipOutputStream zipOutputStream = new ZipOutputStream(File.Create(_outputPathName));
zipOutputStream.SetLevel(9); // 压缩质量和压缩速度的平衡点
if (!string.IsNullOrEmpty(_password))
zipOutputStream.Password = _password;
for (int index = 0; index < _fileOrDirectoryArray.Length; ++index)
{
bool result = false;
string fileOrDirectory = _fileOrDirectoryArray[index];
if (Directory.Exists(fileOrDirectory))
result = ZipDirectory(fileOrDirectory, string.Empty, zipOutputStream, _zipCallback);
else if (File.Exists(fileOrDirectory))
result = ZipFile(fileOrDirectory, string.Empty, zipOutputStream, _zipCallback);
if (!result)
{
if (null != _zipCallback)
_zipCallback.OnFinished(false);
return false;
}
}
zipOutputStream.Finish();
zipOutputStream.Close();
if (null != _zipCallback)
_zipCallback.OnFinished(true);
return true;
}
/// <summary>
/// 解压Zip包
/// </summary>
/// <param name="_filePathName">Zip包的文件路径名</param>
/// <param name="_outputPath">解压输出路径</param>
/// <param name="_password">解压密码</param>
/// <param name="_unzipCallback">UnzipCallback对象,负责回调</param>
/// <returns></returns>
public static bool UnzipFile(string _filePathName, string _outputPath, string _password = null, UnzipCallback _unzipCallback = null)
{
if (string.IsNullOrEmpty(_filePathName) || string.IsNullOrEmpty(_outputPath))
{
if (null != _unzipCallback)
_unzipCallback.OnFinished(false);
return false;
}
try
{
return UnzipFile(File.OpenRead(_filePathName), _outputPath, _password, _unzipCallback);
}
catch (System.Exception _e)
{
Debug.LogError("[ZipUtility.UnzipFile]: " + _e.ToString());
if (null != _unzipCallback)
_unzipCallback.OnFinished(false);
return false;
}
}
/// <summary>
/// 解压Zip包
/// </summary>
/// <param name="_fileBytes">Zip包字节数组</param>
/// <param name="_outputPath">解压输出路径</param>
/// <param name="_password">解压密码</param>
/// <param name="_unzipCallback">UnzipCallback对象,负责回调</param>
/// <returns></returns>
public static bool UnzipFile(byte[] _fileBytes, string _outputPath, string _password = null, UnzipCallback _unzipCallback = null)
{
if ((null == _fileBytes) || string.IsNullOrEmpty(_outputPath))
{
if (null != _unzipCallback)
_unzipCallback.OnFinished(false);
return false;
}
bool result = UnzipFile(new MemoryStream(_fileBytes), _outputPath, _password, _unzipCallback);
if (!result)
{
if (null != _unzipCallback)
_unzipCallback.OnFinished(false);
}
return result;
}
/// <summary>
/// 解压Zip包
/// </summary>
/// <param name="_inputStream">Zip包输入流</param>
/// <param name="_outputPath">解压输出路径</param>
/// <param name="_password">解压密码</param>
/// <param name="_unzipCallback">UnzipCallback对象,负责回调</param>
/// <returns></returns>
public static bool UnzipFile(Stream _inputStream, string _outputPath, string _password = null, UnzipCallback _unzipCallback = null)
{
if ((null == _inputStream) || string.IsNullOrEmpty(_outputPath))
{
if (null != _unzipCallback)
_unzipCallback.OnFinished(false);
return false;
}
// 创建文件目录
if (!Directory.Exists(_outputPath))
Directory.CreateDirectory(_outputPath);
// 解压Zip包
ZipEntry entry = null;
using (ZipInputStream zipInputStream = new ZipInputStream(_inputStream))
{
if (!string.IsNullOrEmpty(_password))
zipInputStream.Password = _password;
while (null != (entry = zipInputStream.GetNextEntry()))
{
if (string.IsNullOrEmpty(entry.Name))
continue;
if ((null != _unzipCallback) && !_unzipCallback.OnPreUnzip(entry))
continue; // 过滤
string filePathName = Path.Combine(_outputPath, entry.Name);
// 创建文件目录
if (entry.IsDirectory)
{
Directory.CreateDirectory(filePathName);
continue;
}
// 写入文件
try
{
using (FileStream fileStream = File.Create(filePathName))
{
byte[] bytes = new byte[1024];
while (true)
{
int count = zipInputStream.Read(bytes, 0, bytes.Length);
if (count > 0)
fileStream.Write(bytes, 0, count);
else
{
if (null != _unzipCallback)
_unzipCallback.OnPostUnzip(entry);
break;
}
}
}
}
catch (System.Exception _e)
{
Debug.LogError("[ZipUtility.UnzipFile]: " + _e.ToString());
if (null != _unzipCallback)
_unzipCallback.OnFinished(false);
return false;
}
}
}
if (null != _unzipCallback)
_unzipCallback.OnFinished(true);
return true;
}
/// <summary>
/// 压缩文件
/// </summary>
/// <param name="_filePathName">文件路径名</param>
/// <param name="_parentRelPath">要压缩的文件的父相对文件夹</param>
/// <param name="_zipOutputStream">压缩输出流</param>
/// <param name="_zipCallback">ZipCallback对象,负责回调</param>
/// <returns></returns>
private static bool ZipFile(string _filePathName, string _parentRelPath, ZipOutputStream _zipOutputStream, ZipCallback _zipCallback = null)
{
//Crc32 crc32 = new Crc32();
ZipEntry entry = null;
FileStream fileStream = null;
try
{
string entryName = _parentRelPath + '/' + Path.GetFileName(_filePathName);
entry = new ZipEntry(entryName);
entry.DateTime = System.DateTime.Now;
if ((null != _zipCallback) && !_zipCallback.OnPreZip(entry))
return true; // 过滤
fileStream = File.OpenRead(_filePathName);
byte[] buffer = new byte[fileStream.Length];
fileStream.Read(buffer, 0, buffer.Length);
fileStream.Close();
entry.Size = buffer.Length;
//crc32.Reset();
//crc32.Update(buffer);
//entry.Crc = crc32.Value;
_zipOutputStream.PutNextEntry(entry);
_zipOutputStream.Write(buffer, 0, buffer.Length);
}
catch (System.Exception _e)
{
Debug.LogError("[ZipUtility.ZipFile]: " + _e.ToString());
return false;
}
finally
{
if (null != fileStream)
{
fileStream.Close();
fileStream.Dispose();
}
}
if (null != _zipCallback)
_zipCallback.OnPostZip(entry);
return true;
}
/// <summary>
/// 压缩文件夹
/// </summary>
/// <param name="_path">要压缩的文件夹</param>
/// <param name="_parentRelPath">要压缩的文件夹的父相对文件夹</param>
/// <param name="_zipOutputStream">压缩输出流</param>
/// <param name="_zipCallback">ZipCallback对象,负责回调</param>
/// <returns></returns>
private static bool ZipDirectory(string _path, string _parentRelPath, ZipOutputStream _zipOutputStream, ZipCallback _zipCallback = null)
{
ZipEntry entry = null;
try
{
string entryName = Path.Combine(_parentRelPath, Path.GetFileName(_path) + '/');
entry = new ZipEntry(entryName);
entry.DateTime = System.DateTime.Now;
entry.Size = 0;
if ((null != _zipCallback) && !_zipCallback.OnPreZip(entry))
return true; // 过滤
_zipOutputStream.PutNextEntry(entry);
_zipOutputStream.Flush();
string[] files = Directory.GetFiles(_path);
for (int index = 0; index < files.Length; ++index)
ZipFile(files[index], Path.Combine(_parentRelPath, Path.GetFileName(_path)), _zipOutputStream, _zipCallback);
}
catch (System.Exception _e)
{
Debug.LogError("[ZipUtility.ZipDirectory]: " + _e.ToString());
return false;
}
string[] directories = Directory.GetDirectories(_path);
for (int index = 0; index < directories.Length; ++index)
{
if (!ZipDirectory(directories[index], Path.Combine(_parentRelPath, Path.GetFileName(_path)), _zipOutputStream, _zipCallback))
return false;
}
if (null != _zipCallback)
_zipCallback.OnPostZip(entry);
return true;
}
}
fileFormatVersion: 2
guid: 92cea1ca3a90ca540b463f41e7180df0
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
public class TempGroupInfos
{
public Color rgb;
public int gid;
public short size = 0;
public short show = 0;
public float Jindu
{
get { return (float)show / (float)size; }
}
}
public class AreaAnimationDiffuse
{
public short m_x;
public short m_y;
public short m_aid;
public short m_fpsStart = 1;//r 开始
public short m_fpsEnd = 25;//r 结束
//key beginStart 值 value 这个圆环的像素
public ConcurrentDictionary<short, List<short>> m_datas = new ConcurrentDictionary<short, List<short>>();
public int nowState = 0;//0 尚未开始 1 处理中 2 处理完成
public AreaAnimationDiffuse(short x, short y, short aid)
{
m_x = x;
m_y = y;
m_aid = aid;
}
}
public class Vector2Short
{
public short x;
public short y;
public Vector2Short(short x, short y)
{
this.x = x;
this.y = y;
}
}
public class RectInt
{
public int left = int.MaxValue;
public int top = int.MaxValue;
public int right = int.MinValue;
public int dowm = int.MinValue;
public RectInt() { }
public RectInt(RectInt rectInt)
{
left = rectInt.left;
top = rectInt.top;
right = rectInt.right;
dowm = rectInt.dowm;
}
}
public class GroupByAreaPtInfos
{
//public Dictionary<short, List<Vector2Short>> datas = new Dictionary<short, List<Vector2Short>>();
public Dictionary<short, bool> datasBool = new Dictionary<short, bool>();
private Dictionary<short, bool> lines = new Dictionary<short, bool>();
public static Dictionary<short, List<int>> mapAllDatas = new Dictionary<short, List<int>>();
public static int width;
public static int height;
public bool getDataByAid(short aid, ref List<Vector2Short> data, bool isReBack = false)
{
if (datasBool.ContainsKey(aid) && (datasBool[aid] || isReBack))
{
data.Clear();
for (int i = 0; i < mapAllDatas[aid].Count; i++)
{
int a = mapAllDatas[aid][i];
data.Add(new Vector2Short((short)(a % width), (short)(a / width)));
}
return true;
}
return false;
}
public int getLenByAid(short aid)
{
if (datasBool.ContainsKey(aid) && datasBool[aid])
{
return mapAllDatas[aid].Count;
}
return 0;
}
public bool getIndexPosByIndex(short aid, int index, ref int value)
{
value = mapAllDatas[aid][index];
return true;
}
public bool getIndexPosByIndex(short aid, int index, ref int x, ref int y)
{
int value = 0;
getIndexPosByIndex(aid, index, ref value);
y = value % width;
x = value / width;
return true;
}
public bool getLineByAid(short aid, ref List<Vector2Short> data)
{
if (lines.ContainsKey(aid) == false)
return false;
return false;
//data = lines[aid];
//return true;
}
public short[] getDataAllKey(bool isSelect = false)
{
if (isSelect == false)
{
return datasBool.Keys.ToArray();
}
else
{
List<short> ret = new List<short>();
foreach (var item in datasBool)
{
if (item.Value == true)
{
ret.Add(item.Key);
}
}
return ret.ToArray();
}
}
public void initByAid(short aid)
{
if (datasBool.ContainsKey(aid) == false)
{
datasBool.Add(aid, true);
}
else
{
datasBool[aid] = true;
}
if (lines.ContainsKey(aid) == false)
{
lines.Add(aid, true);
}
else
{
lines[aid] = true;
}
}
public void appendLinePos(short aid, short x, short y)
{
return;
}
public void removeAid(short aid)
{
if (datasBool.ContainsKey(aid) == false) return;
datasBool[aid] = false;
}
}
public class ColorIndexTables
{
Dictionary<uint, Color> colors = new Dictionary<uint, Color>();
uint[,] indexs;
int width;
int height;
public ColorIndexTables(int width, int height)
{
indexs = new uint[width, height];
this.width = width;
this.height = height;
}
public bool setColor(int x, int y, Color color)
{
double key1 = color.r * 256f * 256f + color.g * 256f + color.b * 50f + color.a;
uint key = Convert.ToUInt32(key1);
if (colors.ContainsKey(key) == false)
{
colors.Add(key, color);
}
indexs[x, y] = key;
return true;
}
public bool getColor(int x, int y, ref Color color)
{
if (x < 0 || x >= width || y < 0 || y >= height) { return false; }
uint key = indexs[x, y];
Color temp = colors[key];
color = new Color(temp.r, temp.g, temp.b, temp.a);
return true;
}
public bool getTiledColor(int x, int y, ref Color color)
{
if (x < 0)
{
return false;
}
//if (x < 0 || y < 0) return false;
return getColor(x % width, y % height, ref color);
}
}
public class mainGameViewHelp
{
}
fileFormatVersion: 2
guid: 06bbe9aa9e8d58246bb68c41a49ac64a
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
using System; using System;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.IO; using System.IO;
...@@ -11,6 +11,7 @@ using UnityEngine; ...@@ -11,6 +11,7 @@ using UnityEngine;
using UnityEngine.Networking; using UnityEngine.Networking;
using UnityEngine.UI; using UnityEngine.UI;
public class utilsTools public class utilsTools
{ {
private static int isPhone = 0; private static int isPhone = 0;
...@@ -100,6 +101,7 @@ public class utilsTools ...@@ -100,6 +101,7 @@ public class utilsTools
displaySize = value; displaySize = value;
} }
} }
public static Dictionary<String, GameObject> dynamicMount = new Dictionary<string, GameObject>(); public static Dictionary<String, GameObject> dynamicMount = new Dictionary<string, GameObject>();
public static bool addTimer_Sec(GameObject gameObject, string name, timeEventBack back, double intervalLen, uint loopRepetitionLen = 1) public static bool addTimer_Sec(GameObject gameObject, string name, timeEventBack back, double intervalLen, uint loopRepetitionLen = 1)
{ {
...@@ -199,6 +201,115 @@ public class utilsTools ...@@ -199,6 +201,115 @@ public class utilsTools
public static bool sendEventUObjects(string name,List<UnityEngine.Object> objects,List<System.Object> list = null){ public static bool sendEventUObjects(string name,List<UnityEngine.Object> objects,List<System.Object> list = null){
return IRunEventManages.send(name, objects, list); return IRunEventManages.send(name, objects, list);
} }
public delegate bool YuanHuanBackHandler(int x, int y, int idx);
public static int Ring(int startX, int startY, int RMin, int RMax, int width, int height, YuanHuanBackHandler ringBack)
{
if (RMin > RMax)
{
return Ring(startX, startY, RMax, RMin, width, height, ringBack);
}
int RMaxFang = RMax * RMax;
int RMinFang = RMin * RMin;
int diff = RMax - RMin;
int cout = 0;
int prveEndY = 0;
int prveStartY = 0 - RMax;
for (int x = -RMax + 1; x < RMax; x++)
{
int XFang = x * x;
int x1 = startX + x;
if (x1 < 0)
{
cout++;
continue;
}
if(x1 >= width)
{
cout++;
break;
};
int startY1 = (int)Math.Sqrt((double)(RMaxFang - XFang));
prveStartY = startY1 * -1;
if (RMax - Math.Abs(x) < diff)
prveEndY = 0;
else
{
prveEndY = (int)Math.Sqrt((double)(RMinFang - XFang)) * -1;
}
for (int y = prveStartY; y <= prveEndY; y++)
{
cout++;
int y1 = startY + y;
if (y1 >= 0)
{
ringBack(x1, y1,y1 * width + x1);
}
int y2 = startY - y;
if (y2 < height)
{
ringBack(x1, y2,y2 * width + x1);
}
}
}
return cout;
}
public static int checkResetYuanJiao(Color[] colors, int width, int height,int minR) {
//检查四个角落是否透明
int rFang = minR * minR;
int count = 0;
int x = 0;
int y = 0;
int idx = 0;
for (int i = 0;i < minR; i++)
{
int iFang = (minR - i) * (minR - i);
for(int j = 0;j < minR; j++)
{
if(iFang + (minR - j) * (minR - j) > rFang)//超出⚪范围
{
x = i;
y = j;
idx = y * width + x;
if(colors[idx].a != 0)
{
colors[idx].a = 0;
count++;
}
x = width - i-1;
y = height - j-1;
idx = y * width + x;
if (colors[idx].a != 0)
{
colors[idx].a = 0;
count++;
}
x = i;
y = height - j-1;
idx = y * width + x;
if (colors[idx].a != 0)
{
colors[idx].a = 0;
count++;
}
x = width - i-1;
y = j;
idx = y * width + x;
if (colors[idx].a != 0)
{
colors[idx].a = 0;
count++;
}
}
}
}
return count;
}
public static bool sendEventObjectParams(string name, System.Object param1 = null,System.Object param2 = null, System.Object param3 = null, List<System.Object> listex = null) public static bool sendEventObjectParams(string name, System.Object param1 = null,System.Object param2 = null, System.Object param3 = null, List<System.Object> listex = null)
{ {
List<System.Object> list = null; List<System.Object> list = null;
...@@ -275,6 +386,7 @@ public class utilsTools ...@@ -275,6 +386,7 @@ public class utilsTools
} }
Texture2D texture2d = data as Texture2D; Texture2D texture2d = data as Texture2D;
Sprite sprite = Sprite.Create(texture2d, new Rect(0, 0, texture2d.width, texture2d.height), new Vector2(0.5f, 0.5f)); Sprite sprite = Sprite.Create(texture2d, new Rect(0, 0, texture2d.width, texture2d.height), new Vector2(0.5f, 0.5f));
var oldSprite = image.sprite;
image.sprite = sprite; image.sprite = sprite;
image.sprite.texture.Apply(); image.sprite.texture.Apply();
if (back != null) { if (back != null) {
...@@ -283,6 +395,7 @@ public class utilsTools ...@@ -283,6 +395,7 @@ public class utilsTools
return 0; return 0;
}); });
} }
public static void httpDownText(MonoBehaviour monoBehaviour,string url,string localpath, onUrlBackHandler back) public static void httpDownText(MonoBehaviour monoBehaviour,string url,string localpath, onUrlBackHandler back)
{ {
nodeNetProxy netProxy = monoBehaviour.GetComponent<nodeNetProxy>(); nodeNetProxy netProxy = monoBehaviour.GetComponent<nodeNetProxy>();
...@@ -339,9 +452,9 @@ public class utilsTools ...@@ -339,9 +452,9 @@ public class utilsTools
{ {
long begtime = timestamp;// * 10000; long begtime = timestamp;// * 10000;
DateTime dt_1970 = new DateTime(1970, 1, 1, 8, 0, 0); DateTime dt_1970 = new DateTime(1970, 1, 1, 8, 0, 0);
long tricks_1970 = dt_1970.Ticks;//1970年1月1日刻度 long tricks_1970 = dt_1970.Ticks;//1970年1月1日刻度
long time_tricks = tricks_1970 + begtime;//日志日期刻度 long time_tricks = tricks_1970 + begtime;//日志日期刻度
DateTime dt = new DateTime(time_tricks);//转化为DateTime DateTime dt = new DateTime(time_tricks);//转化为DateTime
return dt; return dt;
} }
public static long GetTimeMillisecondsByDateTime(DateTime dt) public static long GetTimeMillisecondsByDateTime(DateTime dt)
...@@ -351,7 +464,7 @@ public class utilsTools ...@@ -351,7 +464,7 @@ public class utilsTools
} }
public static bool showWebView(string url) public static bool showWebView(string url)
{ {
Debug.Log("引擎不支持或者三方插件不支持非Android|IOS调用webView"); Debug.Log("引擎不支持或者三方插件不支持非Android|IOS调用webView");
return false; return false;
} }
public static totalView showTotal(string context,float timeLen = 5) public static totalView showTotal(string context,float timeLen = 5)
...@@ -402,18 +515,18 @@ public class utilsTools ...@@ -402,18 +515,18 @@ public class utilsTools
public static string EncryptString(string str) public static string EncryptString(string str)
{ {
//将字符串以UTF-8格式转为byte数组 //将字符串以UTF-8格式转为byte数组
byte[] resultBytes = Encoding.UTF8.GetBytes(str); byte[] resultBytes = Encoding.UTF8.GetBytes(str);
//创建一个MD5的对象 //创建一个MD5的对象
MD5 md5 = new MD5CryptoServiceProvider(); MD5 md5 = new MD5CryptoServiceProvider();
//调用MD5的ComputeHash方法将字节数组加密 //调用MD5的ComputeHash方法将字节数组加密
byte[] outPut = md5.ComputeHash(resultBytes); byte[] outPut = md5.ComputeHash(resultBytes);
StringBuilder hashString = new StringBuilder(); StringBuilder hashString = new StringBuilder();
//最后把加密后的字节数组转为字符串 //最后把加密后的字节数组转为字符串
for (int i = 0; i < outPut.Length; i++) for (int i = 0; i < outPut.Length; i++)
{ {
hashString.Append(Convert.ToString(outPut[i], 16).PadLeft(2, '0')); hashString.Append(Convert.ToString(outPut[i], 16).PadLeft(2, '0'));
...@@ -500,18 +613,18 @@ public class utilsTools ...@@ -500,18 +613,18 @@ public class utilsTools
else else
return (value2 - mismatch) < value1; return (value2 - mismatch) < value1;
} }
//外面列表的并且有本地进度时候的调用 //外面列表的并且有本地进度时候的调用
//loadImageThumbnailById("6573",(Sprite sprite,string id,Image image)=>{if(image == null) image = gameObject.GetComponent<Image>();image.sprite = sprite;...},image1) //loadImageThumbnailById("6573",(Sprite sprite,string id,Image image)=>{if(image == null) image = gameObject.GetComponent<Image>();image.sprite = sprite;...},image1)
public static void loadImageThumbnailById(string id, LoadImageBack loadImageBack, Image image = null) public static void loadImageThumbnailById(string id, LoadImageBack loadImageBack, Image image = null)
{ {
} }
//初始化播放游戏过程 //初始化播放游戏过程
//OnAreaHandler 回调的时候才能调用replayGameProcessById //OnAreaHandler 回调的时候才能调用replayGameProcessById
public static void initPlayGameById(string id,GameObject gameObject, OnAreaHandler onAreaHandler) public static void initPlayGameById(string id,GameObject gameObject, OnAreaHandler onAreaHandler)
{ {
} }
//开始播放游戏过程 //开始播放游戏过程
public static void replayGameProcessById(string id,GameObject gameObject,List<Tuple<short,float,float>> playOrders) public static void replayGameProcessById(string id,GameObject gameObject,List<Tuple<short,float,float>> playOrders)
{ {
} }
...@@ -580,11 +693,23 @@ public class utilsTools ...@@ -580,11 +693,23 @@ public class utilsTools
return path; return path;
} }
} }
if(IsWin == true && path.IndexOf("\\") > 0)
{
return getWritableByPath(path.Replace("\\", "/"));
}
return persistentDataPath + "/" + path; return persistentDataPath + "/" + path;
} }
public static bool IsExistIO(string path,bool isFile = true) public static bool IsExistIO(string path,bool isFile = true)
{ {
string path1 = getWritableByPath(path); string path1 = getWritableByPath(path);
if (IsWin == true)
{
path1 = path1.Replace("/", "\\");
}
else
{
path1 = path1.Replace("\\", "/");
}
if (isFile) return File.Exists(path1); if (isFile) return File.Exists(path1);
return Directory.Exists(path1); return Directory.Exists(path1);
} }
...@@ -615,37 +740,7 @@ public class utilsTools ...@@ -615,37 +740,7 @@ public class utilsTools
} }
public static string copyFile(string path) public static string copyFile(string path)
{ {
//string retpath = path; String readPath = "";// Application.persistentDataPath + "/" + path;//永久文件地址
////拷贝到可写路径中
//if (IsPhone)
//{
// AndroidJavaClass yoyoClass = new AndroidJavaClass("com.unity3d.player.tools");
// //yoyoClass.CallStatic<bool>("setWriteRootPath", Application.persistentDataPath);
// string objpath = yoyoClass.CallStatic<string>("copyAssetsToWritePath",path);
// Debug.Log("C#ToJavaBack " + objpath);
// if (objpath.Equals("")) return "";
// retpath = objpath;
//}
//else
//{
// if (IsWin)
// {
// string winpath = utilsTools.getWritableByPath(path);
// if (File.Exists(winpath) == false)
// {
// File.Copy("tsmi.db", winpath);
// }
// if (File.Exists(winpath) == false) return "";
// retpath = winpath;
// }
// else
// {
// retpath = path;
// }
//}
//return retpath;
String readPath = "";// Application.persistentDataPath + "/" + path;//永久文件地址
String path1 = Application.persistentDataPath; String path1 = Application.persistentDataPath;
if(path1.EndsWith("/") || path1.EndsWith("\\")) if(path1.EndsWith("/") || path1.EndsWith("\\"))
{ {
...@@ -655,20 +750,20 @@ public class utilsTools ...@@ -655,20 +750,20 @@ public class utilsTools
{ {
readPath = path1 + "/" + path; readPath = path1 + "/" + path;
} }
string sql_DirPath = Path.Combine(Application.streamingAssetsPath, path);//找到streamingAssets下的数据库文件位置//以下代码最好使用协程 string sql_DirPath = Path.Combine(Application.streamingAssetsPath, path);//找到streamingAssets下的数据库文件位置//以下代码最好使用协程
if(IsExistIO(readPath) == true) if(IsExistIO(readPath) == true)
{ {
return readPath; return readPath;
} }
Uri ri = new Uri(sql_DirPath); Uri ri = new Uri(sql_DirPath);
UnityWebRequest wr = UnityWebRequest.Get(ri); UnityWebRequest wr = UnityWebRequest.Get(ri);
//发送文件请求 //发送文件请求
wr.SendWebRequest(); wr.SendWebRequest();
while (!wr.isDone) while (!wr.isDone)
{ {
if (wr.isDone) if (wr.isDone)
{ {
Debug.Log("写入"); Debug.Log("写入");
File.Create(readPath).Dispose(); File.Create(readPath).Dispose();
File.WriteAllBytes(readPath, wr.downloadHandler.data); File.WriteAllBytes(readPath, wr.downloadHandler.data);
return readPath; return readPath;
......
GNU LESSER GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
This version of the GNU Lesser General Public License incorporates
the terms and conditions of version 3 of the GNU General Public
License, supplemented by the additional permissions listed below.
0. Additional Definitions.
As used herein, "this License" refers to version 3 of the GNU Lesser
General Public License, and the "GNU GPL" refers to version 3 of the GNU
General Public License.
"The Library" refers to a covered work governed by this License,
other than an Application or a Combined Work as defined below.
An "Application" is any work that makes use of an interface provided
by the Library, but which is not otherwise based on the Library.
Defining a subclass of a class defined by the Library is deemed a mode
of using an interface provided by the Library.
A "Combined Work" is a work produced by combining or linking an
Application with the Library. The particular version of the Library
with which the Combined Work was made is also called the "Linked
Version".
The "Minimal Corresponding Source" for a Combined Work means the
Corresponding Source for the Combined Work, excluding any source code
for portions of the Combined Work that, considered in isolation, are
based on the Application, and not on the Linked Version.
The "Corresponding Application Code" for a Combined Work means the
object code and/or source code for the Application, including any data
and utility programs needed for reproducing the Combined Work from the
Application, but excluding the System Libraries of the Combined Work.
1. Exception to Section 3 of the GNU GPL.
You may convey a covered work under sections 3 and 4 of this License
without being bound by section 3 of the GNU GPL.
2. Conveying Modified Versions.
If you modify a copy of the Library, and, in your modifications, a
facility refers to a function or data to be supplied by an Application
that uses the facility (other than as an argument passed when the
facility is invoked), then you may convey a copy of the modified
version:
a) under this License, provided that you make a good faith effort to
ensure that, in the event an Application does not supply the
function or data, the facility still operates, and performs
whatever part of its purpose remains meaningful, or
b) under the GNU GPL, with none of the additional permissions of
this License applicable to that copy.
3. Object Code Incorporating Material from Library Header Files.
The object code form of an Application may incorporate material from
a header file that is part of the Library. You may convey such object
code under terms of your choice, provided that, if the incorporated
material is not limited to numerical parameters, data structure
layouts and accessors, or small macros, inline functions and templates
(ten or fewer lines in length), you do both of the following:
a) Give prominent notice with each copy of the object code that the
Library is used in it and that the Library and its use are
covered by this License.
b) Accompany the object code with a copy of the GNU GPL and this license
document.
4. Combined Works.
You may convey a Combined Work under terms of your choice that,
taken together, effectively do not restrict modification of the
portions of the Library contained in the Combined Work and reverse
engineering for debugging such modifications, if you also do each of
the following:
a) Give prominent notice with each copy of the Combined Work that
the Library is used in it and that the Library and its use are
covered by this License.
b) Accompany the Combined Work with a copy of the GNU GPL and this license
document.
c) For a Combined Work that displays copyright notices during
execution, include the copyright notice for the Library among
these notices, as well as a reference directing the user to the
copies of the GNU GPL and this license document.
d) Do one of the following:
0) Convey the Minimal Corresponding Source under the terms of this
License, and the Corresponding Application Code in a form
suitable for, and under terms that permit, the user to
recombine or relink the Application with a modified version of
the Linked Version to produce a modified Combined Work, in the
manner specified by section 6 of the GNU GPL for conveying
Corresponding Source.
1) Use a suitable shared library mechanism for linking with the
Library. A suitable mechanism is one that (a) uses at run time
a copy of the Library already present on the user's computer
system, and (b) will operate properly with a modified version
of the Library that is interface-compatible with the Linked
Version.
e) Provide Installation Information, but only if you would otherwise
be required to provide such information under section 6 of the
GNU GPL, and only to the extent that such information is
necessary to install and execute a modified version of the
Combined Work produced by recombining or relinking the
Application with a modified version of the Linked Version. (If
you use option 4d0, the Installation Information must accompany
the Minimal Corresponding Source and Corresponding Application
Code. If you use option 4d1, you must provide the Installation
Information in the manner specified by section 6 of the GNU GPL
for conveying Corresponding Source.)
5. Combined Libraries.
You may place library facilities that are a work based on the
Library side by side in a single library together with other library
facilities that are not Applications and are not covered by this
License, and convey such a combined library under terms of your
choice, if you do both of the following:
a) Accompany the combined library with a copy of the same work based
on the Library, uncombined with any other library facilities,
conveyed under the terms of this License.
b) Give prominent notice with the combined library that part of it
is a work based on the Library, and explaining where to find the
accompanying uncombined form of the same work.
6. Revised Versions of the GNU Lesser General Public License.
The Free Software Foundation may publish revised and/or new versions
of the GNU Lesser General Public License from time to time. Such new
versions will be similar in spirit to the present version, but may
differ in detail to address new problems or concerns.
Each version is given a distinguishing version number. If the
Library as you received it specifies that a certain numbered version
of the GNU Lesser General Public License "or any later version"
applies to it, you have the option of following the terms and
conditions either of that published version or of any later version
published by the Free Software Foundation. If the Library as you
received it does not specify a version number of the GNU Lesser
General Public License, you may choose any version of the GNU Lesser
General Public License ever published by the Free Software Foundation.
If the Library as you received it specifies that a proxy can decide
whether future versions of the GNU Lesser General Public License shall
apply, that proxy's public statement of acceptance of any version is
permanent authorization for you to choose that version for the
Library.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -5,7 +5,7 @@ EditorBuildSettings: ...@@ -5,7 +5,7 @@ EditorBuildSettings:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
serializedVersion: 2 serializedVersion: 2
m_Scenes: m_Scenes:
- enabled: 1 - enabled: 0
path: Assets/Scenes/MainHallGame.unity path: Assets/Scenes/MainHallGame.unity
guid: c8095c70fc082d54e89d82242512c766 guid: c8095c70fc082d54e89d82242512c766
- enabled: 0 - enabled: 0
...@@ -20,7 +20,10 @@ EditorBuildSettings: ...@@ -20,7 +20,10 @@ EditorBuildSettings:
- enabled: 1 - enabled: 1
path: Assets/Scenes/gameScene.unity path: Assets/Scenes/gameScene.unity
guid: 0a0992afe56bcce42b70269dcae5c736 guid: 0a0992afe56bcce42b70269dcae5c736
- enabled: 1 - enabled: 0
path: Assets/Scenes/testScene.unity path: Assets/Scenes/testScene.unity
guid: 7c7c6cfcfad6ed0428901b0bb9c7ea98 guid: 7c7c6cfcfad6ed0428901b0bb9c7ea98
- enabled: 0
path: Assets/Scenes/salaScene.unity
guid: dc0938397e39bf1448819381f4321ad9
m_configObjects: {} m_configObjects: {}
...@@ -268,7 +268,7 @@ QualitySettings: ...@@ -268,7 +268,7 @@ QualitySettings:
realtimeReflectionProbes: 1 realtimeReflectionProbes: 1
billboardsFaceCameraPosition: 1 billboardsFaceCameraPosition: 1
useLegacyDetailDistribution: 1 useLegacyDetailDistribution: 1
vSyncCount: 1 vSyncCount: 0
lodBias: 2 lodBias: 2
maximumLODLevel: 0 maximumLODLevel: 0
enableLODCrossFade: 1 enableLODCrossFade: 1
......
...@@ -6,19 +6,19 @@ EditorUserSettings: ...@@ -6,19 +6,19 @@ EditorUserSettings:
serializedVersion: 4 serializedVersion: 4
m_ConfigSettings: m_ConfigSettings:
RecentlyUsedSceneGuid-0: RecentlyUsedSceneGuid-0:
value: 0752045f560d5a025a0b5f7b12250e44424f407b757b7e612b7d4e61b3e13061 value: 0009045f50565e0b0b0d5c7a42270a44134f412e747a74647f7c4c61e1b7626e
flags: 0 flags: 0
RecentlyUsedSceneGuid-1: RecentlyUsedSceneGuid-1:
value: 5b04565656070c025e0a547743270744174f4a73292c7f64782b4e62b1b1616a value: 5b04565656070c025e0a547743270744174f4a73292c7f64782b4e62b1b1616a
flags: 0 flags: 0
RecentlyUsedSceneGuid-2: RecentlyUsedSceneGuid-2:
value: 5452030553560f580b0f087415270f44444f417a7d2a76322f701e64e7e16d60 value: 520650505353510d59560e7046775946454e4d2e7f7d76322c2b4562e7e66760
flags: 0 flags: 0
RecentlyUsedSceneGuid-3: RecentlyUsedSceneGuid-3:
value: 520650505353510d59560e7046775946454e4d2e7f7d76322c2b4562e7e66760 value: 5452030553560f580b0f087415270f44444f417a7d2a76322f701e64e7e16d60
flags: 0 flags: 0
RecentlyUsedSceneGuid-4: RecentlyUsedSceneGuid-4:
value: 0009045f50565e0b0b0d5c7a42270a44134f412e747a74647f7c4c61e1b7626e value: 0752045f560d5a025a0b5f7b12250e44424f407b757b7e612b7d4e61b3e13061
flags: 0 flags: 0
RecentlyUsedSceneGuid-5: RecentlyUsedSceneGuid-5:
value: 5350045f5c07085d085b5a2013205a4444154f7a7e7e7f342e281866e1b7676e value: 5350045f5c07085d085b5a2013205a4444154f7a7e7e7f342e281866e1b7676e
......
...@@ -19,7 +19,7 @@ MonoBehaviour: ...@@ -19,7 +19,7 @@ MonoBehaviour:
width: 2560 width: 2560
height: 1357 height: 1357
m_ShowMode: 4 m_ShowMode: 4
m_Title: Hierarchy m_Title: Console
m_RootView: {fileID: 11} m_RootView: {fileID: 11}
m_MinSize: {x: 875, y: 300} m_MinSize: {x: 875, y: 300}
m_MaxSize: {x: 10000, y: 10000} m_MaxSize: {x: 10000, y: 10000}
...@@ -39,10 +39,10 @@ MonoBehaviour: ...@@ -39,10 +39,10 @@ MonoBehaviour:
m_Children: [] m_Children: []
m_Position: m_Position:
serializedVersion: 2 serializedVersion: 2
x: 1071 x: 729
y: 0 y: 0
width: 603 width: 919
height: 1255 height: 684
m_MinSize: {x: 202, y: 221} m_MinSize: {x: 202, y: 221}
m_MaxSize: {x: 4002, y: 4021} m_MaxSize: {x: 4002, y: 4021}
m_ActualView: {fileID: 18} m_ActualView: {fileID: 18}
...@@ -69,12 +69,12 @@ MonoBehaviour: ...@@ -69,12 +69,12 @@ MonoBehaviour:
serializedVersion: 2 serializedVersion: 2
x: 0 x: 0
y: 0 y: 0
width: 1674 width: 1648
height: 1255 height: 684
m_MinSize: {x: 200, y: 50} m_MinSize: {x: 200, y: 50}
m_MaxSize: {x: 16192, y: 8096} m_MaxSize: {x: 16192, y: 8096}
vertical: 0 vertical: 0
controlID: 113 controlID: 43
--- !u!114 &4 --- !u!114 &4
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 52 m_ObjectHideFlags: 52
...@@ -91,9 +91,9 @@ MonoBehaviour: ...@@ -91,9 +91,9 @@ MonoBehaviour:
m_Position: m_Position:
serializedVersion: 2 serializedVersion: 2
x: 0 x: 0
y: 1255 y: 684
width: 1674 width: 1648
height: 52 height: 623
m_MinSize: {x: 101, y: 121} m_MinSize: {x: 101, y: 121}
m_MaxSize: {x: 4001, y: 4021} m_MaxSize: {x: 4001, y: 4021}
m_ActualView: {fileID: 19} m_ActualView: {fileID: 19}
...@@ -120,12 +120,12 @@ MonoBehaviour: ...@@ -120,12 +120,12 @@ MonoBehaviour:
serializedVersion: 2 serializedVersion: 2
x: 0 x: 0
y: 0 y: 0
width: 1674 width: 1648
height: 1307 height: 1307
m_MinSize: {x: 200, y: 100} m_MinSize: {x: 200, y: 100}
m_MaxSize: {x: 16192, y: 16192} m_MaxSize: {x: 16192, y: 16192}
vertical: 1 vertical: 1
controlID: 112 controlID: 42
--- !u!114 &6 --- !u!114 &6
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 52 m_ObjectHideFlags: 52
...@@ -142,9 +142,9 @@ MonoBehaviour: ...@@ -142,9 +142,9 @@ MonoBehaviour:
m_Position: m_Position:
serializedVersion: 2 serializedVersion: 2
x: 0 x: 0
y: 562 y: 560
width: 435 width: 665
height: 745 height: 747
m_MinSize: {x: 232, y: 271} m_MinSize: {x: 232, y: 271}
m_MaxSize: {x: 10002, y: 10021} m_MaxSize: {x: 10002, y: 10021}
m_ActualView: {fileID: 15} m_ActualView: {fileID: 15}
...@@ -169,14 +169,14 @@ MonoBehaviour: ...@@ -169,14 +169,14 @@ MonoBehaviour:
- {fileID: 6} - {fileID: 6}
m_Position: m_Position:
serializedVersion: 2 serializedVersion: 2
x: 1674 x: 1648
y: 0 y: 0
width: 435 width: 665
height: 1307 height: 1307
m_MinSize: {x: 100, y: 100} m_MinSize: {x: 100, y: 100}
m_MaxSize: {x: 8096, y: 16192} m_MaxSize: {x: 8096, y: 16192}
vertical: 1 vertical: 1
controlID: 159 controlID: 89
--- !u!114 &8 --- !u!114 &8
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 52 m_ObjectHideFlags: 52
...@@ -194,8 +194,8 @@ MonoBehaviour: ...@@ -194,8 +194,8 @@ MonoBehaviour:
serializedVersion: 2 serializedVersion: 2
x: 0 x: 0
y: 0 y: 0
width: 435 width: 665
height: 562 height: 560
m_MinSize: {x: 202, y: 221} m_MinSize: {x: 202, y: 221}
m_MaxSize: {x: 4002, y: 4021} m_MaxSize: {x: 4002, y: 4021}
m_ActualView: {fileID: 17} m_ActualView: {fileID: 17}
...@@ -228,7 +228,7 @@ MonoBehaviour: ...@@ -228,7 +228,7 @@ MonoBehaviour:
m_MinSize: {x: 400, y: 100} m_MinSize: {x: 400, y: 100}
m_MaxSize: {x: 32384, y: 16192} m_MaxSize: {x: 32384, y: 16192}
vertical: 0 vertical: 0
controlID: 111 controlID: 88
--- !u!114 &10 --- !u!114 &10
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 52 m_ObjectHideFlags: 52
...@@ -244,9 +244,9 @@ MonoBehaviour: ...@@ -244,9 +244,9 @@ MonoBehaviour:
m_Children: [] m_Children: []
m_Position: m_Position:
serializedVersion: 2 serializedVersion: 2
x: 2109 x: 2313
y: 0 y: 0
width: 451 width: 247
height: 1307 height: 1307
m_MinSize: {x: 276, y: 71} m_MinSize: {x: 276, y: 71}
m_MaxSize: {x: 4001, y: 4021} m_MaxSize: {x: 4001, y: 4021}
...@@ -343,8 +343,8 @@ MonoBehaviour: ...@@ -343,8 +343,8 @@ MonoBehaviour:
serializedVersion: 2 serializedVersion: 2
x: 0 x: 0
y: 0 y: 0
width: 1071 width: 729
height: 1255 height: 684
m_MinSize: {x: 201, y: 221} m_MinSize: {x: 201, y: 221}
m_MaxSize: {x: 4001, y: 4021} m_MaxSize: {x: 4001, y: 4021}
m_ActualView: {fileID: 20} m_ActualView: {fileID: 20}
...@@ -372,10 +372,10 @@ MonoBehaviour: ...@@ -372,10 +372,10 @@ MonoBehaviour:
m_Tooltip: m_Tooltip:
m_Pos: m_Pos:
serializedVersion: 2 serializedVersion: 2
x: 1674 x: 1648
y: 635 y: 633
width: 433 width: 663
height: 724 height: 726
m_SerializedDataModeController: m_SerializedDataModeController:
m_DataMode: 0 m_DataMode: 0
m_PreferredDataMode: 0 m_PreferredDataMode: 0
...@@ -413,7 +413,7 @@ MonoBehaviour: ...@@ -413,7 +413,7 @@ MonoBehaviour:
scrollPos: {x: 0, y: 0} scrollPos: {x: 0, y: 0}
m_SelectedIDs: f0660000 m_SelectedIDs: f0660000
m_LastClickedID: 26352 m_LastClickedID: 26352
m_ExpandedIDs: 000000008c6600008e66000090660000926600009466000096660000986600009a6600009c6600009e660000a0660000a2660000a4660000a6660000a8660000aa660000ac660000ae660000b0660000b2660000b4660000b6660000b8660000 m_ExpandedIDs: 000000004a6500004c6500004e65000050650000526500005465000056650000586500005a6500005c6500005e65000060650000626500006465000066650000686500006a6500006c650000
m_RenameOverlay: m_RenameOverlay:
m_UserAcceptedRename: 0 m_UserAcceptedRename: 0
m_Name: m_Name:
...@@ -438,10 +438,10 @@ MonoBehaviour: ...@@ -438,10 +438,10 @@ MonoBehaviour:
m_Icon: {fileID: 0} m_Icon: {fileID: 0}
m_ResourceFile: m_ResourceFile:
m_AssetTreeState: m_AssetTreeState:
scrollPos: {x: 0, y: 240} scrollPos: {x: 0, y: 0}
m_SelectedIDs: m_SelectedIDs:
m_LastClickedID: 0 m_LastClickedID: 0
m_ExpandedIDs: ffffffff000000008c6600008e66000090660000926600009466000096660000986600009a6600009c6600009e660000a0660000a2660000a4660000a6660000a8660000aa660000ae660000b0660000b2660000b4660000b6660000b866000032680000 m_ExpandedIDs: ffffffff000000004a6500004c6500004e65000050650000526500005465000056650000586500005a6500005c6500005e65000060650000626500006465000066650000686500006a6500006c650000c2650000
m_RenameOverlay: m_RenameOverlay:
m_UserAcceptedRename: 0 m_UserAcceptedRename: 0
m_Name: m_Name:
...@@ -517,9 +517,9 @@ MonoBehaviour: ...@@ -517,9 +517,9 @@ MonoBehaviour:
m_Tooltip: m_Tooltip:
m_Pos: m_Pos:
serializedVersion: 2 serializedVersion: 2
x: 2109 x: 2313
y: 73 y: 73
width: 450 width: 246
height: 1286 height: 1286
m_SerializedDataModeController: m_SerializedDataModeController:
m_DataMode: 0 m_DataMode: 0
...@@ -564,10 +564,10 @@ MonoBehaviour: ...@@ -564,10 +564,10 @@ MonoBehaviour:
m_Tooltip: m_Tooltip:
m_Pos: m_Pos:
serializedVersion: 2 serializedVersion: 2
x: 1674 x: 1648
y: 73 y: 73
width: 433 width: 663
height: 541 height: 539
m_SerializedDataModeController: m_SerializedDataModeController:
m_DataMode: 0 m_DataMode: 0
m_PreferredDataMode: 0 m_PreferredDataMode: 0
...@@ -583,7 +583,7 @@ MonoBehaviour: ...@@ -583,7 +583,7 @@ MonoBehaviour:
scrollPos: {x: 0, y: 0} scrollPos: {x: 0, y: 0}
m_SelectedIDs: m_SelectedIDs:
m_LastClickedID: 0 m_LastClickedID: 0
m_ExpandedIDs: b2d0fcfffee9feff4aeafeff7aecfeffcceefeffaaf0feffa8f2feffb2f2feffecf4feff26f5feff28f5feffe2f6feff74e3ffff4ae5ffff4ce5fffff8f9ffff6063000072630000c4680000d6a60000 m_ExpandedIDs: f8f9ffffd8630000
m_RenameOverlay: m_RenameOverlay:
m_UserAcceptedRename: 0 m_UserAcceptedRename: 0
m_Name: m_Name:
...@@ -599,7 +599,7 @@ MonoBehaviour: ...@@ -599,7 +599,7 @@ MonoBehaviour:
m_IsRenaming: 0 m_IsRenaming: 0
m_OriginalEventType: 11 m_OriginalEventType: 11
m_IsRenamingFilename: 0 m_IsRenamingFilename: 0
m_ClientGUIView: {fileID: 0} m_ClientGUIView: {fileID: 8}
m_SearchString: m_SearchString:
m_ExpandedScenes: [] m_ExpandedScenes: []
m_CurrenRootInstanceID: 0 m_CurrenRootInstanceID: 0
...@@ -627,10 +627,10 @@ MonoBehaviour: ...@@ -627,10 +627,10 @@ MonoBehaviour:
m_Tooltip: m_Tooltip:
m_Pos: m_Pos:
serializedVersion: 2 serializedVersion: 2
x: 1071 x: 729
y: 73 y: 73
width: 601 width: 917
height: 1234 height: 663
m_SerializedDataModeController: m_SerializedDataModeController:
m_DataMode: 0 m_DataMode: 0
m_PreferredDataMode: 0 m_PreferredDataMode: 0
...@@ -976,9 +976,9 @@ MonoBehaviour: ...@@ -976,9 +976,9 @@ MonoBehaviour:
m_PlayAudio: 0 m_PlayAudio: 0
m_AudioPlay: 0 m_AudioPlay: 0
m_Position: m_Position:
m_Target: {x: 656.599, y: 1397.0837, z: -0.10668591} m_Target: {x: 751.0172, y: 582.8171, z: -0.07832902}
speed: 2 speed: 2
m_Value: {x: 656.188, y: 1397.105, z: -0.10803584} m_Value: {x: 751.0172, y: 582.8171, z: -0.07832902}
m_RenderMode: 0 m_RenderMode: 0
m_CameraMode: m_CameraMode:
drawMode: 0 drawMode: 0
...@@ -1028,9 +1028,9 @@ MonoBehaviour: ...@@ -1028,9 +1028,9 @@ MonoBehaviour:
speed: 2 speed: 2
m_Value: {x: 0, y: 0, z: 0, w: 1} m_Value: {x: 0, y: 0, z: 0, w: 1}
m_Size: m_Size:
m_Target: 27.16239 m_Target: 1934.3961
speed: 2 speed: 2
m_Value: 28.442293 m_Value: 1934.3961
m_Ortho: m_Ortho:
m_Target: 1 m_Target: 1
speed: 2 speed: 2
...@@ -1076,9 +1076,9 @@ MonoBehaviour: ...@@ -1076,9 +1076,9 @@ MonoBehaviour:
m_Pos: m_Pos:
serializedVersion: 2 serializedVersion: 2
x: 0 x: 0
y: 1328 y: 757
width: 1673 width: 1647
height: 31 height: 602
m_SerializedDataModeController: m_SerializedDataModeController:
m_DataMode: 0 m_DataMode: 0
m_PreferredDataMode: 0 m_PreferredDataMode: 0
...@@ -1111,8 +1111,8 @@ MonoBehaviour: ...@@ -1111,8 +1111,8 @@ MonoBehaviour:
serializedVersion: 2 serializedVersion: 2
x: 0 x: 0
y: 73 y: 73
width: 1070 width: 728
height: 1234 height: 663
m_SerializedDataModeController: m_SerializedDataModeController:
m_DataMode: 0 m_DataMode: 0
m_PreferredDataMode: 0 m_PreferredDataMode: 0
...@@ -1167,23 +1167,23 @@ MonoBehaviour: ...@@ -1167,23 +1167,23 @@ MonoBehaviour:
serializedVersion: 2 serializedVersion: 2
x: 0 x: 0
y: 21 y: 21
width: 1070 width: 728
height: 1213 height: 642
m_Scale: {x: 0.4097973, y: 0.4097973} m_Scale: {x: 0.21689188, y: 0.21689188}
m_Translation: {x: 535, y: 606.5} m_Translation: {x: 364, y: 321}
m_MarginLeft: 0 m_MarginLeft: 0
m_MarginRight: 0 m_MarginRight: 0
m_MarginTop: 0 m_MarginTop: 0
m_MarginBottom: 0 m_MarginBottom: 0
m_LastShownAreaInsideMargins: m_LastShownAreaInsideMargins:
serializedVersion: 2 serializedVersion: 2
x: -1305.5234 x: -1678.2555
y: -1480 y: -1480
width: 2611.0469 width: 3356.511
height: 2960 height: 2960
m_MinimalGUI: 1 m_MinimalGUI: 1
m_defaultScale: 0.4097973 m_defaultScale: 0.21689188
m_LastWindowPixelSize: {x: 1070, y: 1234} m_LastWindowPixelSize: {x: 728, y: 663}
m_ClearInEditMode: 1 m_ClearInEditMode: 1
m_NoCameraWarning: 1 m_NoCameraWarning: 1
m_LowResolutionForAspectRatios: 01000001000000000000 m_LowResolutionForAspectRatios: 01000001000000000000
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment