侧边栏配置
This commit is contained in:
@@ -108,7 +108,7 @@ MonoBehaviour:
|
||||
m_SerializedLabels: []
|
||||
FlaggedDuringContentUpdateRestriction: 0
|
||||
- m_GUID: ea4cf9d585ac1034ca7b6e108a07a2a3
|
||||
m_Address: "BlockPuzzle/\u6309\u94AE\u7F29\u7565\u56FE"
|
||||
m_Address: "BlockPuzzle/\u7F29\u7565\u56FE"
|
||||
m_ReadOnly: 0
|
||||
m_SerializedLabels: []
|
||||
FlaggedDuringContentUpdateRestriction: 0
|
||||
|
||||
@@ -12,7 +12,7 @@ GameObject:
|
||||
- component: {fileID: 2744284727001707533}
|
||||
- component: {fileID: 116155875420541764}
|
||||
m_Layer: 0
|
||||
m_Name: Image
|
||||
m_Name: "\u56FE\u6807"
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
@@ -34,8 +34,8 @@ RectTransform:
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||
m_AnchoredPosition: {x: 0, y: 16}
|
||||
m_SizeDelta: {x: 60, y: 70}
|
||||
m_AnchoredPosition: {x: 0, y: 16.5}
|
||||
m_SizeDelta: {x: 60, y: 60}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &2744284727001707533
|
||||
CanvasRenderer:
|
||||
@@ -65,7 +65,82 @@ MonoBehaviour:
|
||||
m_OnCullStateChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_Sprite: {fileID: 485554460, guid: df312fbc70840a04e82c04ac39efb188, type: 3}
|
||||
m_Sprite: {fileID: 1413255736, guid: 0519c41f06740d64390437a889eee2d9, type: 3}
|
||||
m_Type: 0
|
||||
m_PreserveAspect: 0
|
||||
m_FillCenter: 1
|
||||
m_FillMethod: 4
|
||||
m_FillAmount: 1
|
||||
m_FillClockwise: 1
|
||||
m_FillOrigin: 0
|
||||
m_UseSpriteMesh: 0
|
||||
m_PixelsPerUnitMultiplier: 1
|
||||
--- !u!1 &1305271899375755437
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 1380551665402866335}
|
||||
- component: {fileID: 2486869300327201926}
|
||||
- component: {fileID: 3931360057628972792}
|
||||
m_Layer: 0
|
||||
m_Name: "\u6587\u5B57\u5E95\u56FE"
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &1380551665402866335
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1305271899375755437}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 589261108523086158}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||
m_AnchoredPosition: {x: 0, y: -35}
|
||||
m_SizeDelta: {x: 95, y: 30}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &2486869300327201926
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1305271899375755437}
|
||||
m_CullTransparentMesh: 1
|
||||
--- !u!114 &3931360057628972792
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1305271899375755437}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Material: {fileID: 0}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 0.88235295}
|
||||
m_RaycastTarget: 1
|
||||
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||
m_Maskable: 1
|
||||
m_OnCullStateChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_Sprite: {fileID: -8918653471199792646, guid: 4582ccb894b27e84aaa320b8f5dad70f, type: 3}
|
||||
m_Type: 0
|
||||
m_PreserveAspect: 0
|
||||
m_FillCenter: 1
|
||||
@@ -86,8 +161,8 @@ GameObject:
|
||||
- component: {fileID: 589261108523086158}
|
||||
- component: {fileID: 7632880227653304092}
|
||||
- component: {fileID: 3846346392859234953}
|
||||
- component: {fileID: 6851318043950123479}
|
||||
- component: {fileID: 7456639161979422264}
|
||||
- component: {fileID: 2662183381573614850}
|
||||
m_Layer: 0
|
||||
m_Name: ShapeCreateButton
|
||||
m_TagString: Untagged
|
||||
@@ -107,6 +182,7 @@ RectTransform:
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children:
|
||||
- {fileID: 1380551665402866335}
|
||||
- {fileID: 5481827688961696985}
|
||||
- {fileID: 4421670212856868060}
|
||||
m_Father: {fileID: 0}
|
||||
@@ -137,15 +213,15 @@ MonoBehaviour:
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Material: {fileID: 0}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 0}
|
||||
m_RaycastTarget: 1
|
||||
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||
m_Maskable: 1
|
||||
m_OnCullStateChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0}
|
||||
m_Type: 1
|
||||
m_Sprite: {fileID: 6410168781407928575, guid: 4582ccb894b27e84aaa320b8f5dad70f, type: 3}
|
||||
m_Type: 0
|
||||
m_PreserveAspect: 0
|
||||
m_FillCenter: 1
|
||||
m_FillMethod: 4
|
||||
@@ -154,7 +230,7 @@ MonoBehaviour:
|
||||
m_FillOrigin: 0
|
||||
m_UseSpriteMesh: 0
|
||||
m_PixelsPerUnitMultiplier: 1
|
||||
--- !u!114 &6851318043950123479
|
||||
--- !u!114 &7456639161979422264
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
@@ -163,7 +239,36 @@ MonoBehaviour:
|
||||
m_GameObject: {fileID: 4143230107302099057}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3}
|
||||
m_Script: {fileID: 11500000, guid: fae2a3bab01b11147a06ea3a105dcc2f, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
backgroundImage: {fileID: 3846346392859234953}
|
||||
textBgImage: {fileID: 3931360057628972792}
|
||||
signImage: {fileID: 116155875420541764}
|
||||
text: {fileID: 5620790754753047260}
|
||||
button: {fileID: 2662183381573614850}
|
||||
bgColor:
|
||||
normalColor: {r: 1, g: 1, b: 1, a: 0}
|
||||
highlightedColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
pressedColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
selectedColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
disabledColor: {r: 1, g: 1, b: 1, a: 0}
|
||||
textBgColor:
|
||||
normalColor: {r: 1, g: 1, b: 1, a: 0.88235295}
|
||||
highlightedColor: {r: 1, g: 1, b: 1, a: 0}
|
||||
pressedColor: {r: 1, g: 1, b: 1, a: 0}
|
||||
selectedColor: {r: 1, g: 1, b: 1, a: 0}
|
||||
disabledColor: {r: 0, g: 0, b: 0, a: 0}
|
||||
--- !u!114 &2662183381573614850
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4143230107302099057}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: f5702aa38bfd4746aecc799b153aab91, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Navigation:
|
||||
@@ -173,7 +278,7 @@ MonoBehaviour:
|
||||
m_SelectOnDown: {fileID: 0}
|
||||
m_SelectOnLeft: {fileID: 0}
|
||||
m_SelectOnRight: {fileID: 0}
|
||||
m_Transition: 1
|
||||
m_Transition: 0
|
||||
m_Colors:
|
||||
m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
|
||||
@@ -198,21 +303,9 @@ MonoBehaviour:
|
||||
m_OnClick:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
--- !u!114 &7456639161979422264
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4143230107302099057}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: fae2a3bab01b11147a06ea3a105dcc2f, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
_image: {fileID: 116155875420541764}
|
||||
_text: {fileID: 5620790754753047260}
|
||||
_button: {fileID: 6851318043950123479}
|
||||
onStateTransition:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
--- !u!1 &4517236050654204292
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -247,8 +340,8 @@ RectTransform:
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 1, y: 0}
|
||||
m_AnchoredPosition: {x: 0, y: 20}
|
||||
m_SizeDelta: {x: -16, y: 30}
|
||||
m_AnchoredPosition: {x: -0.000015258789, y: 19.3}
|
||||
m_SizeDelta: {x: -0.000030518, y: 30}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &389908730104075252
|
||||
CanvasRenderer:
|
||||
@@ -278,7 +371,7 @@ MonoBehaviour:
|
||||
m_OnCullStateChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_text: "\u65E7\u5F0F\u5F15\u64CE"
|
||||
m_text: "\u52A8\u5E73\u8861\u98DE\u8F6E\u7EC4"
|
||||
m_isRightToLeft: 0
|
||||
m_fontAsset: {fileID: 11400000, guid: f242fb3dde1933640859f1c54591c9c8, type: 2}
|
||||
m_sharedMaterial: {fileID: -6659093157667844055, guid: f242fb3dde1933640859f1c54591c9c8, type: 2}
|
||||
@@ -287,8 +380,8 @@ MonoBehaviour:
|
||||
m_fontMaterials: []
|
||||
m_fontColor32:
|
||||
serializedVersion: 2
|
||||
rgba: 4281479730
|
||||
m_fontColor: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
|
||||
rgba: 4278190080
|
||||
m_fontColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
m_enableVertexGradient: 0
|
||||
m_colorMode: 3
|
||||
m_fontColorGradient:
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1e44438897ecbb04fad8b97ad7944166
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Binary file not shown.
@@ -0,0 +1,166 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 54284b81cb12b2d4b89cde0fdfafc4cc
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 12
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 1
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 1
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 215
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 8
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
swizzle: 50462976
|
||||
cookieLightType: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 3
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 0
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: WebGL
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: iPhone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Android
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Server
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 5e97eb03825dee720800000000000000
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Binary file not shown.
@@ -0,0 +1,364 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0519c41f06740d64390437a889eee2d9
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 12
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 0
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 1
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 2
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 20
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 8
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
swizzle: 50462976
|
||||
cookieLightType: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 3
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 64
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 0
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: WebGL
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: iPhone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Android
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Server
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites:
|
||||
- serializedVersion: 2
|
||||
name: "\u65E7\u52A8\u529B\u6838\u5FC3"
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 1
|
||||
y: 1
|
||||
width: 17
|
||||
height: 17
|
||||
alignment: 0
|
||||
pivot: {x: 0, y: 0}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: 0
|
||||
bones: []
|
||||
spriteID: a546afde52c1f5641886c09c38d557cb
|
||||
internalID: -423179967
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
- serializedVersion: 2
|
||||
name: "\u5171\u9E23\u8154"
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 1
|
||||
y: 39
|
||||
width: 17
|
||||
height: 17
|
||||
alignment: 0
|
||||
pivot: {x: 0, y: 0}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: 0
|
||||
bones: []
|
||||
spriteID: fb863004b05938d46b522ca72300dbbd
|
||||
internalID: 975144979
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
- serializedVersion: 2
|
||||
name: "\u8FDB\u6C14\u7CFB\u7EDF"
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 20
|
||||
y: 39
|
||||
width: 17
|
||||
height: 17
|
||||
alignment: 0
|
||||
pivot: {x: 0, y: 0}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: 0
|
||||
bones: []
|
||||
spriteID: ae47818a491b6f24b958a647f3738742
|
||||
internalID: 1406486293
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
- serializedVersion: 2
|
||||
name: "\u60EF\u6027\u7A33\u538B\u5668"
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 39
|
||||
y: 39
|
||||
width: 17
|
||||
height: 17
|
||||
alignment: 0
|
||||
pivot: {x: 0, y: 0}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: 0
|
||||
bones: []
|
||||
spriteID: f56fcca0645006a4a8c86a10700df497
|
||||
internalID: -718142220
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
- serializedVersion: 2
|
||||
name: "\u6563\u70ED\u7CFB\u7EDF"
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 1
|
||||
y: 20
|
||||
width: 17
|
||||
height: 17
|
||||
alignment: 0
|
||||
pivot: {x: 0, y: 0}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: 0
|
||||
bones: []
|
||||
spriteID: 242f6a020c5e6474599870dae735c458
|
||||
internalID: -2005106843
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
- serializedVersion: 2
|
||||
name: "\u8F85\u52A9\u6DA1\u8F6E"
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 20
|
||||
y: 20
|
||||
width: 17
|
||||
height: 17
|
||||
alignment: 0
|
||||
pivot: {x: 0, y: 0}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: 0
|
||||
bones: []
|
||||
spriteID: f3f788c53d15a91439dbed3f92484b5f
|
||||
internalID: 936656035
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
- serializedVersion: 2
|
||||
name: "\u65B0\u52A8\u529B\u6838\u5FC3"
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 39
|
||||
y: 20
|
||||
width: 17
|
||||
height: 17
|
||||
alignment: 0
|
||||
pivot: {x: 0, y: 0}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: 0
|
||||
bones: []
|
||||
spriteID: becda52f1bc44a842ad94c2af2ab00e9
|
||||
internalID: 1413255736
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
- serializedVersion: 2
|
||||
name: "\u52A8\u5E73\u8861\u98DE\u8F6E\u7EC4"
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 20
|
||||
y: 1
|
||||
width: 17
|
||||
height: 17
|
||||
alignment: 0
|
||||
pivot: {x: 0, y: 0}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: 0
|
||||
bones: []
|
||||
spriteID: 38165909253f7fb4a8e5dbe790b993ab
|
||||
internalID: -1573504852
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
- serializedVersion: 2
|
||||
name: "\u6563\u70ED\u6761"
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 39
|
||||
y: 1
|
||||
width: 17
|
||||
height: 17
|
||||
alignment: 0
|
||||
pivot: {x: 0, y: 0}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: 0
|
||||
bones: []
|
||||
spriteID: 1dbcf6a57a5f6dc4eb1e179103ee3948
|
||||
internalID: -1106934524
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
outline: []
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 5e97eb03825dee720800000000000000
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
nameFileIdTable:
|
||||
"\u5171\u9E23\u8154": 975144979
|
||||
"\u52A8\u5E73\u8861\u98DE\u8F6E\u7EC4": -1573504852
|
||||
"\u60EF\u6027\u7A33\u538B\u5668": -718142220
|
||||
"\u6563\u70ED\u6761": -1106934524
|
||||
"\u6563\u70ED\u7CFB\u7EDF": -2005106843
|
||||
"\u65B0\u52A8\u529B\u6838\u5FC3": 1413255736
|
||||
"\u65E7\u52A8\u529B\u6838\u5FC3": -423179967
|
||||
"\u8F85\u52A9\u6DA1\u8F6E": 936656035
|
||||
"\u8FDB\u6C14\u7CFB\u7EDF": 1406486293
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Binary file not shown.
@@ -99,6 +99,27 @@ ScriptedImporter:
|
||||
spritePosition: {x: 0, y: 0}
|
||||
mosaicSpriteImportData: []
|
||||
rigSpriteImportData:
|
||||
- name: "\u7EF4\u4FEE\u754C\u9762UI\u50CF\u7D20"
|
||||
originalName:
|
||||
pivot: {x: 0.5, y: 0.5}
|
||||
alignment: 0
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 4
|
||||
y: 376
|
||||
width: 118
|
||||
height: 80
|
||||
spriteID: b80c57b7e8e91ba408a6eb39898455cb
|
||||
spriteBone: []
|
||||
spriteOutline: []
|
||||
vertices: []
|
||||
spritePhysicsOutline: []
|
||||
indices:
|
||||
edges: []
|
||||
tessellationDetail: 0
|
||||
uvTransform: {x: 4, y: 376}
|
||||
spritePosition: {x: 252, y: 121}
|
||||
- name: "\u72B6\u6001\u706FC"
|
||||
originalName:
|
||||
pivot: {x: 0.5, y: 0.5}
|
||||
@@ -106,8 +127,8 @@ ScriptedImporter:
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 383
|
||||
y: 110
|
||||
x: 195
|
||||
y: 497
|
||||
width: 2
|
||||
height: 2
|
||||
spriteID: 9ca8f0d07247e19449c1e80f0af63d94
|
||||
@@ -118,7 +139,7 @@ ScriptedImporter:
|
||||
indices:
|
||||
edges: []
|
||||
tessellationDetail: 0
|
||||
uvTransform: {x: 383, y: 110}
|
||||
uvTransform: {x: 195, y: 497}
|
||||
spritePosition: {x: 379, y: 99}
|
||||
- name: "\u72B6\u6001\u706FB"
|
||||
originalName:
|
||||
@@ -127,8 +148,8 @@ ScriptedImporter:
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 383
|
||||
y: 120
|
||||
x: 199
|
||||
y: 419
|
||||
width: 2
|
||||
height: 2
|
||||
spriteID: 112461d40884ed4418b91e65f26a65b4
|
||||
@@ -139,7 +160,7 @@ ScriptedImporter:
|
||||
indices:
|
||||
edges: []
|
||||
tessellationDetail: 0
|
||||
uvTransform: {x: 383, y: 120}
|
||||
uvTransform: {x: 199, y: 419}
|
||||
spritePosition: {x: 379, y: 90}
|
||||
- name: "\u72B6\u6001\u706FA"
|
||||
originalName:
|
||||
@@ -148,8 +169,8 @@ ScriptedImporter:
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 386
|
||||
y: 80
|
||||
x: 199
|
||||
y: 429
|
||||
width: 2
|
||||
height: 2
|
||||
spriteID: 51c83b6072671ca4ab860134b83c6bc3
|
||||
@@ -160,7 +181,7 @@ ScriptedImporter:
|
||||
indices:
|
||||
edges: []
|
||||
tessellationDetail: 0
|
||||
uvTransform: {x: 386, y: 80}
|
||||
uvTransform: {x: 199, y: 429}
|
||||
spritePosition: {x: 379, y: 81}
|
||||
- name: "\u63D0\u4EA4\u6309\u94AE\u6FC0\u6D3B"
|
||||
originalName:
|
||||
@@ -169,8 +190,8 @@ ScriptedImporter:
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 243
|
||||
y: 234
|
||||
x: 168
|
||||
y: 419
|
||||
width: 23
|
||||
height: 18
|
||||
spriteID: 66ce627837168c747b628b4086a2afda
|
||||
@@ -181,7 +202,7 @@ ScriptedImporter:
|
||||
indices:
|
||||
edges: []
|
||||
tessellationDetail: 0
|
||||
uvTransform: {x: 243, y: 234}
|
||||
uvTransform: {x: 168, y: 419}
|
||||
spritePosition: {x: 238, y: 80}
|
||||
- name: "\u63D0\u4EA4\u6309\u94AE\u672A\u6FC0\u6D3B\u60AC\u505C"
|
||||
originalName:
|
||||
@@ -190,8 +211,8 @@ ScriptedImporter:
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 243
|
||||
y: 260
|
||||
x: 168
|
||||
y: 445
|
||||
width: 23
|
||||
height: 18
|
||||
spriteID: 39de5653cf6d8e445bef16c06ae5ff96
|
||||
@@ -202,7 +223,7 @@ ScriptedImporter:
|
||||
indices:
|
||||
edges: []
|
||||
tessellationDetail: 0
|
||||
uvTransform: {x: 243, y: 260}
|
||||
uvTransform: {x: 168, y: 445}
|
||||
spritePosition: {x: 238, y: 80}
|
||||
- name: "\u63D0\u4EA4\u6309\u94AE\u672A\u6FC0\u6D3B"
|
||||
originalName:
|
||||
@@ -211,8 +232,8 @@ ScriptedImporter:
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 243
|
||||
y: 286
|
||||
x: 168
|
||||
y: 471
|
||||
width: 23
|
||||
height: 18
|
||||
spriteID: 448ae6aa4a49ee948a6624d9101affdc
|
||||
@@ -223,7 +244,7 @@ ScriptedImporter:
|
||||
indices:
|
||||
edges: []
|
||||
tessellationDetail: 0
|
||||
uvTransform: {x: 243, y: 286}
|
||||
uvTransform: {x: 168, y: 471}
|
||||
spritePosition: {x: 238, y: 80}
|
||||
- name: "\u76EE\u6807\u5C4F\u5E55"
|
||||
originalName:
|
||||
@@ -232,8 +253,8 @@ ScriptedImporter:
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 352
|
||||
y: 50
|
||||
x: 130
|
||||
y: 376
|
||||
width: 23
|
||||
height: 22
|
||||
spriteID: def23ba00b43309439111835cc60a370
|
||||
@@ -244,7 +265,7 @@ ScriptedImporter:
|
||||
indices:
|
||||
edges: []
|
||||
tessellationDetail: 0
|
||||
uvTransform: {x: 352, y: 50}
|
||||
uvTransform: {x: 130, y: 376}
|
||||
spritePosition: {x: 270, y: 78}
|
||||
- name: "\u6570\u503C\u5C4F\u5E55"
|
||||
originalName:
|
||||
@@ -253,8 +274,8 @@ ScriptedImporter:
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 243
|
||||
y: 4
|
||||
x: 4
|
||||
y: 464
|
||||
width: 148
|
||||
height: 38
|
||||
spriteID: 422f6c09d1256d2469a107ff74d26bcf
|
||||
@@ -265,7 +286,7 @@ ScriptedImporter:
|
||||
indices:
|
||||
edges: []
|
||||
tessellationDetail: 0
|
||||
uvTransform: {x: 243, y: 4}
|
||||
uvTransform: {x: 4, y: 464}
|
||||
spritePosition: {x: 236, y: 69}
|
||||
- name: "\u77F3\u5934\u52A8\u529B\u6A21\u5757\u7EF4\u4FEE\u754C\u9762"
|
||||
originalName:
|
||||
@@ -295,8 +316,8 @@ ScriptedImporter:
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 376
|
||||
y: 138
|
||||
x: 209
|
||||
y: 394
|
||||
width: 15
|
||||
height: 15
|
||||
spriteID: df8609dcdcec37d41919b4b955817cb9
|
||||
@@ -307,7 +328,7 @@ ScriptedImporter:
|
||||
indices:
|
||||
edges: []
|
||||
tessellationDetail: 0
|
||||
uvTransform: {x: 376, y: 138}
|
||||
uvTransform: {x: 209, y: 394}
|
||||
spritePosition: {x: 249, y: 43}
|
||||
- name: "\u9009\u62E9\u5C4F\u5E55"
|
||||
originalName:
|
||||
@@ -316,8 +337,8 @@ ScriptedImporter:
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 342
|
||||
y: 110
|
||||
x: 168
|
||||
y: 366
|
||||
width: 33
|
||||
height: 20
|
||||
spriteID: 6e171c1c194ecd94697d5ada95bb7e5f
|
||||
@@ -328,7 +349,7 @@ ScriptedImporter:
|
||||
indices:
|
||||
edges: []
|
||||
tessellationDetail: 0
|
||||
uvTransform: {x: 342, y: 110}
|
||||
uvTransform: {x: 168, y: 366}
|
||||
spritePosition: {x: 241, y: 41}
|
||||
- name: "\u56FE\u5F62"
|
||||
originalName:
|
||||
@@ -337,8 +358,8 @@ ScriptedImporter:
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 243
|
||||
y: 164
|
||||
x: 252
|
||||
y: 118
|
||||
width: 85
|
||||
height: 37
|
||||
spriteID: 539f51f03b9cbbc40ac6b608d840c031
|
||||
@@ -349,20 +370,20 @@ ScriptedImporter:
|
||||
indices:
|
||||
edges: []
|
||||
tessellationDetail: 0
|
||||
uvTransform: {x: 243, y: 164}
|
||||
uvTransform: {x: 252, y: 118}
|
||||
spritePosition: {x: 287, y: 19}
|
||||
- name: "\u540D\u79F0\u5E95\u8272sample "
|
||||
- name: "\u6587\u5B57\u5E95\u56FE"
|
||||
originalName:
|
||||
pivot: {x: 0.5, y: 0.5}
|
||||
alignment: 0
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 243
|
||||
y: 110
|
||||
width: 91
|
||||
height: 46
|
||||
spriteID: 61a99d046c24b6948bb36754d2807d78
|
||||
x: 168
|
||||
y: 497
|
||||
width: 19
|
||||
height: 7
|
||||
spriteID: f59a13c6dbed87549a425c7f2c9aadae
|
||||
spriteBone: []
|
||||
spriteOutline: []
|
||||
vertices: []
|
||||
@@ -370,7 +391,49 @@ ScriptedImporter:
|
||||
indices:
|
||||
edges: []
|
||||
tessellationDetail: 0
|
||||
uvTransform: {x: 243, y: 110}
|
||||
uvTransform: {x: 168, y: 497}
|
||||
spritePosition: {x: 307, y: 37}
|
||||
- name: "\u6309\u94AE\u5E95\u56FE"
|
||||
originalName:
|
||||
pivot: {x: 0.5, y: 0.5}
|
||||
alignment: 0
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 209
|
||||
y: 366
|
||||
width: 19
|
||||
height: 20
|
||||
spriteID: f0ee7b155b20bed48b29cf33463953c6
|
||||
spriteBone: []
|
||||
spriteOutline: []
|
||||
vertices: []
|
||||
spritePhysicsOutline: []
|
||||
indices:
|
||||
edges: []
|
||||
tessellationDetail: 0
|
||||
uvTransform: {x: 209, y: 366}
|
||||
spritePosition: {x: 283, y: 37}
|
||||
- name: "\u5E95\u56FE"
|
||||
originalName:
|
||||
pivot: {x: 0.5, y: 0.5}
|
||||
alignment: 0
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 252
|
||||
y: 64
|
||||
width: 91
|
||||
height: 46
|
||||
spriteID: 127e0cb6b16f9f247ba4fe15c5596eba
|
||||
spriteBone: []
|
||||
spriteOutline: []
|
||||
vertices: []
|
||||
spritePhysicsOutline: []
|
||||
indices:
|
||||
edges: []
|
||||
tessellationDetail: 0
|
||||
uvTransform: {x: 252, y: 64}
|
||||
spritePosition: {x: 283, y: 11}
|
||||
- name: "\u6A21\u5757\u5B58\u50A8\u5C4F\u5E55"
|
||||
originalName:
|
||||
@@ -379,8 +442,8 @@ ScriptedImporter:
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 243
|
||||
y: 50
|
||||
x: 252
|
||||
y: 4
|
||||
width: 101
|
||||
height: 52
|
||||
spriteID: 85d40d94db7858241bc9d2de3e75a86f
|
||||
@@ -391,7 +454,7 @@ ScriptedImporter:
|
||||
indices:
|
||||
edges: []
|
||||
tessellationDetail: 0
|
||||
uvTransform: {x: 243, y: 50}
|
||||
uvTransform: {x: 252, y: 4}
|
||||
spritePosition: {x: 277, y: 8}
|
||||
- name: "\u53D6\u51FA\u6309\u94AE\u672A\u6309\u538B\u60AC\u505C"
|
||||
originalName:
|
||||
@@ -400,8 +463,8 @@ ScriptedImporter:
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 352
|
||||
y: 80
|
||||
x: 130
|
||||
y: 406
|
||||
width: 26
|
||||
height: 17
|
||||
spriteID: c6f26528c01d8a1418124b950e358662
|
||||
@@ -412,7 +475,7 @@ ScriptedImporter:
|
||||
indices:
|
||||
edges: []
|
||||
tessellationDetail: 0
|
||||
uvTransform: {x: 352, y: 80}
|
||||
uvTransform: {x: 130, y: 406}
|
||||
spritePosition: {x: 243, y: 13}
|
||||
- name: "\u53D6\u51FA\u6309\u94AE\u672A\u6309\u538B"
|
||||
originalName:
|
||||
@@ -421,8 +484,8 @@ ScriptedImporter:
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 342
|
||||
y: 138
|
||||
x: 130
|
||||
y: 431
|
||||
width: 26
|
||||
height: 17
|
||||
spriteID: 200f275c9e778b0449725c1cb042adf7
|
||||
@@ -433,7 +496,7 @@ ScriptedImporter:
|
||||
indices:
|
||||
edges: []
|
||||
tessellationDetail: 0
|
||||
uvTransform: {x: 342, y: 138}
|
||||
uvTransform: {x: 130, y: 431}
|
||||
spritePosition: {x: 243, y: 13}
|
||||
- name: "\u53D6\u51FA\u6309\u94AE\u6309\u538B"
|
||||
originalName:
|
||||
@@ -442,8 +505,8 @@ ScriptedImporter:
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 243
|
||||
y: 209
|
||||
x: 168
|
||||
y: 394
|
||||
width: 26
|
||||
height: 17
|
||||
spriteID: 68727e0052586ad4c9c31bc0cc5e1c57
|
||||
@@ -454,7 +517,7 @@ ScriptedImporter:
|
||||
indices:
|
||||
edges: []
|
||||
tessellationDetail: 0
|
||||
uvTransform: {x: 243, y: 209}
|
||||
uvTransform: {x: 168, y: 394}
|
||||
spritePosition: {x: 243, y: 13}
|
||||
- name: "\u77F3\u5934\u7EF4\u4FEE\u4E0B\u9762\u7248"
|
||||
originalName:
|
||||
@@ -505,8 +568,8 @@ ScriptedImporter:
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 4
|
||||
y: 376
|
||||
x: 168
|
||||
y: 4
|
||||
width: 76
|
||||
height: 112
|
||||
spriteID: e70c80f2f5278ce4389cf3c71da386b0
|
||||
@@ -517,7 +580,7 @@ ScriptedImporter:
|
||||
indices:
|
||||
edges: []
|
||||
tessellationDetail: 0
|
||||
uvTransform: {x: -170, y: 376}
|
||||
uvTransform: {x: -6, y: 4}
|
||||
spritePosition: {x: 174, y: 0}
|
||||
- name: "\u62BD\u5C49"
|
||||
originalName:
|
||||
@@ -527,7 +590,7 @@ ScriptedImporter:
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 168
|
||||
y: 4
|
||||
y: 246
|
||||
width: 67
|
||||
height: 112
|
||||
spriteID: 031bc14b75010fe44a1d520f4a3fc020
|
||||
@@ -538,7 +601,7 @@ ScriptedImporter:
|
||||
indices:
|
||||
edges: []
|
||||
tessellationDetail: 0
|
||||
uvTransform: {x: 168, y: 4}
|
||||
uvTransform: {x: 168, y: 246}
|
||||
spritePosition: {x: 165, y: 0}
|
||||
- name: "\u62BD\u5C49\u5E95\u4E0B\u9634\u5F71"
|
||||
originalName:
|
||||
@@ -547,8 +610,8 @@ ScriptedImporter:
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 88
|
||||
y: 376
|
||||
x: 168
|
||||
y: 124
|
||||
width: 72
|
||||
height: 114
|
||||
spriteID: 0c663d91f759fc7448e617ce066755e0
|
||||
@@ -559,7 +622,7 @@ ScriptedImporter:
|
||||
indices:
|
||||
edges: []
|
||||
tessellationDetail: 0
|
||||
uvTransform: {x: 88, y: 376}
|
||||
uvTransform: {x: 168, y: 124}
|
||||
spritePosition: {x: 162, y: 1}
|
||||
characterData:
|
||||
bones: []
|
||||
@@ -664,9 +727,19 @@ ScriptedImporter:
|
||||
spriteCategoryList:
|
||||
categories: []
|
||||
spritePackingTag:
|
||||
resliceFromLayer: 0
|
||||
resliceFromLayer: 1
|
||||
mosaicPSDLayers: []
|
||||
rigPSDLayers:
|
||||
- name: "\u7EF4\u4FEE\u754C\u9762UI\u50CF\u7D20"
|
||||
spriteName: "\u7EF4\u4FEE\u754C\u9762UI\u50CF\u7D20"
|
||||
isGroup: 0
|
||||
parentIndex: -1
|
||||
spriteID: b80c57b7e8e91ba408a6eb39898455cb
|
||||
layerID: 38
|
||||
mosaicPosition: {x: 4, y: 376}
|
||||
flatten: 0
|
||||
isImported: 1
|
||||
isVisible: 1
|
||||
- name: "\u6570\u503C\u5C4F\u5E55"
|
||||
spriteName:
|
||||
isGroup: 1
|
||||
@@ -680,37 +753,37 @@ ScriptedImporter:
|
||||
- name: "\u72B6\u6001\u706FC"
|
||||
spriteName: "\u72B6\u6001\u706FC"
|
||||
isGroup: 0
|
||||
parentIndex: 0
|
||||
parentIndex: 1
|
||||
spriteID: 9ca8f0d07247e19449c1e80f0af63d94
|
||||
layerID: 33
|
||||
mosaicPosition: {x: 383, y: 110}
|
||||
mosaicPosition: {x: 195, y: 497}
|
||||
flatten: 0
|
||||
isImported: 1
|
||||
isVisible: 1
|
||||
- name: "\u72B6\u6001\u706FB"
|
||||
spriteName: "\u72B6\u6001\u706FB"
|
||||
isGroup: 0
|
||||
parentIndex: 0
|
||||
parentIndex: 1
|
||||
spriteID: 112461d40884ed4418b91e65f26a65b4
|
||||
layerID: 32
|
||||
mosaicPosition: {x: 383, y: 120}
|
||||
mosaicPosition: {x: 199, y: 419}
|
||||
flatten: 0
|
||||
isImported: 1
|
||||
isVisible: 1
|
||||
- name: "\u72B6\u6001\u706FA"
|
||||
spriteName: "\u72B6\u6001\u706FA"
|
||||
isGroup: 0
|
||||
parentIndex: 0
|
||||
parentIndex: 1
|
||||
spriteID: 51c83b6072671ca4ab860134b83c6bc3
|
||||
layerID: 31
|
||||
mosaicPosition: {x: 386, y: 80}
|
||||
mosaicPosition: {x: 199, y: 429}
|
||||
flatten: 0
|
||||
isImported: 1
|
||||
isVisible: 1
|
||||
- name: "\u63D0\u4EA4\u6309\u94AE\u6FC0\u6D3B\u60AC\u505C"
|
||||
spriteName:
|
||||
isGroup: 0
|
||||
parentIndex: 0
|
||||
parentIndex: 1
|
||||
spriteID: 0db20e613f3782a41a2c7c5ac574ef61
|
||||
layerID: 30
|
||||
mosaicPosition: {x: 0, y: 0}
|
||||
@@ -720,50 +793,50 @@ ScriptedImporter:
|
||||
- name: "\u63D0\u4EA4\u6309\u94AE\u6FC0\u6D3B"
|
||||
spriteName: "\u63D0\u4EA4\u6309\u94AE\u6FC0\u6D3B"
|
||||
isGroup: 0
|
||||
parentIndex: 0
|
||||
parentIndex: 1
|
||||
spriteID: 66ce627837168c747b628b4086a2afda
|
||||
layerID: 29
|
||||
mosaicPosition: {x: 243, y: 234}
|
||||
mosaicPosition: {x: 168, y: 419}
|
||||
flatten: 0
|
||||
isImported: 1
|
||||
isVisible: 1
|
||||
- name: "\u63D0\u4EA4\u6309\u94AE\u672A\u6FC0\u6D3B\u60AC\u505C"
|
||||
spriteName: "\u63D0\u4EA4\u6309\u94AE\u672A\u6FC0\u6D3B\u60AC\u505C"
|
||||
isGroup: 0
|
||||
parentIndex: 0
|
||||
parentIndex: 1
|
||||
spriteID: 39de5653cf6d8e445bef16c06ae5ff96
|
||||
layerID: 28
|
||||
mosaicPosition: {x: 243, y: 260}
|
||||
mosaicPosition: {x: 168, y: 445}
|
||||
flatten: 0
|
||||
isImported: 1
|
||||
isVisible: 1
|
||||
- name: "\u63D0\u4EA4\u6309\u94AE\u672A\u6FC0\u6D3B"
|
||||
spriteName: "\u63D0\u4EA4\u6309\u94AE\u672A\u6FC0\u6D3B"
|
||||
isGroup: 0
|
||||
parentIndex: 0
|
||||
parentIndex: 1
|
||||
spriteID: 448ae6aa4a49ee948a6624d9101affdc
|
||||
layerID: 27
|
||||
mosaicPosition: {x: 243, y: 286}
|
||||
mosaicPosition: {x: 168, y: 471}
|
||||
flatten: 0
|
||||
isImported: 1
|
||||
isVisible: 1
|
||||
- name: "\u76EE\u6807\u5C4F\u5E55"
|
||||
spriteName: "\u76EE\u6807\u5C4F\u5E55"
|
||||
isGroup: 0
|
||||
parentIndex: 0
|
||||
parentIndex: 1
|
||||
spriteID: def23ba00b43309439111835cc60a370
|
||||
layerID: 26
|
||||
mosaicPosition: {x: 352, y: 50}
|
||||
mosaicPosition: {x: 130, y: 376}
|
||||
flatten: 0
|
||||
isImported: 1
|
||||
isVisible: 1
|
||||
- name: "\u6570\u503C\u5C4F\u5E55"
|
||||
spriteName: "\u6570\u503C\u5C4F\u5E55"
|
||||
isGroup: 0
|
||||
parentIndex: 0
|
||||
parentIndex: 1
|
||||
spriteID: 422f6c09d1256d2469a107ff74d26bcf
|
||||
layerID: 25
|
||||
mosaicPosition: {x: 243, y: 4}
|
||||
mosaicPosition: {x: 4, y: 464}
|
||||
flatten: 0
|
||||
isImported: 1
|
||||
isVisible: 1
|
||||
@@ -790,7 +863,7 @@ ScriptedImporter:
|
||||
- name: "\u9009\u62E9\u5217\u8868"
|
||||
spriteName:
|
||||
isGroup: 1
|
||||
parentIndex: 11
|
||||
parentIndex: 12
|
||||
spriteID: bf46b81aed5d62c4e929b5f52d1368ae
|
||||
layerID: 21
|
||||
mosaicPosition: {x: 0, y: 0}
|
||||
@@ -800,57 +873,77 @@ ScriptedImporter:
|
||||
- name: "\u9009\u4E2D\u56FE\u5F62"
|
||||
spriteName: "\u9009\u4E2D\u56FE\u5F62"
|
||||
isGroup: 0
|
||||
parentIndex: 12
|
||||
parentIndex: 13
|
||||
spriteID: df8609dcdcec37d41919b4b955817cb9
|
||||
layerID: 20
|
||||
mosaicPosition: {x: 376, y: 138}
|
||||
mosaicPosition: {x: 209, y: 394}
|
||||
flatten: 0
|
||||
isImported: 1
|
||||
isVisible: 1
|
||||
- name: "\u9009\u62E9\u5C4F\u5E55"
|
||||
spriteName: "\u9009\u62E9\u5C4F\u5E55"
|
||||
isGroup: 0
|
||||
parentIndex: 12
|
||||
parentIndex: 13
|
||||
spriteID: 6e171c1c194ecd94697d5ada95bb7e5f
|
||||
layerID: 19
|
||||
mosaicPosition: {x: 342, y: 110}
|
||||
mosaicPosition: {x: 168, y: 366}
|
||||
flatten: 0
|
||||
isImported: 1
|
||||
isVisible: 1
|
||||
- name: "\u56FE\u5F62"
|
||||
spriteName: "\u56FE\u5F62"
|
||||
isGroup: 0
|
||||
parentIndex: 12
|
||||
parentIndex: 13
|
||||
spriteID: 539f51f03b9cbbc40ac6b608d840c031
|
||||
layerID: 18
|
||||
mosaicPosition: {x: 243, y: 164}
|
||||
mosaicPosition: {x: 252, y: 118}
|
||||
flatten: 0
|
||||
isImported: 1
|
||||
isVisible: 1
|
||||
- name: "\u540D\u79F0\u5E95\u8272sample "
|
||||
spriteName: "\u540D\u79F0\u5E95\u8272sample "
|
||||
- name: "\u6587\u5B57\u5E95\u56FE"
|
||||
spriteName: "\u6587\u5B57\u5E95\u56FE"
|
||||
isGroup: 0
|
||||
parentIndex: 12
|
||||
spriteID: 61a99d046c24b6948bb36754d2807d78
|
||||
parentIndex: 13
|
||||
spriteID: f59a13c6dbed87549a425c7f2c9aadae
|
||||
layerID: 41
|
||||
mosaicPosition: {x: 168, y: 497}
|
||||
flatten: 0
|
||||
isImported: 1
|
||||
isVisible: 1
|
||||
- name: "\u6309\u94AE\u5E95\u56FE"
|
||||
spriteName: "\u6309\u94AE\u5E95\u56FE"
|
||||
isGroup: 0
|
||||
parentIndex: 13
|
||||
spriteID: f0ee7b155b20bed48b29cf33463953c6
|
||||
layerID: 42
|
||||
mosaicPosition: {x: 209, y: 366}
|
||||
flatten: 0
|
||||
isImported: 1
|
||||
isVisible: 1
|
||||
- name: "\u5E95\u56FE"
|
||||
spriteName: "\u5E95\u56FE"
|
||||
isGroup: 0
|
||||
parentIndex: 13
|
||||
spriteID: 127e0cb6b16f9f247ba4fe15c5596eba
|
||||
layerID: 17
|
||||
mosaicPosition: {x: 243, y: 110}
|
||||
mosaicPosition: {x: 252, y: 64}
|
||||
flatten: 0
|
||||
isImported: 1
|
||||
isVisible: 1
|
||||
- name: "\u6A21\u5757\u5B58\u50A8\u5C4F\u5E55"
|
||||
spriteName: "\u6A21\u5757\u5B58\u50A8\u5C4F\u5E55"
|
||||
isGroup: 0
|
||||
parentIndex: 12
|
||||
parentIndex: 13
|
||||
spriteID: 85d40d94db7858241bc9d2de3e75a86f
|
||||
layerID: 16
|
||||
mosaicPosition: {x: 243, y: 50}
|
||||
mosaicPosition: {x: 252, y: 4}
|
||||
flatten: 0
|
||||
isImported: 1
|
||||
isVisible: 1
|
||||
- name: "\u53D6\u51FA\u6309\u94AE"
|
||||
spriteName:
|
||||
isGroup: 1
|
||||
parentIndex: 11
|
||||
parentIndex: 12
|
||||
spriteID: 2736e5cebf0b3f1439972ca89344d791
|
||||
layerID: 14
|
||||
mosaicPosition: {x: 0, y: 0}
|
||||
@@ -860,37 +953,37 @@ ScriptedImporter:
|
||||
- name: "\u53D6\u51FA\u6309\u94AE\u672A\u6309\u538B\u60AC\u505C"
|
||||
spriteName: "\u53D6\u51FA\u6309\u94AE\u672A\u6309\u538B\u60AC\u505C"
|
||||
isGroup: 0
|
||||
parentIndex: 18
|
||||
parentIndex: 21
|
||||
spriteID: c6f26528c01d8a1418124b950e358662
|
||||
layerID: 13
|
||||
mosaicPosition: {x: 352, y: 80}
|
||||
mosaicPosition: {x: 130, y: 406}
|
||||
flatten: 0
|
||||
isImported: 1
|
||||
isVisible: 1
|
||||
- name: "\u53D6\u51FA\u6309\u94AE\u672A\u6309\u538B"
|
||||
spriteName: "\u53D6\u51FA\u6309\u94AE\u672A\u6309\u538B"
|
||||
isGroup: 0
|
||||
parentIndex: 18
|
||||
parentIndex: 21
|
||||
spriteID: 200f275c9e778b0449725c1cb042adf7
|
||||
layerID: 12
|
||||
mosaicPosition: {x: 342, y: 138}
|
||||
mosaicPosition: {x: 130, y: 431}
|
||||
flatten: 0
|
||||
isImported: 1
|
||||
isVisible: 1
|
||||
- name: "\u53D6\u51FA\u6309\u94AE\u6309\u538B"
|
||||
spriteName: "\u53D6\u51FA\u6309\u94AE\u6309\u538B"
|
||||
isGroup: 0
|
||||
parentIndex: 18
|
||||
parentIndex: 21
|
||||
spriteID: 68727e0052586ad4c9c31bc0cc5e1c57
|
||||
layerID: 11
|
||||
mosaicPosition: {x: 243, y: 209}
|
||||
mosaicPosition: {x: 168, y: 394}
|
||||
flatten: 0
|
||||
isImported: 1
|
||||
isVisible: 1
|
||||
- name: "\u77F3\u5934\u7EF4\u4FEE\u4E0B\u9762\u7248"
|
||||
spriteName: "\u77F3\u5934\u7EF4\u4FEE\u4E0B\u9762\u7248"
|
||||
isGroup: 0
|
||||
parentIndex: 11
|
||||
parentIndex: 12
|
||||
spriteID: 46392f6ec25a85d4893584b5d5816409
|
||||
layerID: 9
|
||||
mosaicPosition: {x: 4, y: 228}
|
||||
@@ -920,30 +1013,30 @@ ScriptedImporter:
|
||||
- name: "\u62BD\u5C49AO\u95ED\u585E\u9634\u5F71"
|
||||
spriteName: "\u62BD\u5C49AO\u95ED\u585E\u9634\u5F71"
|
||||
isGroup: 0
|
||||
parentIndex: 24
|
||||
parentIndex: 27
|
||||
spriteID: e70c80f2f5278ce4389cf3c71da386b0
|
||||
layerID: 5
|
||||
mosaicPosition: {x: 4, y: 376}
|
||||
mosaicPosition: {x: 168, y: 4}
|
||||
flatten: 0
|
||||
isImported: 1
|
||||
isVisible: 1
|
||||
- name: "\u62BD\u5C49"
|
||||
spriteName: "\u62BD\u5C49"
|
||||
isGroup: 0
|
||||
parentIndex: 24
|
||||
parentIndex: 27
|
||||
spriteID: 031bc14b75010fe44a1d520f4a3fc020
|
||||
layerID: 4
|
||||
mosaicPosition: {x: 168, y: 4}
|
||||
mosaicPosition: {x: 168, y: 246}
|
||||
flatten: 0
|
||||
isImported: 1
|
||||
isVisible: 1
|
||||
- name: "\u62BD\u5C49\u5E95\u4E0B\u9634\u5F71"
|
||||
spriteName: "\u62BD\u5C49\u5E95\u4E0B\u9634\u5F71"
|
||||
isGroup: 0
|
||||
parentIndex: 24
|
||||
parentIndex: 27
|
||||
spriteID: 0c663d91f759fc7448e617ce066755e0
|
||||
layerID: 3
|
||||
mosaicPosition: {x: 88, y: 376}
|
||||
mosaicPosition: {x: 168, y: 124}
|
||||
flatten: 0
|
||||
isImported: 1
|
||||
isVisible: 1
|
||||
|
||||
+6406
-3340
File diff suppressed because it is too large
Load Diff
+6403
-3281
File diff suppressed because it is too large
Load Diff
+702
-101
File diff suppressed because it is too large
Load Diff
@@ -603,11 +603,17 @@ namespace AibisDream
|
||||
public string[] states;
|
||||
|
||||
public string buttonImagePath;
|
||||
public string detailImagePath;
|
||||
|
||||
public Sprite GetButtonImage()
|
||||
{
|
||||
return ResourceKit.LoadAssetSync<Sprite>(buttonImagePath);
|
||||
}
|
||||
|
||||
public Sprite GetDetailImage()
|
||||
{
|
||||
return ResourceKit.LoadAssetSync<Sprite>(detailImagePath);
|
||||
}
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
|
||||
@@ -1,23 +0,0 @@
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
using TMPro;
|
||||
using UnityEngine.Events;
|
||||
|
||||
namespace AibisDream
|
||||
{
|
||||
public class ShapeCreateButton : MonoBehaviour
|
||||
{
|
||||
[SerializeField] private Image _image;
|
||||
[SerializeField] private TMP_Text _text;
|
||||
[SerializeField] private Button _button;
|
||||
|
||||
public UnityEvent OnClicked => _button.onClick;
|
||||
|
||||
public void SetInfo(BlockShapeInfo blockShapeInfo)
|
||||
{
|
||||
_image.sprite = blockShapeInfo.GetButtonImage();
|
||||
_text.text = blockShapeInfo.shapeName;
|
||||
gameObject.name = blockShapeInfo.shapeName;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d3b75d4d7deddb249ad8509da83ced4b
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,69 @@
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
using TMPro;
|
||||
using UnityEngine.Events;
|
||||
using AibisDream.UI;
|
||||
|
||||
namespace AibisDream
|
||||
{
|
||||
[RequireComponent(typeof(BaseButton))]
|
||||
public class ShapeCreateButton : MonoBehaviour
|
||||
{
|
||||
[Header("组件索引")]
|
||||
[SerializeField] private Image backgroundImage;
|
||||
[SerializeField] private Image textBgImage;
|
||||
[SerializeField] private Image signImage;
|
||||
[SerializeField] private TMP_Text text;
|
||||
[SerializeField] private BaseButton button;
|
||||
|
||||
[Header("颜色配置")]
|
||||
[SerializeField] private ColorTint bgColor;
|
||||
[SerializeField] private ColorTint textBgColor;
|
||||
|
||||
public UnityEvent OnClicked => button.onClick;
|
||||
|
||||
private void OnEnable()
|
||||
{
|
||||
button.onStateTransition.AddListener(OnStateTransition);
|
||||
}
|
||||
|
||||
private void OnDisable()
|
||||
{
|
||||
button.onStateTransition.RemoveListener(OnStateTransition);
|
||||
}
|
||||
|
||||
public void SetInfo(BlockShapeInfo blockShapeInfo)
|
||||
{
|
||||
signImage.sprite = blockShapeInfo.GetButtonImage();
|
||||
text.text = blockShapeInfo.shapeName;
|
||||
gameObject.name = blockShapeInfo.shapeName;
|
||||
}
|
||||
|
||||
private void OnStateTransition(SelectionType type, bool instant)
|
||||
{
|
||||
switch (type)
|
||||
{
|
||||
case SelectionType.Normal:
|
||||
backgroundImage.color = bgColor.normalColor;
|
||||
textBgImage.color = textBgColor.normalColor;
|
||||
break;
|
||||
case SelectionType.Highlighted:
|
||||
backgroundImage.color = bgColor.highlightedColor;
|
||||
textBgImage.color = textBgColor.highlightedColor;
|
||||
break;
|
||||
case SelectionType.Pressed:
|
||||
backgroundImage.color = bgColor.pressedColor;
|
||||
textBgImage.color = textBgColor.pressedColor;
|
||||
break;
|
||||
case SelectionType.Selected:
|
||||
backgroundImage.color = bgColor.selectedColor;
|
||||
textBgImage.color = textBgColor.selectedColor;
|
||||
break;
|
||||
case SelectionType.Disabled:
|
||||
backgroundImage.color = bgColor.disabledColor;
|
||||
textBgImage.color = textBgColor.disabledColor;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace AibisDream.UI
|
||||
{
|
||||
[Serializable]
|
||||
public struct ColorTint
|
||||
{
|
||||
public Color normalColor;
|
||||
public Color highlightedColor;
|
||||
public Color pressedColor;
|
||||
public Color selectedColor;
|
||||
public Color disabledColor;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 305426dc9855ad64b8dd06653dd2994e
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user