From 68e9d79653d034ff9acf92e1db423053b9ccd930 Mon Sep 17 00:00:00 2001 From: bottlefish <781230111@qq.com> Date: Sun, 9 Mar 2025 21:42:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/Resources/Art/Fix/温控器/温控器 1.psb | 3 + .../Art/Fix/温控器/温控器 1.psb.meta | 311 ++++++++++++++++++ Assets/Resources/Yarn/FP_Peipei2/Start.yarn | 5 +- Assets/Scenes/PeipeiFixScene.unity | 8 +- .../FixSystem/Effect/MouseFollowEffect.cs | 3 +- ProjectSettings/ProjectSettings.asset | 4 +- 6 files changed, 325 insertions(+), 9 deletions(-) create mode 100644 Assets/Resources/Art/Fix/温控器/温控器 1.psb create mode 100644 Assets/Resources/Art/Fix/温控器/温控器 1.psb.meta diff --git a/Assets/Resources/Art/Fix/温控器/温控器 1.psb b/Assets/Resources/Art/Fix/温控器/温控器 1.psb new file mode 100644 index 000000000..d8353a392 --- /dev/null +++ b/Assets/Resources/Art/Fix/温控器/温控器 1.psb @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:78041b93345614a4a3c0bee01e884381de0153a42aaa72022e63b2e19f5f95f1 +size 1315084 diff --git a/Assets/Resources/Art/Fix/温控器/温控器 1.psb.meta b/Assets/Resources/Art/Fix/温控器/温控器 1.psb.meta new file mode 100644 index 000000000..78ce24270 --- /dev/null +++ b/Assets/Resources/Art/Fix/温控器/温控器 1.psb.meta @@ -0,0 +1,311 @@ +fileFormatVersion: 2 +guid: af0c993887e3e7e4a8ec5ea614265c94 +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: b2a9591990af98743ba3ff7cf1000886, type: 3} + textureImporterSettings: + alphaSource: 1 + mipMapMode: 0 + enableMipMap: 1 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + convertToNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + flipGreenChannel: 0 + swizzle: 50462976 + isReadable: 0 + streamingMipmaps: 1 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 + nPOTScale: 1 + sRGBTexture: 1 + spriteMode: 2 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 200 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + alphaIsTransparency: 1 + spriteTessellationDetail: -1 + textureType: 8 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 0 + flipbookColumns: 0 + ignorePngGamma: 0 + cookieMode: 0 + filterMode: 1 + aniso: 1 + mipBias: 0 + wrapU: 0 + wrapV: 0 + wrapW: 0 + normalMap: 0 + textureFormat: 0 + maxTextureSize: 0 + lightmap: 0 + compressionQuality: 0 + linearTexture: 0 + grayScaleToAlpha: 0 + rGBM: 0 + cubemapConvolutionSteps: 0 + cubemapConvolutionExponent: 0 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + applyGammaDecoding: 0 + spriteImportData: + - name: + originalName: + pivot: {x: 0, y: 0} + alignment: 0 + border: {x: 0, y: 0, z: 0, w: 0} + rect: + serializedVersion: 2 + x: 0 + y: 0 + width: 0 + height: 0 + spriteID: + spriteBone: [] + spriteOutline: [] + vertices: [] + spritePhysicsOutline: [] + indices: + edges: [] + tessellationDetail: 0 + uvTransform: {x: 0, y: 0} + spritePosition: {x: 0, y: 0} + mosaicSpriteImportData: [] + rigSpriteImportData: + - name: "\u6E29\u5EA6\u68C0\u6D4B\u4EEA" + originalName: + pivot: {x: 0.5, y: 0.5} + alignment: 0 + border: {x: 0, y: 0, z: 0, w: 0} + rect: + serializedVersion: 2 + x: 2669 + y: 4 + width: 703 + height: 704 + spriteID: 8a0019c77539efb4a8ef129b7668c0d9 + spriteBone: [] + spriteOutline: [] + vertices: [] + spritePhysicsOutline: [] + indices: + edges: [] + tessellationDetail: 0 + uvTransform: {x: 2669, y: 4} + spritePosition: {x: 44, y: 8} + - name: "\u6309\u94AE" + originalName: + pivot: {x: 0.5, y: 0.5} + alignment: 0 + border: {x: 0, y: 0, z: 0, w: 0} + rect: + serializedVersion: 2 + x: 2669 + y: 716 + width: 191 + height: 212 + spriteID: 4e46a4bd6cc574742bbdbaa50fced38b + spriteBone: [] + spriteOutline: [] + vertices: [] + spritePhysicsOutline: [] + indices: + edges: [] + tessellationDetail: 0 + uvTransform: {x: 2669, y: 716} + spritePosition: {x: 754, y: 429} + - name: "\u6E29\u63A7\u5668 " + 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: 4 + width: 2657 + height: 718 + spriteID: a668fcd0f8a7c154da3ba9c448c7ff7a + spriteBone: [] + spriteOutline: [] + vertices: [] + spritePhysicsOutline: [] + indices: + edges: [] + tessellationDetail: 0 + uvTransform: {x: 4, y: 4} + spritePosition: {x: 0, y: 0} + - name: "\u98CE\u6247" + originalName: + pivot: {x: 0.5, y: 0.5} + alignment: 0 + border: {x: 0, y: 0, z: 0, w: 0} + rect: + serializedVersion: 2 + x: 3380 + y: 4 + width: 653 + height: 655 + spriteID: 8507261c86be68d4cac19f17617c4bd2 + spriteBone: [] + spriteOutline: [] + vertices: [] + spritePhysicsOutline: [] + indices: + edges: [] + tessellationDetail: 0 + uvTransform: {x: 3380, y: 4} + spritePosition: {x: 41, y: 31} + characterData: + bones: [] + parts: [] + dimension: {x: 0, y: 0} + characterGroups: [] + pivot: {x: 0, y: 0} + boneReadOnly: 0 + sharedRigSpriteImportData: [] + sharedRigCharacterData: + bones: [] + parts: [] + dimension: {x: 0, y: 0} + characterGroups: [] + pivot: {x: 0, y: 0} + boneReadOnly: 0 + platformSettings: + - name: DefaultTexturePlatform + overridden: 0 + ignorePlatformSupport: 0 + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + forceMaximumCompressionQuality_BC6H_BC7: 0 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + androidETC2FallbackOverride: 0 + - name: Standalone + overridden: 0 + ignorePlatformSupport: 0 + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + forceMaximumCompressionQuality_BC6H_BC7: 0 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + androidETC2FallbackOverride: 0 + - name: Server + overridden: 0 + ignorePlatformSupport: 0 + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + forceMaximumCompressionQuality_BC6H_BC7: 0 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + androidETC2FallbackOverride: 0 + mosaicLayers: 1 + characterMode: 1 + documentPivot: {x: 0, y: 0} + documentAlignment: 7 + importHiddenLayers: 0 + layerMappingOption: 2 + generatePhysicsShape: 0 + paperDollMode: 0 + keepDupilcateSpriteName: 1 + skeletonAssetReferenceID: + padding: 4 + spriteSizeExpand: 0 + spriteCategoryList: + categories: [] + spritePackingTag: + resliceFromLayer: 0 + mosaicPSDLayers: [] + rigPSDLayers: + - name: "\u6E29\u5EA6\u68C0\u6D4B\u63A7\u5236\u5668" + spriteName: + isGroup: 1 + parentIndex: -1 + spriteID: f0bed0715a446e84b9402ff288652082 + layerID: 7 + mosaicPosition: {x: 0, y: 0} + flatten: 0 + isImported: 0 + isVisible: 1 + - name: "\u6E29\u5EA6\u68C0\u6D4B\u4EEA" + spriteName: "\u6E29\u5EA6\u68C0\u6D4B\u4EEA" + isGroup: 0 + parentIndex: 0 + spriteID: 8a0019c77539efb4a8ef129b7668c0d9 + layerID: 6 + mosaicPosition: {x: 2669, y: 4} + flatten: 0 + isImported: 1 + isVisible: 1 + - name: "\u6309\u94AE" + spriteName: "\u6309\u94AE" + isGroup: 0 + parentIndex: 0 + spriteID: 4e46a4bd6cc574742bbdbaa50fced38b + layerID: 13 + mosaicPosition: {x: 2669, y: 716} + flatten: 0 + isImported: 1 + isVisible: 1 + - name: "\u6E29\u63A7\u5668 " + spriteName: "\u6E29\u63A7\u5668 " + isGroup: 0 + parentIndex: 0 + spriteID: a668fcd0f8a7c154da3ba9c448c7ff7a + layerID: 3 + mosaicPosition: {x: 4, y: 4} + flatten: 0 + isImported: 1 + isVisible: 1 + - name: "\u98CE\u6247" + spriteName: "\u98CE\u6247" + isGroup: 0 + parentIndex: 0 + spriteID: 8507261c86be68d4cac19f17617c4bd2 + layerID: 4 + mosaicPosition: {x: 3380, y: 4} + flatten: 0 + isImported: 1 + isVisible: 1 + sharedRigPSDLayers: [] + pSDLayerImportSetting: [] + importFileNodeState: 1 + platformSettingsDirtyTick: 0 + spriteSizeExpandChanged: 0 + generateGOHierarchy: 0 + textureAssetName: + prefabAssetName: + spriteLibAssetName: + skeletonAssetName: + secondarySpriteTextures: [] diff --git a/Assets/Resources/Yarn/FP_Peipei2/Start.yarn b/Assets/Resources/Yarn/FP_Peipei2/Start.yarn index dcdf73130..ec41d7ae5 100644 --- a/Assets/Resources/Yarn/FP_Peipei2/Start.yarn +++ b/Assets/Resources/Yarn/FP_Peipei2/Start.yarn @@ -123,7 +123,7 @@ colorID: 1 <> <> <> -<> +<>x <> <> <> @@ -132,6 +132,9 @@ colorID: 1 <> <> <> +<> + <> +<> <> <> <> diff --git a/Assets/Scenes/PeipeiFixScene.unity b/Assets/Scenes/PeipeiFixScene.unity index 87de5f69e..9adb8a406 100644 --- a/Assets/Scenes/PeipeiFixScene.unity +++ b/Assets/Scenes/PeipeiFixScene.unity @@ -1741,12 +1741,12 @@ Transform: m_GameObject: {fileID: 110632226} serializedVersion: 2 m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: -30.589087, y: -0.108584344, z: -0.022224218} + m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: - - {fileID: 709172887} - {fileID: 746183474} + - {fileID: 709172887} m_Father: {fileID: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!114 &110632229 @@ -13180,7 +13180,7 @@ Transform: m_GameObject: {fileID: 709172886} serializedVersion: 2 m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: -0.2, y: 0.65, z: -9.977776} + m_LocalPosition: {x: -30.789087, y: 0.54141563, z: -10} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: @@ -13582,7 +13582,7 @@ Transform: m_GameObject: {fileID: 746183473} serializedVersion: 2 m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 70.3, y: 0, z: -21.866077} + m_LocalPosition: {x: 40, y: 0, z: -10} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: diff --git a/Assets/Scripts/FixSystem/Effect/MouseFollowEffect.cs b/Assets/Scripts/FixSystem/Effect/MouseFollowEffect.cs index 241f4f516..86220ac85 100644 --- a/Assets/Scripts/FixSystem/Effect/MouseFollowEffect.cs +++ b/Assets/Scripts/FixSystem/Effect/MouseFollowEffect.cs @@ -102,9 +102,8 @@ public class MouseFollowAndZoom : MonoBehaviour { // 获取鼠标位置 Vector3 mousePosition = Input.mousePosition; - mousePosition.x += viewOffset; // 添加偏移量 Vector3 worldPosition = Camera.main.ScreenToWorldPoint(mousePosition); - RaycastHit2D hit = Physics2D.Raycast(worldPosition, Vector2.zero); + RaycastHit2D hit = Physics2D.Raycast(worldPosition+viewCamera.transform.position-Camera.main.transform.position, Vector2.zero); // 检查是否有目标 if (hit.collider != null && hit.collider.CompareTag("EyeTarget")) diff --git a/ProjectSettings/ProjectSettings.asset b/ProjectSettings/ProjectSettings.asset index aea1b8045..14d214e28 100644 --- a/ProjectSettings/ProjectSettings.asset +++ b/ProjectSettings/ProjectSettings.asset @@ -100,7 +100,7 @@ PlayerSettings: xboxEnableFitness: 0 visibleInBackground: 1 allowFullscreenSwitch: 1 - fullscreenMode: 3 + fullscreenMode: 1 xboxSpeechDB: 0 xboxEnableHeadOrientation: 0 xboxEnableGuest: 0 @@ -154,7 +154,7 @@ PlayerSettings: androidSupportedAspectRatio: 1 androidMaxAspectRatio: 2.1 applicationIdentifier: - Standalone: com.DefaultCompany.AIBIS-Dream + Standalone: com.Tin-Bird.Love-RobotRepair buildNumber: Standalone: 0 VisionOS: 0