修复bug

This commit is contained in:
2025-03-09 21:42:08 +08:00
parent c6f90ec711
commit 68e9d79653
6 changed files with 325 additions and 9 deletions
Binary file not shown.
@@ -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: []
+4 -1
View File
@@ -123,7 +123,7 @@ colorID: 1
<<if $gameStage == "术前谈话">>
<<jump 进入术前谈话>>
<<endif>>
<<if $gameStage == "停止想象">>
<<if $gameStage == "停止想象">>x
<<jump 进入停止想象>>
<<endif>>
<<if $gameStage == "UF拆除">>
@@ -132,6 +132,9 @@ colorID: 1
<<if $gameStage == "术前谈话2">>
<<jump 进入术前谈话2>>
<<endif>>
<<if $gameStage == "手术">>
<<jump 进入手术>>
<<endif>>
<<if $gameStage == "结束对话">>
<<jump 进入结束对话>>
<<endif>>
+4 -4
View File
@@ -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:
@@ -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"))
+2 -2
View File
@@ -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