workspace 폴더 커밋
8
Assets/TMPFolder.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 860257da25b38c3439ef02bf3c68e5e6
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
8
Assets/TMPFolder/Image.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: cfe15fdb2a5f24641994cabf1736ad2a
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/TMPFolder/Image/Line 264.png
Normal file
|
After Width: | Height: | Size: 314 B |
117
Assets/TMPFolder/Image/Line 264.png.meta
Normal file
@@ -0,0 +1,117 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f995acd2e3363da4693858d6b2b3e033
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 13
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 0
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 1
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 8
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
swizzle: 50462976
|
||||
cookieLightType: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 4
|
||||
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: 4
|
||||
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
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
customData:
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 5e97eb03825dee720800000000000000
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
spriteCustomMetadata:
|
||||
entries: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/TMPFolder/Image/image_dropdown_bg.png
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
117
Assets/TMPFolder/Image/image_dropdown_bg.png.meta
Normal file
@@ -0,0 +1,117 @@
|
||||
fileFormatVersion: 2
|
||||
guid: eb3f03af38bc72b4b92d2f64d3d0e998
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 13
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 0
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 1
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 24, y: 18, z: 24, w: 18}
|
||||
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: 4
|
||||
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: 4
|
||||
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
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
customData:
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 5e97eb03825dee720800000000000000
|
||||
internalID: 1537655665
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
spriteCustomMetadata:
|
||||
entries: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/TMPFolder/Image/image_dropdwon_arrow.png
Normal file
|
After Width: | Height: | Size: 511 B |
117
Assets/TMPFolder/Image/image_dropdwon_arrow.png.meta
Normal file
@@ -0,0 +1,117 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 14a95a006adf9b64cbea8670433c2278
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 13
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 0
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 1
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 8
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
swizzle: 50462976
|
||||
cookieLightType: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 4
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 64
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 4
|
||||
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
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
customData:
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 5e97eb03825dee720800000000000000
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
spriteCustomMetadata:
|
||||
entries: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/TMPFolder/Image/image_grapic_disabletoggle.png
Normal file
|
After Width: | Height: | Size: 474 B |
117
Assets/TMPFolder/Image/image_grapic_disabletoggle.png.meta
Normal file
@@ -0,0 +1,117 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2618f2d97f270204bacfca39dfe7fbb8
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 13
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 0
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 1
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 8
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
swizzle: 50462976
|
||||
cookieLightType: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 4
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 32
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 4
|
||||
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
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
customData:
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 5e97eb03825dee720800000000000000
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
spriteCustomMetadata:
|
||||
entries: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/TMPFolder/Image/image_grapic_selectoggle.png
Normal file
|
After Width: | Height: | Size: 559 B |
117
Assets/TMPFolder/Image/image_grapic_selectoggle.png.meta
Normal file
@@ -0,0 +1,117 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 43a6855cf69a71d41a552137f05dee6f
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 13
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 0
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 1
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 2, y: 1, z: 2, w: 2}
|
||||
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: 4
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 32
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 4
|
||||
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
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
customData:
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 5e97eb03825dee720800000000000000
|
||||
internalID: 1537655665
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
spriteCustomMetadata:
|
||||
entries: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/TMPFolder/Image/image_mouse_scroll_bg.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
117
Assets/TMPFolder/Image/image_mouse_scroll_bg.png.meta
Normal file
@@ -0,0 +1,117 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3b738ded34512ab48a5e558a979bf570
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 13
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 0
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 1
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 8
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
swizzle: 50462976
|
||||
cookieLightType: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 4
|
||||
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: 4
|
||||
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
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
customData:
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 5e97eb03825dee720800000000000000
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
spriteCustomMetadata:
|
||||
entries: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/TMPFolder/Image/image_mouse_scroll_fill.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
117
Assets/TMPFolder/Image/image_mouse_scroll_fill.png.meta
Normal file
@@ -0,0 +1,117 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e8eec744ee7813c4796cb9e86515d6c6
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 13
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 0
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 1
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 8
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
swizzle: 50462976
|
||||
cookieLightType: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 4
|
||||
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: 4
|
||||
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
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
customData:
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 5e97eb03825dee720800000000000000
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
spriteCustomMetadata:
|
||||
entries: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/TMPFolder/Image/image_scroll_handle.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
117
Assets/TMPFolder/Image/image_scroll_handle.png.meta
Normal file
@@ -0,0 +1,117 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0b1550195dcb8ff4d8fa08f12fef15c8
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 13
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 0
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 1
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 8
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
swizzle: 50462976
|
||||
cookieLightType: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 4
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 64
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 4
|
||||
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
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
customData:
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 5e97eb03825dee720800000000000000
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
spriteCustomMetadata:
|
||||
entries: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/TMPFolder/Image/image_scrollbar_vertical.png
Normal file
|
After Width: | Height: | Size: 367 B |
117
Assets/TMPFolder/Image/image_scrollbar_vertical.png.meta
Normal file
@@ -0,0 +1,117 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0411bb7c6cc39024ebf931ab23cb4ec8
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 13
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 0
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 1
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 4, y: 5, z: 4, w: 5}
|
||||
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: 4
|
||||
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: 4
|
||||
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
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
customData:
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 5e97eb03825dee720800000000000000
|
||||
internalID: 1537655665
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
spriteCustomMetadata:
|
||||
entries: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/TMPFolder/Image/image_switchButton.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
117
Assets/TMPFolder/Image/image_switchButton.png.meta
Normal file
@@ -0,0 +1,117 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1e9bb2a491695a941a43dea94f3d32b7
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 13
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 0
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 1
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 8
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
swizzle: 50462976
|
||||
cookieLightType: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 4
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 128
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 4
|
||||
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
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
customData:
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 5e97eb03825dee720800000000000000
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
spriteCustomMetadata:
|
||||
entries: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/TMPFolder/Image/image_switch_bg.png
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
117
Assets/TMPFolder/Image/image_switch_bg.png.meta
Normal file
@@ -0,0 +1,117 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ea9f00cd65a822d4f9daecde0b798469
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 13
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 0
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 1
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 48, y: 53, z: 53, w: 48}
|
||||
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: 4
|
||||
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: 4
|
||||
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
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
customData:
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 5e97eb03825dee720800000000000000
|
||||
internalID: 1537655665
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
spriteCustomMetadata:
|
||||
entries: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/TMPFolder/Image/image_tabButton.png
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
117
Assets/TMPFolder/Image/image_tabButton.png.meta
Normal file
@@ -0,0 +1,117 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5531666309b973c4daec6f70f538f537
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 13
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 0
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 1
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 14, y: 13, z: 15, w: 13}
|
||||
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: 4
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 256
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 4
|
||||
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
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
customData:
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 5e97eb03825dee720800000000000000
|
||||
internalID: 1537655665
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
spriteCustomMetadata:
|
||||
entries: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/TMPFolder/Image/image_tabButton_Normal.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
117
Assets/TMPFolder/Image/image_tabButton_Normal.png.meta
Normal file
@@ -0,0 +1,117 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e4fc3befe92ee044f98721b777e4188a
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 13
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 0
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 1
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 11, y: 11, z: 11, w: 11}
|
||||
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: 4
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 256
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 4
|
||||
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
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
customData:
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 5e97eb03825dee720800000000000000
|
||||
internalID: 1537655665
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
spriteCustomMetadata:
|
||||
entries: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/TMPFolder/Image/image_toggle_bg.png
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
117
Assets/TMPFolder/Image/image_toggle_bg.png.meta
Normal file
@@ -0,0 +1,117 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ad0d0f22589819646b033ded3914b777
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 13
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 0
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 1
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 46, y: 20, z: 46, w: 20}
|
||||
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: 4
|
||||
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: 4
|
||||
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
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
customData:
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 5e97eb03825dee720800000000000000
|
||||
internalID: 1537655665
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
spriteCustomMetadata:
|
||||
entries: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/TMPFolder/Image/scroll.png
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
117
Assets/TMPFolder/Image/scroll.png.meta
Normal file
@@ -0,0 +1,117 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 45353c1f862bf56499821bebd0cfa3ee
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 13
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
flipGreenChannel: 0
|
||||
isReadable: 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: 0
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 1
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 12, y: 15, z: 12, w: 15}
|
||||
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: 4
|
||||
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: 4
|
||||
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
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
customData:
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 5e97eb03825dee720800000000000000
|
||||
internalID: 1537655665
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
spriteCustomMetadata:
|
||||
entries: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
8
Assets/TMPFolder/Modal.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f29738354b6e4274bbc702e01ada8d6d
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
38
Assets/TMPFolder/Modal/IUIModalContent.cs
Normal file
@@ -0,0 +1,38 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace Studio.UI.Modal
|
||||
{
|
||||
public interface IUIModalContent
|
||||
{
|
||||
/// <summary>
|
||||
/// close 버튼 클릭 시 종료 가능 여부 반환
|
||||
/// </summary>
|
||||
bool Close();
|
||||
|
||||
/// <summary>
|
||||
/// Ok 버튼 클릭 시 종료 가능 여부 반환
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
bool Ok();
|
||||
|
||||
/// <summary>
|
||||
/// return 할 결과 값
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
object GetOkResult();
|
||||
|
||||
/// <summary>
|
||||
/// Close 할 때 return 할 결과 값
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
object GetCloseResult();
|
||||
|
||||
/// <summary>
|
||||
/// UIModal에서 Prefab 생성 후 데이터 전달 받음
|
||||
/// </summary>
|
||||
/// <param name="data"></param>
|
||||
void SetInfo(object data);
|
||||
|
||||
Vector2 GetSize();
|
||||
}
|
||||
}
|
||||
2
Assets/TMPFolder/Modal/IUIModalContent.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 038eb0a536a25a84fb52545dc0dcf398
|
||||
226
Assets/TMPFolder/Modal/UIModal.cs
Normal file
@@ -0,0 +1,226 @@
|
||||
using Studio.UVC.UI;
|
||||
using System;
|
||||
using System.Linq;
|
||||
using TMPro;
|
||||
using UnityEngine;
|
||||
using UnityEngine.EventSystems;
|
||||
using UnityEngine.UI;
|
||||
|
||||
namespace Studio.UI.Modal
|
||||
{
|
||||
public class UIModalEventArgs : EventArgs
|
||||
{
|
||||
public readonly object Data;
|
||||
|
||||
public UIModalEventArgs(object data)
|
||||
{
|
||||
Data = data;
|
||||
}
|
||||
}
|
||||
|
||||
[RequireComponent(typeof(CanvasGroup))]
|
||||
public class UIModal : UnityEngine.MonoBehaviour
|
||||
{
|
||||
public static readonly string PrefabPath = "Prefabs/Modal/UIModal";
|
||||
|
||||
protected string title = "";
|
||||
protected UIModalContentHolder contentHolder;
|
||||
protected IUIModalContent content;
|
||||
|
||||
protected UVCButton UIButtonOk;
|
||||
protected UVCButton UIButtonCancel;
|
||||
protected UVCButton UIButtonClose;
|
||||
protected TextMeshProUGUI titleText;
|
||||
protected CanvasGroup canvasGroup;
|
||||
|
||||
protected bool animatting = false;
|
||||
|
||||
protected float target = 0;
|
||||
protected float duration = 0.25f;
|
||||
protected float alpha = 1;
|
||||
|
||||
protected bool useKeyboard = false;
|
||||
|
||||
public EventHandler<UIModalEventArgs> OnOk { get; set; }
|
||||
public EventHandler<UIModalEventArgs> OnClose { get; set; }
|
||||
|
||||
|
||||
public virtual void Init(string title, string contentPrefabPath, object contentData, string okButtonText = "저장하기", string cancelButtonText="취소")
|
||||
{
|
||||
this.title = title;
|
||||
|
||||
canvasGroup = GetComponent<CanvasGroup>();
|
||||
|
||||
var btns = GetComponentsInChildren<UVCButton>();
|
||||
UIButtonOk = btns.FirstOrDefault<UVCButton>(x => x.name.Equals(nameof(UIButtonOk),StringComparison.OrdinalIgnoreCase));
|
||||
UIButtonClose = btns.FirstOrDefault<UVCButton>(x => x.name.Equals(nameof(UIButtonClose), StringComparison.OrdinalIgnoreCase));
|
||||
UIButtonCancel = btns.FirstOrDefault<UVCButton>(x => x.name.Equals(nameof(UIButtonCancel), StringComparison.OrdinalIgnoreCase));
|
||||
|
||||
var txts = GetComponentsInChildren<TextMeshProUGUI>();
|
||||
contentHolder = GetComponentInChildren<UIModalContentHolder>();
|
||||
content = CreateConent(contentPrefabPath, contentHolder.transform);
|
||||
content.SetInfo(contentData);
|
||||
|
||||
RectTransform rt = transform.Find("Modal").GetComponent<RectTransform>();
|
||||
rt.sizeDelta = content.GetSize() + new Vector2(0, 48 + 96);//48은 타이틀 높이, 96은 버튼 높이
|
||||
|
||||
if (UIButtonOk != null)
|
||||
{
|
||||
UIButtonOk.Init();
|
||||
UIButtonOk.SetText(okButtonText);
|
||||
UIButtonOk.onClickButton.AddListener(() =>
|
||||
{
|
||||
if (content != null)
|
||||
{
|
||||
if (content.Ok())
|
||||
{
|
||||
OnOk?.Invoke(this, new UIModalEventArgs(content.GetOkResult()));
|
||||
Close();
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
if (UIButtonCancel != null)
|
||||
{
|
||||
UIButtonCancel.SetText(cancelButtonText);
|
||||
UIButtonCancel.onClickButton.AddListener(() =>
|
||||
{
|
||||
if (content != null && content.Close())
|
||||
{
|
||||
OnClose?.Invoke(this, new UIModalEventArgs(content.GetCloseResult()));
|
||||
Close();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
if (UIButtonClose != null)
|
||||
{
|
||||
UIButtonClose.onClickButton.AddListener(() =>
|
||||
{
|
||||
if (content != null && content.Close())
|
||||
{
|
||||
OnClose?.Invoke(this, new UIModalEventArgs(content.GetCloseResult()));
|
||||
Close();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
if (txts != null)
|
||||
{
|
||||
titleText = txts.FirstOrDefault(x=>x.name.Equals(nameof(titleText),StringComparison.OrdinalIgnoreCase));
|
||||
titleText.text = this.title;
|
||||
}
|
||||
|
||||
canvasGroup.alpha = 0;
|
||||
canvasGroup.interactable = false;
|
||||
canvasGroup.blocksRaycasts = false;
|
||||
}
|
||||
|
||||
protected virtual IUIModalContent CreateConent(string contentPrefabPath, Transform parent)
|
||||
{
|
||||
GameObject prefab = Resources.Load(contentPrefabPath, typeof(GameObject)) as GameObject;
|
||||
GameObject go = UnityEngine.Object.Instantiate(prefab);
|
||||
IUIModalContent content = go.GetComponent<IUIModalContent>();
|
||||
go.transform.SetParent(parent, false);
|
||||
return content;
|
||||
}
|
||||
|
||||
public void Open()
|
||||
{
|
||||
canvasGroup.interactable = true;
|
||||
canvasGroup.blocksRaycasts = true;
|
||||
target = 1;
|
||||
alpha = canvasGroup.alpha;
|
||||
animatting = true;
|
||||
}
|
||||
|
||||
public void Close()
|
||||
{
|
||||
target = 0;
|
||||
alpha = canvasGroup.alpha;
|
||||
animatting = true;
|
||||
}
|
||||
|
||||
|
||||
void Update()
|
||||
{
|
||||
if (animatting)
|
||||
{
|
||||
if (duration < 0)
|
||||
{
|
||||
duration = 0.001f;
|
||||
}
|
||||
|
||||
alpha = Mathf.MoveTowards(alpha, target, (1 / duration) * Time.deltaTime);
|
||||
canvasGroup.alpha = alpha;
|
||||
if (alpha == target)
|
||||
{
|
||||
if (target == 0)
|
||||
{
|
||||
Destroy(gameObject);
|
||||
}
|
||||
animatting = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (alpha == 1 && target == 1 && useKeyboard)
|
||||
{
|
||||
if (Input.GetKeyDown(KeyCode.Escape))
|
||||
{
|
||||
|
||||
UIButtonClose.UVCClickButton.OnPointerDown(new UnityEngine.EventSystems.PointerEventData(EventSystem.current));
|
||||
|
||||
}
|
||||
else if (Input.GetKeyUp(KeyCode.Escape))
|
||||
{
|
||||
if (content != null && content.Close())
|
||||
{
|
||||
|
||||
UIButtonClose.UVCClickButton.OnPointerUp(new UnityEngine.EventSystems.PointerEventData(EventSystem.current));
|
||||
|
||||
OnClose?.Invoke(this, new UIModalEventArgs(content.GetCloseResult()));
|
||||
Close();
|
||||
}
|
||||
}
|
||||
else if (Input.GetKeyDown(KeyCode.Space))
|
||||
{
|
||||
UIButtonOk.UVCClickButton.OnPointerDown(new UnityEngine.EventSystems.PointerEventData(EventSystem.current));
|
||||
}
|
||||
else if (Input.GetKeyUp(KeyCode.Space))
|
||||
{
|
||||
UIButtonOk.UVCClickButton.OnPointerUp(new UnityEngine.EventSystems.PointerEventData(EventSystem.current));
|
||||
if (content != null && content.Ok())
|
||||
{
|
||||
OnOk?.Invoke(this, new UIModalEventArgs(content.GetOkResult()));
|
||||
Close();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
protected virtual void OnDestroy()
|
||||
{
|
||||
if (UIButtonOk != null)
|
||||
{
|
||||
UIButtonOk.onClickButton.RemoveAllListeners();
|
||||
}
|
||||
|
||||
if (UIButtonCancel != null)
|
||||
{
|
||||
UIButtonCancel.onClickButton.RemoveAllListeners();
|
||||
}
|
||||
|
||||
if (UIButtonClose != null)
|
||||
{
|
||||
UIButtonClose.onClickButton.RemoveAllListeners();
|
||||
}
|
||||
|
||||
OnOk = null;
|
||||
OnClose = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
2
Assets/TMPFolder/Modal/UIModal.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b80a9a8903ca03e46bfe58924864067a
|
||||
8
Assets/TMPFolder/Modal/UIModalButtonCancel.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
namespace Studio.UI.Modal
|
||||
{
|
||||
[RequireComponent(typeof(Button))]
|
||||
public class UIModalButtonCancel : UnityEngine.MonoBehaviour { }
|
||||
}
|
||||
2
Assets/TMPFolder/Modal/UIModalButtonCancel.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f3068e43ce3b5cb499121725e984b57c
|
||||
8
Assets/TMPFolder/Modal/UIModalButtonClose.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
namespace Studio.UI.Modal
|
||||
{
|
||||
[RequireComponent(typeof(Button))]
|
||||
public class UIModalButtonClose : UnityEngine.MonoBehaviour { }
|
||||
}
|
||||
2
Assets/TMPFolder/Modal/UIModalButtonClose.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 13881509d39522d459b4c1f574935f58
|
||||
8
Assets/TMPFolder/Modal/UIModalButtonOk.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
namespace Studio.UI.Modal
|
||||
{
|
||||
[RequireComponent(typeof(Button))]
|
||||
public class UIModalButtonOk : UnityEngine.MonoBehaviour { }
|
||||
}
|
||||
2
Assets/TMPFolder/Modal/UIModalButtonOk.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7503286f556d2be44b1de8682e86e85a
|
||||
7
Assets/TMPFolder/Modal/UIModalContentHolder.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
namespace Studio.UI.Modal
|
||||
{
|
||||
/// <summary>
|
||||
/// IUIModalContent의 위치를 지정하기 위한 컴포넌트
|
||||
/// </summary>
|
||||
public class UIModalContentHolder : UnityEngine.MonoBehaviour { }
|
||||
}
|
||||
2
Assets/TMPFolder/Modal/UIModalContentHolder.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9d2a4930a367139438055da3200a3c53
|
||||
96
Assets/TMPFolder/Modal/UIModalManager.cs
Normal file
@@ -0,0 +1,96 @@
|
||||
using UnityEngine;
|
||||
using UnityEngine.SceneManagement;
|
||||
using XED.Core;
|
||||
using XRLib;
|
||||
|
||||
namespace Studio.UI.Modal
|
||||
{
|
||||
public class UIModalManager : UnitySingleton<UIModalManager>
|
||||
{
|
||||
private GameObject modal;
|
||||
|
||||
|
||||
//public ove()
|
||||
//{
|
||||
// SceneManager.sceneUnloaded += OnSceneUnloaded;
|
||||
//}
|
||||
|
||||
//private void OnSceneUnloaded(Scene arg0)
|
||||
//{
|
||||
// if (modal != null) modal.transform.SetParent(null, false);
|
||||
// modal = null;
|
||||
//}
|
||||
|
||||
//private UIModal Create(string prefabPath)
|
||||
//{
|
||||
|
||||
// //var prefab = Resources.Load(prefabPath, typeof(GameObject)) as GameObject;
|
||||
|
||||
// //modal = UnityEngine.Object.Instantiate(prefab);
|
||||
// var uiModal = modal.GetComponent<UIModal>();
|
||||
|
||||
// //var canvas = FindAnyObjectByType<Canvas_Label>();
|
||||
// //modal.transform.SetParent(canvas.Canvas.rootCanvas.transform, false);
|
||||
|
||||
// return uiModal;
|
||||
//}
|
||||
|
||||
//public async UniTask<object> Show(string contentPrefabPath, object contentData, string title, string okButtonText = "저장하기", string cancelButtonText = "취소")
|
||||
//{
|
||||
// UIModal uiModal = Create(UIModal.PrefabPath);
|
||||
|
||||
// bool isClosed = false;
|
||||
// object result = null;
|
||||
|
||||
// uiModal.Init(title, contentPrefabPath, contentData, okButtonText, cancelButtonText);
|
||||
|
||||
|
||||
// uiModal.OnOk += (object sender, UIModalEventArgs args) =>
|
||||
// {
|
||||
// result = args.Data;
|
||||
// isClosed = true;
|
||||
// };
|
||||
|
||||
// uiModal.OnClose += (object sender, UIModalEventArgs args) =>
|
||||
// {
|
||||
// result = args.Data;
|
||||
// isClosed = true;
|
||||
// };
|
||||
|
||||
// uiModal.Open();
|
||||
|
||||
// await UniTask.WaitUntil(() => isClosed == true);
|
||||
// GameObject.Destroy(modal);
|
||||
// modal = null;
|
||||
// return result;
|
||||
//}
|
||||
|
||||
|
||||
//public async UniTask<object> Show(UIModal uiModal)
|
||||
//{
|
||||
|
||||
// bool isClosed = false;
|
||||
// object result = null;
|
||||
|
||||
// uiModal.OnOk += (object sender, UIModalEventArgs args) =>
|
||||
// {
|
||||
// result = args.Data;
|
||||
// isClosed = true;
|
||||
// };
|
||||
|
||||
// uiModal.OnClose += (object sender, UIModalEventArgs args) =>
|
||||
// {
|
||||
// result = args.Data;
|
||||
// isClosed = true;
|
||||
// };
|
||||
|
||||
// uiModal.Open();
|
||||
|
||||
// await UniTask.WaitUntil(() => isClosed == true);
|
||||
// GameObject.Destroy(modal);
|
||||
// modal = null;
|
||||
// return result;
|
||||
//}
|
||||
|
||||
}
|
||||
}
|
||||
2
Assets/TMPFolder/Modal/UIModalManager.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4aaf6b2b645e9e04fa2141d7ec0ae812
|
||||
8
Assets/TMPFolder/Modal/UIModalTitle.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
using TMPro;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Studio.UI.Modal
|
||||
{
|
||||
[RequireComponent(typeof(TextMeshProUGUI))]
|
||||
internal class UIModalTitle : UnityEngine.MonoBehaviour { }
|
||||
}
|
||||
2
Assets/TMPFolder/Modal/UIModalTitle.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1f7ba79bb9206894aa0c22f9193f7c41
|
||||
8
Assets/TMPFolder/Popup.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 338a84400fe11cb458794812d3ceabd7
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
21
Assets/TMPFolder/Popup/IUIPopupContent.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
namespace Studio.UI.Popup
|
||||
{
|
||||
public interface IUIPopupContent
|
||||
{
|
||||
/// <summary>
|
||||
/// 확인 처리 할 수 있는 상태 인지 여부
|
||||
/// </summary>
|
||||
bool IsOkable { get; }
|
||||
|
||||
/// <summary>
|
||||
/// 취소 처리 할 수 있는 상태 인지 여부
|
||||
/// </summary>
|
||||
bool IsCancelable { get; }
|
||||
|
||||
/// <summary>
|
||||
/// return 할 결과 값
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
object GetResult();
|
||||
}
|
||||
}
|
||||
2
Assets/TMPFolder/Popup/IUIPopupContent.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b822f6f41a16c6c4bb97ee5aba20a2d8
|
||||
204
Assets/TMPFolder/Popup/UIAlert.cs
Normal file
@@ -0,0 +1,204 @@
|
||||
using TMPro;
|
||||
using UnityEngine;
|
||||
using UnityEngine.Events;
|
||||
using UnityEngine.EventSystems;
|
||||
using UnityEngine.UI;
|
||||
|
||||
namespace Studio.UI.Popup
|
||||
{
|
||||
[RequireComponent(typeof(CanvasGroup))]
|
||||
public class UIAlert : UnityEngine.MonoBehaviour
|
||||
{
|
||||
private string title;
|
||||
private string message;
|
||||
|
||||
private string okButtonText = "확인";
|
||||
private string cancelButtonText = "취소";
|
||||
|
||||
private bool showCancelButton = false;
|
||||
|
||||
public UnityEvent OnOk;
|
||||
public UnityEvent OnCancel;
|
||||
|
||||
private Button okButton;
|
||||
private Button cancelButton;
|
||||
private TextMeshProUGUI titleText;
|
||||
private TextMeshProUGUI messageText;
|
||||
private CanvasGroup canvasGroup;
|
||||
|
||||
private bool animatting = false;
|
||||
|
||||
private float target = 0;
|
||||
private float duration = 0.25f;
|
||||
private float alpha = 1;
|
||||
|
||||
private bool useKeyboard = false;
|
||||
|
||||
public void Init(string title, string message, string okButtonText = "확인", string cancelButtonText = "취소", bool showCancelButton = true)
|
||||
{
|
||||
|
||||
this.title = title;
|
||||
this.message = message;
|
||||
this.okButtonText = okButtonText;
|
||||
this.cancelButtonText = cancelButtonText;
|
||||
this.showCancelButton = showCancelButton;
|
||||
|
||||
canvasGroup = GetComponent<CanvasGroup>();
|
||||
|
||||
var okBtn = GetComponentInChildren<UIPopupButtonOk>();
|
||||
var cancelBtn = GetComponentInChildren<UIPopupButtonCancel>();
|
||||
var titleTxt = GetComponentInChildren<UIPopupTitle>();
|
||||
var messageTxt = GetComponentInChildren<UIPopupMessage>();
|
||||
|
||||
|
||||
if (okButton == null) okButton = okBtn.GetComponent<Button>();
|
||||
|
||||
if (okButton != null)
|
||||
{
|
||||
if (useKeyboard) okButton.navigation = new Navigation() { mode = Navigation.Mode.None };
|
||||
okButton.GetComponentInChildren<TextMeshProUGUI>().text = okButtonText;
|
||||
okButton.onClick.AddListener(() =>
|
||||
{
|
||||
if (OnOk != null) OnOk.Invoke();
|
||||
Close();
|
||||
});
|
||||
}
|
||||
|
||||
if (cancelButton == null) cancelButton = cancelBtn.GetComponent<Button>();
|
||||
|
||||
if (cancelButton != null)
|
||||
{
|
||||
if (useKeyboard) cancelButton.navigation = new Navigation() { mode = Navigation.Mode.None };
|
||||
if (showCancelButton)
|
||||
{
|
||||
cancelButton.gameObject.SetActive(true);
|
||||
cancelButton.GetComponentInChildren<TextMeshProUGUI>().text = cancelButtonText;
|
||||
cancelButton.onClick.AddListener(() =>
|
||||
{
|
||||
if (OnCancel != null) OnCancel.Invoke();
|
||||
Close();
|
||||
});
|
||||
}
|
||||
else
|
||||
{
|
||||
cancelButton.gameObject.SetActive(false);
|
||||
}
|
||||
}
|
||||
|
||||
if (titleTxt != null)
|
||||
{
|
||||
titleText = titleTxt.GetComponent<TextMeshProUGUI>();
|
||||
titleText.text = title;
|
||||
}
|
||||
|
||||
if (messageTxt != null)
|
||||
{
|
||||
messageText = messageTxt.GetComponent<TextMeshProUGUI>();
|
||||
messageText.text = message;
|
||||
}
|
||||
|
||||
canvasGroup.alpha = 0;
|
||||
canvasGroup.interactable = false;
|
||||
canvasGroup.blocksRaycasts = false;
|
||||
}
|
||||
|
||||
public void Open()
|
||||
{
|
||||
canvasGroup.interactable = true;
|
||||
canvasGroup.blocksRaycasts = true;
|
||||
target = 1;
|
||||
alpha = canvasGroup.alpha;
|
||||
animatting = true;
|
||||
}
|
||||
|
||||
public void Close()
|
||||
{
|
||||
target = 0;
|
||||
alpha = canvasGroup.alpha;
|
||||
animatting = true;
|
||||
}
|
||||
|
||||
|
||||
void LateUpdate()
|
||||
{
|
||||
if (animatting)
|
||||
{
|
||||
if (duration < 0)
|
||||
{
|
||||
duration = 0.001f;
|
||||
}
|
||||
|
||||
alpha = Mathf.MoveTowards(alpha, target, (1 / duration) * Time.deltaTime);
|
||||
canvasGroup.alpha = alpha;
|
||||
if (alpha == target)
|
||||
{
|
||||
if (target == 0)
|
||||
{
|
||||
Destroy(gameObject);
|
||||
}
|
||||
animatting = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (alpha == 1 && target == 1 && useKeyboard)
|
||||
{
|
||||
if (Input.GetKeyDown(KeyCode.Escape))
|
||||
{
|
||||
if (showCancelButton)
|
||||
{
|
||||
cancelButton.OnPointerDown(new UnityEngine.EventSystems.PointerEventData(EventSystem.current));
|
||||
}
|
||||
}
|
||||
else if (Input.GetKeyUp(KeyCode.Escape))
|
||||
{
|
||||
if (showCancelButton)
|
||||
{
|
||||
cancelButton.OnPointerUp(new UnityEngine.EventSystems.PointerEventData(EventSystem.current));
|
||||
}
|
||||
if (OnCancel != null) OnCancel.Invoke();
|
||||
Close();
|
||||
}
|
||||
else if (Input.GetKeyDown(KeyCode.Space))
|
||||
{
|
||||
okButton.OnPointerDown(new UnityEngine.EventSystems.PointerEventData(EventSystem.current));
|
||||
}
|
||||
else if (Input.GetKeyUp(KeyCode.Space))
|
||||
{
|
||||
okButton.OnPointerUp(new UnityEngine.EventSystems.PointerEventData(EventSystem.current));
|
||||
if (OnOk != null) OnOk.Invoke();
|
||||
Close();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
private void OnDestroy()
|
||||
{
|
||||
if (okButton != null)
|
||||
{
|
||||
okButton.onClick.RemoveAllListeners();
|
||||
}
|
||||
|
||||
if (cancelButton != null)
|
||||
{
|
||||
cancelButton.onClick.RemoveAllListeners();
|
||||
}
|
||||
|
||||
if (OnOk != null)
|
||||
{
|
||||
OnOk.RemoveAllListeners();
|
||||
OnOk = null;
|
||||
}
|
||||
|
||||
if (OnCancel != null)
|
||||
{
|
||||
OnCancel.RemoveAllListeners();
|
||||
OnCancel = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
2
Assets/TMPFolder/Popup/UIAlert.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 978d8ad03840fa5478c240ed26d55727
|
||||
95
Assets/TMPFolder/Popup/UIAlertManager.cs
Normal file
@@ -0,0 +1,95 @@
|
||||
using UnityEngine;
|
||||
using UnityEngine.SceneManagement;
|
||||
using XED.Core;
|
||||
using XRLib;
|
||||
|
||||
namespace Studio.UI.Popup
|
||||
{
|
||||
public class UIAlertManager : UnitySingleton<UIAlertManager>
|
||||
{
|
||||
private GameObject prefab;
|
||||
private UIAlert alert;
|
||||
|
||||
//public override void AfterAwake()
|
||||
//{
|
||||
// base.AfterAwake();
|
||||
// SceneManager.sceneUnloaded += OnSceneUnloaded;
|
||||
//}
|
||||
|
||||
//private void OnSceneUnloaded(Scene arg0)
|
||||
//{
|
||||
// if (alert != null) alert.transform.SetParent(null, false);
|
||||
//}
|
||||
|
||||
//private void Create()
|
||||
//{
|
||||
// if (alert == null)
|
||||
// {
|
||||
// if (prefab == null)
|
||||
// {
|
||||
// prefab = Resources.Load("Prefabs/Popup/UIAlert", typeof(GameObject)) as GameObject;
|
||||
// }
|
||||
// GameObject go = UnityEngine.Object.Instantiate(prefab);
|
||||
// alert = go.GetComponent<UIAlert>();
|
||||
// }
|
||||
// var canvas = FindAnyObjectByType<Canvas_Label>();
|
||||
// alert.transform.SetParent(canvas.Canvas.rootCanvas.transform, false);
|
||||
//}
|
||||
|
||||
//public async UniTask ShowAlert(string title, string message, string okButtonTitle = "OK")
|
||||
//{
|
||||
// Create();
|
||||
|
||||
// bool isClosed = false;
|
||||
|
||||
// alert.Init(title: title, message: message, okButtonText: okButtonTitle, showCancelButton: false);
|
||||
// alert.OnOk.AddListener(() =>
|
||||
// {
|
||||
// isClosed = true;
|
||||
// });
|
||||
// alert.Open();
|
||||
// await UniTask.WaitUntil(() => isClosed == true);
|
||||
//}
|
||||
|
||||
//public async UniTask<bool> ShowConfirm(string title, string message, string okButtonTitle = "OK", string cancelButtonTitle = "CANCEL")
|
||||
//{
|
||||
// Create();
|
||||
|
||||
// bool isClosed = false;
|
||||
// bool result = false;
|
||||
|
||||
// alert.Init(title, message, okButtonTitle, cancelButtonTitle, true);
|
||||
|
||||
// alert.OnOk.AddListener(() =>
|
||||
// {
|
||||
// result = true;
|
||||
// isClosed = true;
|
||||
// });
|
||||
|
||||
// alert.OnCancel.AddListener(() =>
|
||||
// {
|
||||
// result = false;
|
||||
// isClosed = true;
|
||||
// });
|
||||
|
||||
// alert.Open();
|
||||
|
||||
|
||||
// await UniTask.WaitUntil(() => isClosed == true);
|
||||
|
||||
// return result;
|
||||
//}
|
||||
|
||||
//public void ShowWinAlert(string title, string message)
|
||||
//{
|
||||
// WindowTools.Alert(title, message);
|
||||
//}
|
||||
|
||||
//public bool ShowWinConfirm(string title, string message)
|
||||
//{
|
||||
// // bool result = WindowTools.Confirm(title, message);
|
||||
// return false;
|
||||
//}
|
||||
|
||||
}
|
||||
}
|
||||
2
Assets/TMPFolder/Popup/UIAlertManager.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 071cc9b9853162f42b90cd831834ed5c
|
||||
220
Assets/TMPFolder/Popup/UIPopup.cs
Normal file
@@ -0,0 +1,220 @@
|
||||
using System;
|
||||
using TMPro;
|
||||
using UnityEngine;
|
||||
using UnityEngine.EventSystems;
|
||||
using UnityEngine.UI;
|
||||
|
||||
namespace Studio.UI.Popup
|
||||
{
|
||||
|
||||
public class UIPopupEventArgs : EventArgs
|
||||
{
|
||||
public readonly object Data;
|
||||
|
||||
public UIPopupEventArgs(object data)
|
||||
{
|
||||
Data = data;
|
||||
}
|
||||
}
|
||||
|
||||
[RequireComponent(typeof(CanvasGroup))]
|
||||
public class UIPopup : UnityEngine.MonoBehaviour
|
||||
{
|
||||
|
||||
private string title = "";
|
||||
private IUIPopupContent content;
|
||||
|
||||
private string okButtonText = "확인";
|
||||
private string cancelButtonText = "취소";
|
||||
|
||||
private bool showCancelButton = true;
|
||||
|
||||
private Button okButton;
|
||||
private Button cancelButton;
|
||||
private TextMeshProUGUI titleText;
|
||||
private CanvasGroup canvasGroup;
|
||||
|
||||
private bool animatting = false;
|
||||
|
||||
private float target = 0;
|
||||
private float duration = 0.25f;
|
||||
private float alpha = 1;
|
||||
|
||||
private bool useKeyboard = false;
|
||||
|
||||
public EventHandler<UIPopupEventArgs> OnOk { get; set; }
|
||||
public EventHandler<EventArgs> OnCancel { get; set; }
|
||||
|
||||
|
||||
public void Init(string title, string okButtonText = "확인", string cancelButtonText = "취소", bool showCancelButton = true)
|
||||
{
|
||||
|
||||
this.title = title;//LocaleService.Instance.GetLocalizedString(title);
|
||||
this.okButtonText = okButtonText;//LocaleService.Instance.GetLocalizedString(okButtonText);
|
||||
this.cancelButtonText = cancelButtonText;//LocaleService.Instance.GetLocalizedString(cancelButtonText);
|
||||
this.showCancelButton = showCancelButton;
|
||||
|
||||
|
||||
canvasGroup = GetComponent<CanvasGroup>();
|
||||
|
||||
var okBtn = GetComponentInChildren<UIPopupButtonOk>();
|
||||
var cancelBtn = GetComponentInChildren<UIPopupButtonCancel>();
|
||||
var titleTxt = GetComponentInChildren<UIPopupTitle>();
|
||||
content = GetComponentInChildren<IUIPopupContent>();
|
||||
|
||||
if (okBtn != null) okButton = okBtn.GetComponent<Button>();
|
||||
if (okButton != null)
|
||||
{
|
||||
if(useKeyboard) okButton.navigation = new Navigation() { mode = Navigation.Mode.None };
|
||||
okButton.GetComponentInChildren<TextMeshProUGUI>().text = this.okButtonText;
|
||||
okButton.onClick.AddListener(() =>
|
||||
{
|
||||
if (content != null && content.IsOkable)
|
||||
{
|
||||
if (OnOk != null) OnOk.Invoke(this, new UIPopupEventArgs(content.GetResult()));
|
||||
Close();
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
if (cancelBtn != null) cancelButton = cancelBtn.GetComponent<Button>();
|
||||
|
||||
if (cancelButton != null)
|
||||
{
|
||||
if (useKeyboard) cancelButton.navigation = new Navigation() { mode = Navigation.Mode.None };
|
||||
if (this.showCancelButton)
|
||||
{
|
||||
cancelButton.gameObject.SetActive(true);
|
||||
cancelButton.GetComponentInChildren<TextMeshProUGUI>().text = this.cancelButtonText;
|
||||
cancelButton.onClick.AddListener(() =>
|
||||
{
|
||||
if (content != null && content.IsCancelable)
|
||||
{
|
||||
if (OnCancel != null) OnCancel.Invoke(this, EventArgs.Empty);
|
||||
Close();
|
||||
}
|
||||
});
|
||||
}
|
||||
else
|
||||
{
|
||||
cancelButton.gameObject.SetActive(false);
|
||||
}
|
||||
}
|
||||
|
||||
if (titleTxt != null)
|
||||
{
|
||||
titleText = titleTxt.GetComponent<TextMeshProUGUI>();
|
||||
titleText.text = this.title;
|
||||
}
|
||||
|
||||
|
||||
canvasGroup.alpha = 0;
|
||||
canvasGroup.interactable = false;
|
||||
canvasGroup.blocksRaycasts = false;
|
||||
}
|
||||
|
||||
public void Open()
|
||||
{
|
||||
canvasGroup.interactable = true;
|
||||
canvasGroup.blocksRaycasts = true;
|
||||
target = 1;
|
||||
alpha = canvasGroup.alpha;
|
||||
animatting = true;
|
||||
}
|
||||
|
||||
public void Close()
|
||||
{
|
||||
target = 0;
|
||||
alpha = canvasGroup.alpha;
|
||||
animatting = true;
|
||||
}
|
||||
|
||||
|
||||
void Update()
|
||||
{
|
||||
if (animatting)
|
||||
{
|
||||
if (duration < 0)
|
||||
{
|
||||
duration = 0.001f;
|
||||
}
|
||||
|
||||
alpha = Mathf.MoveTowards(alpha, target, (1 / duration) * Time.deltaTime);
|
||||
canvasGroup.alpha = alpha;
|
||||
if (alpha == target)
|
||||
{
|
||||
if (target == 0)
|
||||
{
|
||||
Destroy(gameObject);
|
||||
}
|
||||
animatting = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (alpha == 1 && target == 1 && useKeyboard)
|
||||
{
|
||||
if (Input.GetKeyDown(KeyCode.Escape))
|
||||
{
|
||||
if (showCancelButton)
|
||||
{
|
||||
cancelButton.OnPointerDown(new UnityEngine.EventSystems.PointerEventData(EventSystem.current));
|
||||
}
|
||||
}
|
||||
else if (Input.GetKeyUp(KeyCode.Escape))
|
||||
{
|
||||
if (content != null && content.IsCancelable)
|
||||
{
|
||||
if (showCancelButton)
|
||||
{
|
||||
cancelButton.OnPointerUp(new UnityEngine.EventSystems.PointerEventData(EventSystem.current));
|
||||
}
|
||||
if (OnCancel != null) OnCancel.Invoke(this, EventArgs.Empty);
|
||||
Close();
|
||||
}
|
||||
}
|
||||
else if (Input.GetKeyDown(KeyCode.Space))
|
||||
{
|
||||
okButton.OnPointerDown(new UnityEngine.EventSystems.PointerEventData(EventSystem.current));
|
||||
}
|
||||
else if (Input.GetKeyUp(KeyCode.Space))
|
||||
{
|
||||
okButton.OnPointerUp(new UnityEngine.EventSystems.PointerEventData(EventSystem.current));
|
||||
if (content != null && content.IsOkable)
|
||||
{
|
||||
if (OnOk != null) OnOk.Invoke(this, new UIPopupEventArgs(content.GetResult()));
|
||||
Close();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
private void OnDestroy()
|
||||
{
|
||||
if (okButton != null)
|
||||
{
|
||||
okButton.onClick.RemoveAllListeners();
|
||||
}
|
||||
|
||||
if (cancelButton != null)
|
||||
{
|
||||
cancelButton.onClick.RemoveAllListeners();
|
||||
}
|
||||
|
||||
if (OnOk != null)
|
||||
{
|
||||
OnOk = null;
|
||||
}
|
||||
|
||||
if (OnCancel != null)
|
||||
{
|
||||
OnCancel = null;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
2
Assets/TMPFolder/Popup/UIPopup.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7120c02f98d813047a7fe0a2ae3e5e99
|
||||
8
Assets/TMPFolder/Popup/UIPopupButtonCancel.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
namespace Studio.UI.Popup
|
||||
{
|
||||
[RequireComponent(typeof(Button))]
|
||||
public class UIPopupButtonCancel : UnityEngine.MonoBehaviour { }
|
||||
}
|
||||
2
Assets/TMPFolder/Popup/UIPopupButtonCancel.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f7b3ad5c81ee11f42a597d02d9d16c5f
|
||||
8
Assets/TMPFolder/Popup/UIPopupButtonOk.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
namespace Studio.UI.Popup
|
||||
{
|
||||
[RequireComponent(typeof(Button))]
|
||||
public class UIPopupButtonOk : UnityEngine.MonoBehaviour {}
|
||||
}
|
||||
2
Assets/TMPFolder/Popup/UIPopupButtonOk.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2c2dc2c81fdd1d84c8fd978c16f005bc
|
||||
70
Assets/TMPFolder/Popup/UIPopupManager.cs
Normal file
@@ -0,0 +1,70 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
using UnityEngine.SceneManagement;
|
||||
using XED.Core;
|
||||
using XRLib;
|
||||
|
||||
namespace Studio.UI.Popup
|
||||
{
|
||||
public class UIPopupManager : UnitySingleton<UIPopupManager>
|
||||
{
|
||||
private GameObject popup;
|
||||
|
||||
//public override void AfterAwake()
|
||||
//{
|
||||
// base.AfterAwake();
|
||||
// SceneManager.sceneUnloaded += OnSceneUnloaded;
|
||||
|
||||
//}
|
||||
|
||||
//private void OnSceneUnloaded(Scene arg0)
|
||||
//{
|
||||
// if (popup != null) popup.transform.SetParent(null, false);
|
||||
// popup = null;
|
||||
//}
|
||||
|
||||
//private UIPopup Create(string prefabPath)
|
||||
//{
|
||||
|
||||
// var prefab = Resources.Load(prefabPath, typeof(GameObject)) as GameObject;
|
||||
|
||||
// popup = UnityEngine.Object.Instantiate(prefab);
|
||||
// var uiPopup = popup.GetComponent<UIPopup>();
|
||||
|
||||
// var canvas = FindAnyObjectByType<Canvas_Label>();
|
||||
// popup.transform.SetParent(canvas.Canvas.rootCanvas.transform, false);
|
||||
|
||||
// return uiPopup;
|
||||
//}
|
||||
|
||||
//public async UniTask<object> Show(string prefabPath, string title, string okButtonTitle = "OK", string cancelButtonTitle = "CANCEL", bool showCancelButton = true)
|
||||
//{
|
||||
// UIPopup uiPopup = Create(prefabPath);
|
||||
|
||||
// bool isClosed = false;
|
||||
// object result = null;
|
||||
|
||||
// uiPopup.Init(title, okButtonTitle, cancelButtonTitle, showCancelButton);
|
||||
|
||||
// uiPopup.OnOk += (object sender, UIPopupEventArgs args) =>
|
||||
// {
|
||||
// result = args.Data;
|
||||
// isClosed = true;
|
||||
// };
|
||||
|
||||
// uiPopup.OnCancel += (object sender, EventArgs args) =>
|
||||
// {
|
||||
// result = null;
|
||||
// isClosed = true;
|
||||
// };
|
||||
|
||||
// uiPopup.Open();
|
||||
|
||||
// await UniTask.WaitUntil(() => isClosed == true);
|
||||
// GameObject.Destroy(popup);
|
||||
// popup = null;
|
||||
// return result;
|
||||
//}
|
||||
|
||||
}
|
||||
}
|
||||
2
Assets/TMPFolder/Popup/UIPopupManager.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5abfc9e21f2cc9b46b34010d047b81c4
|
||||
8
Assets/TMPFolder/Popup/UIPopupMessage.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
using TMPro;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Studio.UI.Popup
|
||||
{
|
||||
[RequireComponent(typeof(TextMeshProUGUI))]
|
||||
public class UIPopupMessage : UnityEngine.MonoBehaviour { }
|
||||
}
|
||||
2
Assets/TMPFolder/Popup/UIPopupMessage.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b5cadf7556b79f041af5276b4f47671f
|
||||
8
Assets/TMPFolder/Popup/UIPopupTitle.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
using TMPro;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Studio.UI.Popup
|
||||
{
|
||||
[RequireComponent(typeof(TextMeshProUGUI))]
|
||||
public class UIPopupTitle : UnityEngine.MonoBehaviour { }
|
||||
}
|
||||
2
Assets/TMPFolder/Popup/UIPopupTitle.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 23f12ad4495c1ad4385b78f350e6e0b8
|
||||
23
Assets/TMPFolder/Popup/UIQuitPopup.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using TMPro;
|
||||
|
||||
namespace Studio.UI.Popup
|
||||
{
|
||||
public class UIQuitPopup : MonoBehaviour, IUIPopupContent
|
||||
{
|
||||
public static readonly string PrefabPath = "Prefabs/Popup/UIQuitPopup";
|
||||
|
||||
public bool IsOkable => true;
|
||||
|
||||
public bool IsCancelable => true;
|
||||
|
||||
private TextMeshProUGUI text_quit;
|
||||
private void Start()
|
||||
{
|
||||
text_quit = GetComponentInChildren<TextMeshProUGUI>();
|
||||
}
|
||||
public object GetResult()
|
||||
{
|
||||
return "OK";
|
||||
}
|
||||
}
|
||||
}
|
||||
2
Assets/TMPFolder/Popup/UIQuitPopup.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8aca729f87ce62c4b8123191d8ac4084
|
||||
8
Assets/TMPFolder/Prefabs.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 394748e8ef1bc2e4e99d4d1d55a3215e
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
1625
Assets/TMPFolder/Prefabs/UIModal.prefab
Normal file
7
Assets/TMPFolder/Prefabs/UIModal.prefab.meta
Normal file
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 15d0b526b7fa7a144b891627f9cd7b50
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
65
Assets/TMPFolder/RJHTest.cs
Normal file
@@ -0,0 +1,65 @@
|
||||
using Studio;
|
||||
using Studio.Auth;
|
||||
using Studio.Conifg;
|
||||
using System.Threading.Tasks;
|
||||
using UnityEngine;
|
||||
|
||||
namespace XED
|
||||
{
|
||||
public class RJHTest : MonoBehaviour
|
||||
{
|
||||
// Start is called once before the first execution of Update after the MonoBehaviour is created
|
||||
private StudioService tt;
|
||||
private int aa;
|
||||
void Start()
|
||||
{
|
||||
Constants.MQTTDomain = "220.90.135.190";
|
||||
Constants.APIDomain = "220.90.135.190";
|
||||
Constants.APIPort = 23000;
|
||||
Constants.MQTTPort = 8088;
|
||||
StudioService.Instance.ConnectMQTT();
|
||||
}
|
||||
|
||||
private async void Test()
|
||||
{
|
||||
await AuthService.Instance.Login("xr", "@dbqlTl1");
|
||||
|
||||
await StudioService.Instance.LoadBaseData("/api/agv");
|
||||
Debug.Log(AuthService.Instance.Entiti.accessToken);
|
||||
}
|
||||
private void Update()
|
||||
{
|
||||
if(Input.GetKeyDown(KeyCode.V))
|
||||
{
|
||||
Test();
|
||||
}
|
||||
if (Input.GetKeyDown(KeyCode.I))
|
||||
{
|
||||
StudioService.Instance.SubscribeMQTT("STOCKER_CRANE");
|
||||
|
||||
}
|
||||
if(Input.GetKeyDown(KeyCode.U))
|
||||
{
|
||||
StudioService.Instance.SubscribeMQTT("AGV");
|
||||
}
|
||||
if(Input.GetKeyDown(KeyCode.T))
|
||||
{
|
||||
|
||||
TestTask();
|
||||
}
|
||||
}
|
||||
|
||||
private async Task TestTask()
|
||||
{
|
||||
System.Diagnostics.Stopwatch sw = new System.Diagnostics.Stopwatch();
|
||||
sw.Start();
|
||||
var task = Task.Run(async () =>
|
||||
{
|
||||
var i = aa++;
|
||||
await Task.Delay(3000);
|
||||
sw.Stop();
|
||||
Debug.Log(sw.ElapsedMilliseconds);
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
2
Assets/TMPFolder/RJHTest.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 86d8ea1a81790154fa1c1c2be6398b6a
|
||||
41977
Assets/TMPFolder/Test.unity
Normal file
7
Assets/TMPFolder/Test.unity.meta
Normal file
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b6d7f5d283210524c8bc4e9913babf65
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
32
Assets/TMPFolder/UIAPIStatusBoard.cs
Normal file
@@ -0,0 +1,32 @@
|
||||
using TMPro;
|
||||
using UnityEngine;
|
||||
|
||||
namespace XED
|
||||
{
|
||||
public class UIAPIStatusBoard : MonoBehaviour
|
||||
{
|
||||
private TextMeshProUGUI TextTitle;
|
||||
|
||||
private TextMeshProUGUI TextReqeustTotalPacketSize;
|
||||
private TextMeshProUGUI TextReqeustAveragePacketSize;
|
||||
private TextMeshProUGUI TextResponseTotalPacketSize;
|
||||
private TextMeshProUGUI TextResponseAveragePacketSize;
|
||||
private TextMeshProUGUI TextMaxResponseTime;
|
||||
private TextMeshProUGUI TextAverageResponseTime;
|
||||
private TextMeshProUGUI TextMaxResponesSizeApi;
|
||||
private TextMeshProUGUI TextMaxReqeustSizeApi;
|
||||
private TextMeshProUGUI TextMaxResponseTimeApi;
|
||||
|
||||
//private TextMeshProUGUI TextString
|
||||
public void Init()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
public void SetTitle(string text)
|
||||
{
|
||||
TextTitle.SetText(text);
|
||||
}
|
||||
}
|
||||
}
|
||||
2
Assets/TMPFolder/UIAPIStatusBoard.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 03879f884e69d8b409e68499dbd638fc
|
||||
136
Assets/TMPFolder/UIAccordion.cs
Normal file
@@ -0,0 +1,136 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
namespace Studio.UVC.UI
|
||||
{
|
||||
public class UIAccordion<T> : MonoBehaviour where T : MonoBehaviour
|
||||
{
|
||||
public static string PrefabsPath = "Prefabs/Dashboard/UIAccordion";
|
||||
|
||||
protected RectTransform barList;
|
||||
public RectTransform BarList { get { return barList; } }
|
||||
protected RectTransform HeadLine;
|
||||
|
||||
protected Button scrollBtn;
|
||||
protected string titletKey;
|
||||
|
||||
protected RectTransform rect;
|
||||
public RectTransform Rect { get { return rect; } }
|
||||
private Dictionary<string, UISubAccordion<T>> subaccordionTable = new();
|
||||
|
||||
private UISubAccordion<T> subAccordion;
|
||||
private UVCTabButton button;
|
||||
|
||||
protected float yMinSize;
|
||||
protected float yFullSize;
|
||||
|
||||
public Action onChangeMainAccodionSize;
|
||||
|
||||
private static GameObject prefab;
|
||||
|
||||
public static UIAccordion<T> Create(RectTransform parent = null)
|
||||
{
|
||||
if (prefab == null) prefab = Resources.Load("Prefabs/Common/UITabButton", typeof(GameObject)) as GameObject;
|
||||
var instance = Instantiate(prefab, parent);
|
||||
var btn = instance.GetComponent<UIAccordion<T>>();
|
||||
return btn;
|
||||
}
|
||||
public virtual void Init()
|
||||
{
|
||||
HeadLine = transform.Find(nameof(HeadLine)) as RectTransform;
|
||||
barList = transform.Find(nameof(BarList)) as RectTransform;
|
||||
|
||||
button = GetComponentInChildren<UVCTabButton>();
|
||||
button.Init();
|
||||
|
||||
rect = GetComponent<RectTransform>();
|
||||
scrollBtn = GetComponentInChildren<Button>();
|
||||
scrollBtn.onClick.AddListener(OnClickScroll);
|
||||
yMinSize = 28f;
|
||||
}
|
||||
|
||||
public void SetItem(string mainTitle, List<T> subModels)
|
||||
{
|
||||
this.titletKey = mainTitle;
|
||||
if (typeof(T) == typeof(UISubAccordion<T>))
|
||||
{
|
||||
//Three Depth
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
//Two Depth
|
||||
foreach (var subModel in subModels)
|
||||
{
|
||||
//CreateButton(subModel.)
|
||||
}
|
||||
}
|
||||
}
|
||||
//public void SetItem(string titleKey, string subtitleKey, ShortTermResultValues values)
|
||||
//{
|
||||
// this.titletKey = titleKey;
|
||||
// if (!subaccordionTable.ContainsKey(subtitleKey))
|
||||
// {
|
||||
// CreateSubAccordion(subtitleKey);
|
||||
// }
|
||||
// subaccordionTable[subtitleKey].SetSubItem(subtitleKey, values.pivotValues);
|
||||
|
||||
// RefreshText();
|
||||
//}
|
||||
|
||||
|
||||
|
||||
private bool isScrollDown = true;
|
||||
|
||||
public void OnClickScroll()
|
||||
{
|
||||
isScrollDown = !isScrollDown;
|
||||
var height = isScrollDown ? yFullSize : yMinSize; //headLine.sizeDelta.y+2f;
|
||||
scrollBtn.transform.localEulerAngles = isScrollDown ? Vector3.zero : new Vector3(0, 0, 180f);
|
||||
rect.sizeDelta = new Vector2(rect.sizeDelta.x, height);
|
||||
//onMainAccodionSize
|
||||
onChangeMainAccodionSize?.Invoke();
|
||||
}
|
||||
|
||||
private UVCTabButton CreateButton(string title)
|
||||
{
|
||||
var asset = Resources.Load<UVCTabButton>("");
|
||||
var item = Instantiate<UVCTabButton>(asset, BarList);
|
||||
item.Init();
|
||||
|
||||
//item.onClickButton.AddListener();
|
||||
return item;
|
||||
}
|
||||
public UISubAccordion<T> CreateSubAccordion(string key)
|
||||
{
|
||||
if (subAccordion == null)
|
||||
{
|
||||
subAccordion = Resources.Load<UISubAccordion<T>>(UISubAccordion<T>.subPrefabsPath);
|
||||
}
|
||||
|
||||
var item = Instantiate<UISubAccordion<T>>(subAccordion, transform);
|
||||
item.transform.localScale = Vector3.one;
|
||||
item.Init();
|
||||
item.onExpandYSize += OnExpandSize;
|
||||
item.onChangeMainAccodionSize += OnExpandSize;
|
||||
subaccordionTable.Add(key, item);
|
||||
return item;
|
||||
}
|
||||
|
||||
private void OnExpandSize()
|
||||
{
|
||||
var size = 0f;
|
||||
foreach (var item in subaccordionTable.Values)
|
||||
{
|
||||
size += item.rect.sizeDelta.y;
|
||||
}
|
||||
rect.sizeDelta = new Vector2(rect.sizeDelta.x, (subaccordionTable.Count * 8f) + size + 28f);
|
||||
yFullSize = rect.sizeDelta.y;
|
||||
onChangeMainAccodionSize?.Invoke();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
2
Assets/TMPFolder/UIAccordion.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b6d3b7b542cb90c41965dd4d6d3913d7
|
||||
54
Assets/TMPFolder/UILinkedList.cs
Normal file
@@ -0,0 +1,54 @@
|
||||
using Studio;
|
||||
using Studio.UVC.Controller.UI;
|
||||
using Studio.UVC.UI;
|
||||
using System;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
using UnityEngine.UI.Extensions;
|
||||
|
||||
namespace XED
|
||||
{
|
||||
public class UILinkedList : MonoBehaviour
|
||||
{
|
||||
//private void
|
||||
//연결한 데이터 목록 가져오기
|
||||
private ScrollRect scrollRect;
|
||||
//연결타이밍
|
||||
TabController tabController = new();
|
||||
public override void AfterAwake()
|
||||
{
|
||||
scrollRect = GetComponentInChildren<ScrollRect>();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 프로그램 시작시 아이템 셋팅 시작
|
||||
/// </summary>
|
||||
private void SetItem()
|
||||
{
|
||||
var apiItem = CreateAccordion();
|
||||
var basedatas = StudioService.Instance.baseData;
|
||||
foreach(var data in basedatas)
|
||||
{
|
||||
CreateTabButton(data.Key, apiItem.BarList);
|
||||
}
|
||||
//apiItem.SetItem("API")
|
||||
}
|
||||
|
||||
private UIAccordion<UVCTabButton> CreateAccordion()
|
||||
{
|
||||
var item = UIAccordion<UVCTabButton>.Create(scrollRect.content);
|
||||
|
||||
item.Init();
|
||||
return item;
|
||||
}
|
||||
|
||||
private UVCTabButton CreateTabButton(string name,RectTransform parent)
|
||||
{
|
||||
var item = UVCTabButton.Create(name,parent);
|
||||
item.Init();
|
||||
|
||||
return item;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
2
Assets/TMPFolder/UILinkedList.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6c50fbcd86cddb04b9e3a630efeb9576
|
||||
47
Assets/TMPFolder/UISubAccordion.cs
Normal file
@@ -0,0 +1,47 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Studio.UVC.UI
|
||||
{
|
||||
public class UISubAccordion<T> : UIAccordion<T> where T : MonoBehaviour
|
||||
{
|
||||
|
||||
public static string subPrefabsPath = "Prefabs/Dashboard/UISubAccordion";
|
||||
|
||||
private Dictionary<int, T> predictionItemTables = new();
|
||||
private float space = 5f;
|
||||
|
||||
public Action onExpandYSize;
|
||||
public override void Init()
|
||||
{
|
||||
base.Init();
|
||||
}
|
||||
|
||||
public void SetSubItem(string titleKey, List<T> items = null)
|
||||
{
|
||||
this.titletKey = titleKey;
|
||||
var upSize = 0f;
|
||||
foreach (var item in items)
|
||||
{
|
||||
item.transform.SetParent(transform);
|
||||
var rect = item.GetComponent<RectTransform>();
|
||||
if (upSize < rect.sizeDelta.y)
|
||||
upSize = rect.sizeDelta.y;
|
||||
}
|
||||
|
||||
ExpandYSizeBarList(upSize);
|
||||
}
|
||||
|
||||
private void ExpandYSizeBarList(float upSize)
|
||||
{
|
||||
if (predictionItemTables.Count == 0)
|
||||
return;
|
||||
|
||||
BarList.sizeDelta = new Vector2(BarList.sizeDelta.x, (predictionItemTables.Count * upSize) + (predictionItemTables.Count - 1) * space);
|
||||
rect.sizeDelta = new Vector2(rect.sizeDelta.x, BarList.sizeDelta.y + HeadLine.sizeDelta.y + 8f); // 해더 타이틀 사이즈 + space size + BarList Size;
|
||||
yFullSize = rect.sizeDelta.y;
|
||||
onExpandYSize?.Invoke();
|
||||
}
|
||||
}
|
||||
}
|
||||
2
Assets/TMPFolder/UISubAccordion.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9b1f50fde7177d645957e816da0584de
|
||||