fix(menu): level buttons

This commit is contained in:
Job
2025-07-17 21:20:09 +02:00
parent cc5e00e2f8
commit 890e5bc931
13 changed files with 160 additions and 146 deletions

View File

@@ -27,7 +27,7 @@ Transform:
m_GameObject: {fileID: 7092147822737965936}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: -1}
m_LocalPosition: {x: 0, y: 0, z: 0.1}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []

View File

@@ -149,7 +149,7 @@ GameObject:
- component: {fileID: 4624931651007965733}
- component: {fileID: 5574730650312168698}
m_Layer: 5
m_Name: Level Button
m_Name: Level Block
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
@@ -203,7 +203,7 @@ MonoBehaviour:
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 21300000, guid: 228c6b58eb6e9641d816502b2f12b3ec, type: 3}
m_Sprite: {fileID: 21300000, guid: da756b26bd584d9aebe2d4dda330f597, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1

Binary file not shown.

After

Width:  |  Height:  |  Size: 97 KiB

View File

@@ -0,0 +1,156 @@
fileFormatVersion: 2
guid: da756b26bd584d9aebe2d4dda330f597
TextureImporter:
internalIDToNameTable:
- first:
213: 2537882373423050008
second: Block_0
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: 1
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
swizzle: 50462976
cookieLightType: 0
platformSettings:
- serializedVersion: 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
- serializedVersion: 4
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
spriteSheet:
serializedVersion: 2
sprites:
- serializedVersion: 2
name: Block_0
rect:
serializedVersion: 2
x: 46
y: 39
width: 924
height: 925
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
customData:
outline: []
physicsShape: []
tessellationDetail: -1
bones: []
spriteID: 81d2b95829e583320800000000000000
internalID: 2537882373423050008
vertices: []
indices:
edges: []
weights: []
outline: []
customData:
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spriteCustomMetadata:
entries: []
nameFileIdTable:
Block_0: 2537882373423050008
mipmapLimitGroupName:
pSDRemoveMatte: 0
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

After

Width:  |  Height:  |  Size: 99 KiB

View File

Before

Width:  |  Height:  |  Size: 43 KiB

After

Width:  |  Height:  |  Size: 43 KiB

View File

@@ -1 +0,0 @@
{"TestSuite":"","Date":0,"Player":{"Development":false,"ScreenWidth":0,"ScreenHeight":0,"ScreenRefreshRate":0,"Fullscreen":false,"Vsync":0,"AntiAliasing":0,"Batchmode":false,"RenderThreadingMode":"MultiThreaded","GpuSkinning":false,"Platform":"","ColorSpace":"","AnisotropicFiltering":"","BlendWeights":"","GraphicsApi":"","ScriptingBackend":"IL2CPP","AndroidTargetSdkVersion":"AndroidApiLevelAuto","AndroidBuildSystem":"Gradle","BuildTarget":"WebGL","StereoRenderingPath":"MultiPass"},"Hardware":{"OperatingSystem":"","DeviceModel":"","DeviceName":"","ProcessorType":"","ProcessorCount":0,"GraphicsDeviceName":"","SystemMemorySizeMB":0},"Editor":{"Version":"6000.0.47f1","Branch":"6000.0/staging","Changeset":"2ad1ed33fd3b","Date":1744256367},"Dependencies":["com.unity.collab-proxy@2.8.2","com.unity.feature.2d@2.0.1","com.unity.ide.rider@3.0.35","com.unity.ide.visualstudio@2.0.23","com.unity.inputsystem@1.14.0","com.unity.multiplayer.center@1.0.0","com.unity.render-pipelines.universal@17.0.4","com.unity.test-framework@1.5.1","com.unity.timeline@1.8.7","com.unity.ugui@2.0.0","com.unity.visualscripting@1.9.6","com.unity.modules.accessibility@1.0.0","com.unity.modules.ai@1.0.0","com.unity.modules.androidjni@1.0.0","com.unity.modules.animation@1.0.0","com.unity.modules.assetbundle@1.0.0","com.unity.modules.audio@1.0.0","com.unity.modules.cloth@1.0.0","com.unity.modules.director@1.0.0","com.unity.modules.imageconversion@1.0.0","com.unity.modules.imgui@1.0.0","com.unity.modules.jsonserialize@1.0.0","com.unity.modules.particlesystem@1.0.0","com.unity.modules.physics@1.0.0","com.unity.modules.physics2d@1.0.0","com.unity.modules.screencapture@1.0.0","com.unity.modules.terrain@1.0.0","com.unity.modules.terrainphysics@1.0.0","com.unity.modules.tilemap@1.0.0","com.unity.modules.ui@1.0.0","com.unity.modules.uielements@1.0.0","com.unity.modules.umbra@1.0.0","com.unity.modules.unityanalytics@1.0.0","com.unity.modules.unitywebrequest@1.0.0","com.unity.modules.unitywebrequestassetbundle@1.0.0","com.unity.modules.unitywebrequestaudio@1.0.0","com.unity.modules.unitywebrequesttexture@1.0.0","com.unity.modules.unitywebrequestwww@1.0.0","com.unity.modules.vehicles@1.0.0","com.unity.modules.video@1.0.0","com.unity.modules.vr@1.0.0","com.unity.modules.wind@1.0.0","com.unity.modules.xr@1.0.0","com.unity.modules.subsystems@1.0.0","com.unity.modules.hierarchycore@1.0.0","com.unity.ext.nunit@2.0.5","com.unity.render-pipelines.core@17.0.4","com.unity.shadergraph@17.0.4","com.unity.render-pipelines.universal-config@17.0.3","com.unity.2d.animation@10.1.4","com.unity.2d.pixel-perfect@5.0.3","com.unity.2d.psdimporter@9.0.3","com.unity.2d.sprite@1.0.0","com.unity.2d.spriteshape@10.0.7","com.unity.2d.tilemap@1.0.0","com.unity.2d.tilemap.extras@4.1.0","com.unity.2d.aseprite@1.1.9","com.unity.searcher@4.9.3","com.unity.burst@1.8.21","com.unity.mathematics@1.3.2","com.unity.collections@2.5.1","com.unity.rendering.light-transport@1.0.1","com.unity.2d.common@9.0.7","com.unity.nuget.mono-cecil@1.11.4","com.unity.test-framework.performance@3.1.0"],"Results":[]}

View File

@@ -1,7 +0,0 @@
fileFormatVersion: 2
guid: 805dbe47bf96c3b2d904e4708db629fb
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -1 +0,0 @@
{"MeasurementCount":-1}

View File

@@ -1,7 +0,0 @@
fileFormatVersion: 2
guid: 7baabf5924a704d5f979b782325fb940
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -528,8 +528,6 @@ Transform:
- {fileID: 1924068044}
- {fileID: 1393961954}
- {fileID: 1462136427}
- {fileID: 1406671728}
- {fileID: 1978438873}
- {fileID: 2014930576}
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
@@ -942,7 +940,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 891469291826545010, guid: 013f1b4f6c239fc88b80448b454bdf73, type: 3}
propertyPath: m_LocalPosition.z
value: -1
value: 0.1
objectReference: {fileID: 0}
- target: {fileID: 891469291826545010, guid: 013f1b4f6c239fc88b80448b454bdf73, type: 3}
propertyPath: m_LocalRotation.w
@@ -1198,73 +1196,11 @@ Transform:
m_Children: []
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1001 &1362872851
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 387767696}
m_Modifications:
- target: {fileID: 5448514636643914184, guid: 732499c64d47344c7be47ac65c6fa504, type: 3}
propertyPath: m_Name
value: Line M
objectReference: {fileID: 0}
- target: {fileID: 8589943077601745085, guid: 732499c64d47344c7be47ac65c6fa504, type: 3}
propertyPath: m_LocalPosition.x
value: -1.75
objectReference: {fileID: 0}
- target: {fileID: 8589943077601745085, guid: 732499c64d47344c7be47ac65c6fa504, type: 3}
propertyPath: m_LocalPosition.y
value: -2.16
objectReference: {fileID: 0}
- target: {fileID: 8589943077601745085, guid: 732499c64d47344c7be47ac65c6fa504, type: 3}
propertyPath: m_LocalPosition.z
value: 0.1
objectReference: {fileID: 0}
- target: {fileID: 8589943077601745085, guid: 732499c64d47344c7be47ac65c6fa504, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 8589943077601745085, guid: 732499c64d47344c7be47ac65c6fa504, type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 8589943077601745085, guid: 732499c64d47344c7be47ac65c6fa504, type: 3}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 8589943077601745085, guid: 732499c64d47344c7be47ac65c6fa504, type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 8589943077601745085, guid: 732499c64d47344c7be47ac65c6fa504, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8589943077601745085, guid: 732499c64d47344c7be47ac65c6fa504, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8589943077601745085, guid: 732499c64d47344c7be47ac65c6fa504, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 732499c64d47344c7be47ac65c6fa504, type: 3}
--- !u!4 &1393961954 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 9057974218491428438, guid: 61f508bd5ba7a086a8f1d72165ae2236, type: 3}
m_PrefabInstance: {fileID: 1799969282}
m_PrefabAsset: {fileID: 0}
--- !u!4 &1406671728 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 8589943077601745085, guid: 732499c64d47344c7be47ac65c6fa504, type: 3}
m_PrefabInstance: {fileID: 1362872851}
m_PrefabAsset: {fileID: 0}
--- !u!4 &1462136427 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 9057974218491428438, guid: 61f508bd5ba7a086a8f1d72165ae2236, type: 3}
@@ -1720,68 +1656,6 @@ Transform:
m_CorrespondingSourceObject: {fileID: 9057974218491428438, guid: 61f508bd5ba7a086a8f1d72165ae2236, type: 3}
m_PrefabInstance: {fileID: 1730434648}
m_PrefabAsset: {fileID: 0}
--- !u!4 &1978438873 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 8589943077601745085, guid: 732499c64d47344c7be47ac65c6fa504, type: 3}
m_PrefabInstance: {fileID: 2009737989}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &2009737989
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 387767696}
m_Modifications:
- target: {fileID: 5448514636643914184, guid: 732499c64d47344c7be47ac65c6fa504, type: 3}
propertyPath: m_Name
value: Line M (1)
objectReference: {fileID: 0}
- target: {fileID: 8589943077601745085, guid: 732499c64d47344c7be47ac65c6fa504, type: 3}
propertyPath: m_LocalPosition.x
value: 1.6786826
objectReference: {fileID: 0}
- target: {fileID: 8589943077601745085, guid: 732499c64d47344c7be47ac65c6fa504, type: 3}
propertyPath: m_LocalPosition.y
value: -2.1600003
objectReference: {fileID: 0}
- target: {fileID: 8589943077601745085, guid: 732499c64d47344c7be47ac65c6fa504, type: 3}
propertyPath: m_LocalPosition.z
value: 0.1
objectReference: {fileID: 0}
- target: {fileID: 8589943077601745085, guid: 732499c64d47344c7be47ac65c6fa504, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 8589943077601745085, guid: 732499c64d47344c7be47ac65c6fa504, type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 8589943077601745085, guid: 732499c64d47344c7be47ac65c6fa504, type: 3}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 8589943077601745085, guid: 732499c64d47344c7be47ac65c6fa504, type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 8589943077601745085, guid: 732499c64d47344c7be47ac65c6fa504, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8589943077601745085, guid: 732499c64d47344c7be47ac65c6fa504, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8589943077601745085, guid: 732499c64d47344c7be47ac65c6fa504, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 732499c64d47344c7be47ac65c6fa504, type: 3}
--- !u!4 &2014930576 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 891469291826545010, guid: 013f1b4f6c239fc88b80448b454bdf73, type: 3}