新冷却液
This commit is contained in:
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@@ -638,10 +638,10 @@ ScriptedImporter:
|
||||
- name: DefaultTexturePlatform
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
maxTextureSize: 4096
|
||||
maxTextureSize: 16384
|
||||
resizeAlgorithm: 1
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
textureCompression: 2
|
||||
compressionQuality: 50
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
crunchedCompression: 0
|
||||
@@ -1450,7 +1450,7 @@ ScriptedImporter:
|
||||
isGroup: 0
|
||||
importLayer: 0
|
||||
importFileNodeState: 1
|
||||
platformSettingsDirtyTick: 638687767172049937
|
||||
platformSettingsDirtyTick: 638702262549592792
|
||||
spriteSizeExpandChanged: 0
|
||||
generateGOHierarchy: 1
|
||||
textureAssetName:
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2cc7ecb3ca3ad4f418430e814a7d1dc5
|
||||
NativeFormatImporter:
|
||||
guid: 9d5db3fadecdaa84396e342e34528980
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@@ -0,0 +1,153 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 275f33fc451fa944295ade741a995c1e
|
||||
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: 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: 3
|
||||
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: 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: 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,153 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5b6f717ce43bd4f43a381dedd5daeefa
|
||||
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: 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: 3
|
||||
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: 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: 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,153 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 694f959c7710cb9428e6657619be4ba1
|
||||
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: 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: 3
|
||||
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: 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: 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:
|
||||
@@ -0,0 +1,639 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!1 &1717025260736351672
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 2953156665453534949}
|
||||
- component: {fileID: 956838797857418764}
|
||||
m_Layer: 0
|
||||
m_Name: "\u6362\u6DB2\u8BBE\u5907"
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &2953156665453534949
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1717025260736351672}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: -1.714715, y: -2.3888886, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 3682984150505563954}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!212 &956838797857418764
|
||||
SpriteRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1717025260736351672}
|
||||
m_Enabled: 1
|
||||
m_CastShadows: 0
|
||||
m_ReceiveShadows: 0
|
||||
m_DynamicOccludee: 1
|
||||
m_StaticShadowCaster: 0
|
||||
m_MotionVectors: 1
|
||||
m_LightProbeUsage: 1
|
||||
m_ReflectionProbeUsage: 1
|
||||
m_RayTracingMode: 0
|
||||
m_RayTraceProcedural: 0
|
||||
m_RenderingLayerMask: 1
|
||||
m_RendererPriority: 0
|
||||
m_Materials:
|
||||
- {fileID: 2100000, guid: a97c105638bdf8b4a8650670310a4cd3, type: 2}
|
||||
m_StaticBatchInfo:
|
||||
firstSubMesh: 0
|
||||
subMeshCount: 0
|
||||
m_StaticBatchRoot: {fileID: 0}
|
||||
m_ProbeAnchor: {fileID: 0}
|
||||
m_LightProbeVolumeOverride: {fileID: 0}
|
||||
m_ScaleInLightmap: 1
|
||||
m_ReceiveGI: 1
|
||||
m_PreserveUVs: 0
|
||||
m_IgnoreNormalsForChartDetection: 0
|
||||
m_ImportantGI: 0
|
||||
m_StitchLightmapSeams: 1
|
||||
m_SelectedEditorRenderState: 0
|
||||
m_MinimumChartSize: 4
|
||||
m_AutoUVMaxDistance: 0.5
|
||||
m_AutoUVMaxAngle: 89
|
||||
m_LightmapParameters: {fileID: 0}
|
||||
m_SortingLayerID: 941243827
|
||||
m_SortingLayer: 12
|
||||
m_SortingOrder: 24
|
||||
m_Sprite: {fileID: -2073377064799762273, guid: cc12c4f35170969408e0dc663ac136b5, type: 3}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_FlipX: 0
|
||||
m_FlipY: 0
|
||||
m_DrawMode: 0
|
||||
m_Size: {x: 1.7237238, y: 1.8498498}
|
||||
m_AdaptiveModeThreshold: 0.5
|
||||
m_SpriteTileMode: 0
|
||||
m_WasSpriteAssigned: 1
|
||||
m_MaskInteraction: 0
|
||||
m_SpriteSortPoint: 0
|
||||
--- !u!1 &3734874623600499013
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 4523028594629603798}
|
||||
- component: {fileID: 7426785989982133524}
|
||||
m_Layer: 0
|
||||
m_Name: "\u6B63\u5E38\u5FAE\u5FAE\u7B11"
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &4523028594629603798
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 3734874623600499013}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: -4.2507505, y: 2.7462468, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 3386947052764408708}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!212 &7426785989982133524
|
||||
SpriteRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 3734874623600499013}
|
||||
m_Enabled: 1
|
||||
m_CastShadows: 0
|
||||
m_ReceiveShadows: 0
|
||||
m_DynamicOccludee: 1
|
||||
m_StaticShadowCaster: 0
|
||||
m_MotionVectors: 1
|
||||
m_LightProbeUsage: 1
|
||||
m_ReflectionProbeUsage: 1
|
||||
m_RayTracingMode: 0
|
||||
m_RayTraceProcedural: 0
|
||||
m_RenderingLayerMask: 1
|
||||
m_RendererPriority: 0
|
||||
m_Materials:
|
||||
- {fileID: 2100000, guid: a97c105638bdf8b4a8650670310a4cd3, type: 2}
|
||||
m_StaticBatchInfo:
|
||||
firstSubMesh: 0
|
||||
subMeshCount: 0
|
||||
m_StaticBatchRoot: {fileID: 0}
|
||||
m_ProbeAnchor: {fileID: 0}
|
||||
m_LightProbeVolumeOverride: {fileID: 0}
|
||||
m_ScaleInLightmap: 1
|
||||
m_ReceiveGI: 1
|
||||
m_PreserveUVs: 0
|
||||
m_IgnoreNormalsForChartDetection: 0
|
||||
m_ImportantGI: 0
|
||||
m_StitchLightmapSeams: 1
|
||||
m_SelectedEditorRenderState: 0
|
||||
m_MinimumChartSize: 4
|
||||
m_AutoUVMaxDistance: 0.5
|
||||
m_AutoUVMaxAngle: 89
|
||||
m_LightmapParameters: {fileID: 0}
|
||||
m_SortingLayerID: 941243827
|
||||
m_SortingLayer: 12
|
||||
m_SortingOrder: 22
|
||||
m_Sprite: {fileID: 6748909026198420220, guid: cc12c4f35170969408e0dc663ac136b5, type: 3}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_FlipX: 0
|
||||
m_FlipY: 0
|
||||
m_DrawMode: 0
|
||||
m_Size: {x: 1.1861862, y: 1.1651652}
|
||||
m_AdaptiveModeThreshold: 0.5
|
||||
m_SpriteTileMode: 0
|
||||
m_WasSpriteAssigned: 1
|
||||
m_MaskInteraction: 0
|
||||
m_SpriteSortPoint: 0
|
||||
--- !u!1 &4305426249345888117
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 9195589738359488601}
|
||||
- component: {fileID: 5461792072102935608}
|
||||
m_Layer: 0
|
||||
m_Name: "\u601D\u7D22\u8D70\u795E"
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &9195589738359488601
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4305426249345888117}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: -4.2507505, y: 2.7462468, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 3386947052764408708}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!212 &5461792072102935608
|
||||
SpriteRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4305426249345888117}
|
||||
m_Enabled: 1
|
||||
m_CastShadows: 0
|
||||
m_ReceiveShadows: 0
|
||||
m_DynamicOccludee: 1
|
||||
m_StaticShadowCaster: 0
|
||||
m_MotionVectors: 1
|
||||
m_LightProbeUsage: 1
|
||||
m_ReflectionProbeUsage: 1
|
||||
m_RayTracingMode: 0
|
||||
m_RayTraceProcedural: 0
|
||||
m_RenderingLayerMask: 1
|
||||
m_RendererPriority: 0
|
||||
m_Materials:
|
||||
- {fileID: 2100000, guid: a97c105638bdf8b4a8650670310a4cd3, type: 2}
|
||||
m_StaticBatchInfo:
|
||||
firstSubMesh: 0
|
||||
subMeshCount: 0
|
||||
m_StaticBatchRoot: {fileID: 0}
|
||||
m_ProbeAnchor: {fileID: 0}
|
||||
m_LightProbeVolumeOverride: {fileID: 0}
|
||||
m_ScaleInLightmap: 1
|
||||
m_ReceiveGI: 1
|
||||
m_PreserveUVs: 0
|
||||
m_IgnoreNormalsForChartDetection: 0
|
||||
m_ImportantGI: 0
|
||||
m_StitchLightmapSeams: 1
|
||||
m_SelectedEditorRenderState: 0
|
||||
m_MinimumChartSize: 4
|
||||
m_AutoUVMaxDistance: 0.5
|
||||
m_AutoUVMaxAngle: 89
|
||||
m_LightmapParameters: {fileID: 0}
|
||||
m_SortingLayerID: 941243827
|
||||
m_SortingLayer: 12
|
||||
m_SortingOrder: 23
|
||||
m_Sprite: {fileID: -2654271460406167987, guid: cc12c4f35170969408e0dc663ac136b5, type: 3}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_FlipX: 0
|
||||
m_FlipY: 0
|
||||
m_DrawMode: 0
|
||||
m_Size: {x: 1.1861862, y: 1.1651652}
|
||||
m_AdaptiveModeThreshold: 0.5
|
||||
m_SpriteTileMode: 0
|
||||
m_WasSpriteAssigned: 1
|
||||
m_MaskInteraction: 0
|
||||
m_SpriteSortPoint: 0
|
||||
--- !u!1 &5033952082836730771
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 9212651823985691607}
|
||||
m_Layer: 0
|
||||
m_Name: "\u77F3\u5934_1"
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &9212651823985691607
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 5033952082836730771}
|
||||
serializedVersion: 2
|
||||
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:
|
||||
- {fileID: 7210168817883336243}
|
||||
- {fileID: 606476853448430675}
|
||||
m_Father: {fileID: 3618258948746042328}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &5400312145486651577
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 1443991180442979671}
|
||||
- component: {fileID: 4410918215961028040}
|
||||
m_Layer: 0
|
||||
m_Name: "\u7BA1\u5B50"
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &1443991180442979671
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 5400312145486651577}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: -0.88138103, y: -3.5915914, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 3682984150505563954}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!212 &4410918215961028040
|
||||
SpriteRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 5400312145486651577}
|
||||
m_Enabled: 1
|
||||
m_CastShadows: 0
|
||||
m_ReceiveShadows: 0
|
||||
m_DynamicOccludee: 1
|
||||
m_StaticShadowCaster: 0
|
||||
m_MotionVectors: 1
|
||||
m_LightProbeUsage: 1
|
||||
m_ReflectionProbeUsage: 1
|
||||
m_RayTracingMode: 0
|
||||
m_RayTraceProcedural: 0
|
||||
m_RenderingLayerMask: 1
|
||||
m_RendererPriority: 0
|
||||
m_Materials:
|
||||
- {fileID: 2100000, guid: a97c105638bdf8b4a8650670310a4cd3, type: 2}
|
||||
m_StaticBatchInfo:
|
||||
firstSubMesh: 0
|
||||
subMeshCount: 0
|
||||
m_StaticBatchRoot: {fileID: 0}
|
||||
m_ProbeAnchor: {fileID: 0}
|
||||
m_LightProbeVolumeOverride: {fileID: 0}
|
||||
m_ScaleInLightmap: 1
|
||||
m_ReceiveGI: 1
|
||||
m_PreserveUVs: 0
|
||||
m_IgnoreNormalsForChartDetection: 0
|
||||
m_ImportantGI: 0
|
||||
m_StitchLightmapSeams: 1
|
||||
m_SelectedEditorRenderState: 0
|
||||
m_MinimumChartSize: 4
|
||||
m_AutoUVMaxDistance: 0.5
|
||||
m_AutoUVMaxAngle: 89
|
||||
m_LightmapParameters: {fileID: 0}
|
||||
m_SortingLayerID: 941243827
|
||||
m_SortingLayer: 12
|
||||
m_SortingOrder: 25
|
||||
m_Sprite: {fileID: -2445908716556482365, guid: cc12c4f35170969408e0dc663ac136b5, type: 3}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_FlipX: 0
|
||||
m_FlipY: 0
|
||||
m_DrawMode: 0
|
||||
m_Size: {x: 1.3183184, y: 2.2672672}
|
||||
m_AdaptiveModeThreshold: 0.5
|
||||
m_SpriteTileMode: 0
|
||||
m_WasSpriteAssigned: 1
|
||||
m_MaskInteraction: 0
|
||||
m_SpriteSortPoint: 0
|
||||
--- !u!1 &6086619985192876823
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 7210168817883336243}
|
||||
- component: {fileID: 3225000124665837642}
|
||||
m_Layer: 0
|
||||
m_Name: "\u524D\u53F3\u624B"
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &7210168817883336243
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6086619985192876823}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: -5.978979, y: -1.3663661, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 9212651823985691607}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!212 &3225000124665837642
|
||||
SpriteRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6086619985192876823}
|
||||
m_Enabled: 1
|
||||
m_CastShadows: 0
|
||||
m_ReceiveShadows: 0
|
||||
m_DynamicOccludee: 1
|
||||
m_StaticShadowCaster: 0
|
||||
m_MotionVectors: 1
|
||||
m_LightProbeUsage: 1
|
||||
m_ReflectionProbeUsage: 1
|
||||
m_RayTracingMode: 0
|
||||
m_RayTraceProcedural: 0
|
||||
m_RenderingLayerMask: 1
|
||||
m_RendererPriority: 0
|
||||
m_Materials:
|
||||
- {fileID: 2100000, guid: a97c105638bdf8b4a8650670310a4cd3, type: 2}
|
||||
m_StaticBatchInfo:
|
||||
firstSubMesh: 0
|
||||
subMeshCount: 0
|
||||
m_StaticBatchRoot: {fileID: 0}
|
||||
m_ProbeAnchor: {fileID: 0}
|
||||
m_LightProbeVolumeOverride: {fileID: 0}
|
||||
m_ScaleInLightmap: 1
|
||||
m_ReceiveGI: 1
|
||||
m_PreserveUVs: 0
|
||||
m_IgnoreNormalsForChartDetection: 0
|
||||
m_ImportantGI: 0
|
||||
m_StitchLightmapSeams: 1
|
||||
m_SelectedEditorRenderState: 0
|
||||
m_MinimumChartSize: 4
|
||||
m_AutoUVMaxDistance: 0.5
|
||||
m_AutoUVMaxAngle: 89
|
||||
m_LightmapParameters: {fileID: 0}
|
||||
m_SortingLayerID: 941243827
|
||||
m_SortingLayer: 12
|
||||
m_SortingOrder: 21
|
||||
m_Sprite: {fileID: -5842635786262934659, guid: cc12c4f35170969408e0dc663ac136b5, type: 3}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_FlipX: 0
|
||||
m_FlipY: 0
|
||||
m_DrawMode: 0
|
||||
m_Size: {x: 1.5495496, y: 5.732733}
|
||||
m_AdaptiveModeThreshold: 0.5
|
||||
m_SpriteTileMode: 0
|
||||
m_WasSpriteAssigned: 1
|
||||
m_MaskInteraction: 0
|
||||
m_SpriteSortPoint: 0
|
||||
--- !u!1 &6199318064430830411
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 606476853448430675}
|
||||
- component: {fileID: 3738112398937258455}
|
||||
m_Layer: 0
|
||||
m_Name: "\u77F3\u5934_2"
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &606476853448430675
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6199318064430830411}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: -3.1561565, y: -0.13363314, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 9212651823985691607}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!212 &3738112398937258455
|
||||
SpriteRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6199318064430830411}
|
||||
m_Enabled: 1
|
||||
m_CastShadows: 0
|
||||
m_ReceiveShadows: 0
|
||||
m_DynamicOccludee: 1
|
||||
m_StaticShadowCaster: 0
|
||||
m_MotionVectors: 1
|
||||
m_LightProbeUsage: 1
|
||||
m_ReflectionProbeUsage: 1
|
||||
m_RayTracingMode: 0
|
||||
m_RayTraceProcedural: 0
|
||||
m_RenderingLayerMask: 1
|
||||
m_RendererPriority: 0
|
||||
m_Materials:
|
||||
- {fileID: 2100000, guid: a97c105638bdf8b4a8650670310a4cd3, type: 2}
|
||||
m_StaticBatchInfo:
|
||||
firstSubMesh: 0
|
||||
subMeshCount: 0
|
||||
m_StaticBatchRoot: {fileID: 0}
|
||||
m_ProbeAnchor: {fileID: 0}
|
||||
m_LightProbeVolumeOverride: {fileID: 0}
|
||||
m_ScaleInLightmap: 1
|
||||
m_ReceiveGI: 1
|
||||
m_PreserveUVs: 0
|
||||
m_IgnoreNormalsForChartDetection: 0
|
||||
m_ImportantGI: 0
|
||||
m_StitchLightmapSeams: 1
|
||||
m_SelectedEditorRenderState: 0
|
||||
m_MinimumChartSize: 4
|
||||
m_AutoUVMaxDistance: 0.5
|
||||
m_AutoUVMaxAngle: 89
|
||||
m_LightmapParameters: {fileID: 0}
|
||||
m_SortingLayerID: 941243827
|
||||
m_SortingLayer: 12
|
||||
m_SortingOrder: 20
|
||||
m_Sprite: {fileID: 4704569244925122851, guid: cc12c4f35170969408e0dc663ac136b5, type: 3}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_FlipX: 0
|
||||
m_FlipY: 0
|
||||
m_DrawMode: 0
|
||||
m_Size: {x: 4.810811, y: 8.744744}
|
||||
m_AdaptiveModeThreshold: 0.5
|
||||
m_SpriteTileMode: 0
|
||||
m_WasSpriteAssigned: 1
|
||||
m_MaskInteraction: 0
|
||||
m_SpriteSortPoint: 0
|
||||
--- !u!1 &6365366282280150897
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 3386947052764408708}
|
||||
m_Layer: 0
|
||||
m_Name: "\u77F3\u5934\u8868\u60C5"
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &3386947052764408708
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6365366282280150897}
|
||||
serializedVersion: 2
|
||||
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:
|
||||
- {fileID: 9195589738359488601}
|
||||
- {fileID: 4523028594629603798}
|
||||
m_Father: {fileID: 3618258948746042328}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &6420792337272424575
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 3618258948746042328}
|
||||
m_Layer: 0
|
||||
m_Name: "\u77F3\u5934\uFF08\u672A\u6B63\u5E38\u5206\u5C42\uFF09"
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &3618258948746042328
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6420792337272424575}
|
||||
serializedVersion: 2
|
||||
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:
|
||||
- {fileID: 3682984150505563954}
|
||||
- {fileID: 3386947052764408708}
|
||||
- {fileID: 9212651823985691607}
|
||||
m_Father: {fileID: 0}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &8186953359282382664
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 3682984150505563954}
|
||||
m_Layer: 0
|
||||
m_Name: "\u77F3\u5934\u6362\u6DB2\u8BBE\u5907"
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &3682984150505563954
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8186953359282382664}
|
||||
serializedVersion: 2
|
||||
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:
|
||||
- {fileID: 1443991180442979671}
|
||||
- {fileID: 2953156665453534949}
|
||||
m_Father: {fileID: 3618258948746042328}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d9503fd9e2f6e49428c63c5fda24a682
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -267,7 +267,7 @@ Material:
|
||||
- _FrozenHighlightDensity: 1
|
||||
- _FrozenSnowContrast: 1
|
||||
- _FrozenSnowDensity: 0.25
|
||||
- _FullAlphaDissolveFade: 0
|
||||
- _FullAlphaDissolveFade: 1
|
||||
- _FullAlphaDissolveWidth: 0.5
|
||||
- _FullDistortionFade: 1
|
||||
- _FullGlowDissolveFade: 0.5
|
||||
|
||||
@@ -0,0 +1,297 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!1 &2840978318626887697
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 567805659929635752}
|
||||
- component: {fileID: 817690707555423031}
|
||||
m_Layer: 0
|
||||
m_Name: "\u6C34\u5E73\u56FE\u7247"
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &567805659929635752
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2840978318626887697}
|
||||
serializedVersion: 2
|
||||
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: 1411168873809891308}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!212 &817690707555423031
|
||||
SpriteRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2840978318626887697}
|
||||
m_Enabled: 1
|
||||
m_CastShadows: 0
|
||||
m_ReceiveShadows: 0
|
||||
m_DynamicOccludee: 1
|
||||
m_StaticShadowCaster: 0
|
||||
m_MotionVectors: 1
|
||||
m_LightProbeUsage: 1
|
||||
m_ReflectionProbeUsage: 1
|
||||
m_RayTracingMode: 0
|
||||
m_RayTraceProcedural: 0
|
||||
m_RenderingLayerMask: 1
|
||||
m_RendererPriority: 0
|
||||
m_Materials:
|
||||
- {fileID: 2100000, guid: a97c105638bdf8b4a8650670310a4cd3, type: 2}
|
||||
m_StaticBatchInfo:
|
||||
firstSubMesh: 0
|
||||
subMeshCount: 0
|
||||
m_StaticBatchRoot: {fileID: 0}
|
||||
m_ProbeAnchor: {fileID: 0}
|
||||
m_LightProbeVolumeOverride: {fileID: 0}
|
||||
m_ScaleInLightmap: 1
|
||||
m_ReceiveGI: 1
|
||||
m_PreserveUVs: 0
|
||||
m_IgnoreNormalsForChartDetection: 0
|
||||
m_ImportantGI: 0
|
||||
m_StitchLightmapSeams: 1
|
||||
m_SelectedEditorRenderState: 0
|
||||
m_MinimumChartSize: 4
|
||||
m_AutoUVMaxDistance: 0.5
|
||||
m_AutoUVMaxAngle: 89
|
||||
m_LightmapParameters: {fileID: 0}
|
||||
m_SortingLayerID: 941243827
|
||||
m_SortingLayer: 13
|
||||
m_SortingOrder: 80
|
||||
m_Sprite: {fileID: -6412422441114701899, guid: 8219c076aff3b6645ba4a60beb8e578b, type: 3}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_FlipX: 0
|
||||
m_FlipY: 0
|
||||
m_DrawMode: 0
|
||||
m_Size: {x: 1, y: 1}
|
||||
m_AdaptiveModeThreshold: 0.5
|
||||
m_SpriteTileMode: 0
|
||||
m_WasSpriteAssigned: 1
|
||||
m_MaskInteraction: 1
|
||||
m_SpriteSortPoint: 0
|
||||
--- !u!1 &4795680994712464802
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 8724711148914098161}
|
||||
- component: {fileID: 5889512415423883134}
|
||||
m_Layer: 0
|
||||
m_Name: "\u7AD6\u7ACB\u56FE\u7247"
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &8724711148914098161
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4795680994712464802}
|
||||
serializedVersion: 2
|
||||
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: 1411168873809891308}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!212 &5889512415423883134
|
||||
SpriteRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4795680994712464802}
|
||||
m_Enabled: 1
|
||||
m_CastShadows: 0
|
||||
m_ReceiveShadows: 0
|
||||
m_DynamicOccludee: 1
|
||||
m_StaticShadowCaster: 0
|
||||
m_MotionVectors: 1
|
||||
m_LightProbeUsage: 1
|
||||
m_ReflectionProbeUsage: 1
|
||||
m_RayTracingMode: 0
|
||||
m_RayTraceProcedural: 0
|
||||
m_RenderingLayerMask: 1
|
||||
m_RendererPriority: 0
|
||||
m_Materials:
|
||||
- {fileID: 2100000, guid: a97c105638bdf8b4a8650670310a4cd3, type: 2}
|
||||
m_StaticBatchInfo:
|
||||
firstSubMesh: 0
|
||||
subMeshCount: 0
|
||||
m_StaticBatchRoot: {fileID: 0}
|
||||
m_ProbeAnchor: {fileID: 0}
|
||||
m_LightProbeVolumeOverride: {fileID: 0}
|
||||
m_ScaleInLightmap: 1
|
||||
m_ReceiveGI: 1
|
||||
m_PreserveUVs: 0
|
||||
m_IgnoreNormalsForChartDetection: 0
|
||||
m_ImportantGI: 0
|
||||
m_StitchLightmapSeams: 1
|
||||
m_SelectedEditorRenderState: 0
|
||||
m_MinimumChartSize: 4
|
||||
m_AutoUVMaxDistance: 0.5
|
||||
m_AutoUVMaxAngle: 89
|
||||
m_LightmapParameters: {fileID: 0}
|
||||
m_SortingLayerID: 941243827
|
||||
m_SortingLayer: 13
|
||||
m_SortingOrder: 81
|
||||
m_Sprite: {fileID: -6948434014169429400, guid: 8219c076aff3b6645ba4a60beb8e578b, type: 3}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_FlipX: 0
|
||||
m_FlipY: 0
|
||||
m_DrawMode: 0
|
||||
m_Size: {x: 1, y: 1}
|
||||
m_AdaptiveModeThreshold: 0.5
|
||||
m_SpriteTileMode: 0
|
||||
m_WasSpriteAssigned: 1
|
||||
m_MaskInteraction: 1
|
||||
m_SpriteSortPoint: 0
|
||||
--- !u!1 &8845394260969947391
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 1411168873809891308}
|
||||
- component: {fileID: 5019418963173552022}
|
||||
- component: {fileID: 207758920267391891}
|
||||
- component: {fileID: 6048524599704252402}
|
||||
m_Layer: 0
|
||||
m_Name: Bottle
|
||||
m_TagString: Moveable
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &1411168873809891308
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8845394260969947391}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0.02, y: -0.02, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children:
|
||||
- {fileID: 8724711148914098161}
|
||||
- {fileID: 567805659929635752}
|
||||
m_Father: {fileID: 0}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!61 &5019418963173552022
|
||||
BoxCollider2D:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8845394260969947391}
|
||||
m_Enabled: 1
|
||||
m_Density: 1
|
||||
m_Material: {fileID: 0}
|
||||
m_IncludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_ExcludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_LayerOverridePriority: 0
|
||||
m_ForceSendLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967295
|
||||
m_ForceReceiveLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967295
|
||||
m_ContactCaptureLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967295
|
||||
m_CallbackLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967295
|
||||
m_IsTrigger: 0
|
||||
m_UsedByEffector: 0
|
||||
m_UsedByComposite: 0
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_SpriteTilingProperty:
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
pivot: {x: 0, y: 0}
|
||||
oldSize: {x: 0, y: 0}
|
||||
newSize: {x: 0, y: 0}
|
||||
adaptiveTilingThreshold: 0
|
||||
drawMode: 0
|
||||
adaptiveTiling: 0
|
||||
m_AutoTiling: 0
|
||||
serializedVersion: 2
|
||||
m_Size: {x: 1, y: 3.11}
|
||||
m_EdgeRadius: 0
|
||||
--- !u!114 &207758920267391891
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8845394260969947391}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 6474997a226747428064c19bfb501a0f, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
data:
|
||||
name:
|
||||
description:
|
||||
verticalSprite:
|
||||
horizontalSprite:
|
||||
curSnapSlot: {fileID: 0}
|
||||
targetSnapSlot: {fileID: 0}
|
||||
--- !u!50 &6048524599704252402
|
||||
Rigidbody2D:
|
||||
serializedVersion: 4
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8845394260969947391}
|
||||
m_BodyType: 0
|
||||
m_Simulated: 1
|
||||
m_UseFullKinematicContacts: 0
|
||||
m_UseAutoMass: 0
|
||||
m_Mass: 1
|
||||
m_LinearDrag: 0
|
||||
m_AngularDrag: 0.05
|
||||
m_GravityScale: 0
|
||||
m_Material: {fileID: 0}
|
||||
m_IncludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_ExcludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_Interpolate: 0
|
||||
m_SleepingMode: 1
|
||||
m_CollisionDetection: 0
|
||||
m_Constraints: 4
|
||||
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8ebd5278515e3ae4a965966ca9e512a5
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,18 +0,0 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 157431981b8a721458e6706c374a3867, type: 3}
|
||||
m_Name: FirstSO
|
||||
m_EditorClassIdentifier:
|
||||
fixSceneReference: []
|
||||
nextScene: {fileID: 0}
|
||||
yarnProject: {fileID: 7545569452688597077, guid: 710c7d6905637e84580697a989567180, type: 3}
|
||||
isEndOfDay: 1
|
||||
+4110
-2046
File diff suppressed because it is too large
Load Diff
@@ -11,7 +11,7 @@ namespace AibisDream
|
||||
private void Awake()
|
||||
{
|
||||
FixSystemCenter.SystemDic.Register(this);
|
||||
character = transform.Find("Character").GetComponent<CharacterManager>();
|
||||
// character = transform.Find("Character").GetComponent<CharacterManager>();
|
||||
}
|
||||
|
||||
public IEnumerator Indoor(float duration)
|
||||
|
||||
@@ -0,0 +1,63 @@
|
||||
using System.Collections;
|
||||
using DG.Tweening;
|
||||
using UnityEngine;
|
||||
|
||||
namespace AibisDream.FixSystem
|
||||
{
|
||||
public class BottleShelf : MonoBehaviour
|
||||
{
|
||||
[Header("整体位置")]
|
||||
public Vector3 showPos;
|
||||
public Vector3 hidePos;
|
||||
|
||||
[Header("动画时间")]
|
||||
public float showDuration;
|
||||
|
||||
#region 引用
|
||||
|
||||
private BottleSlot[] _bottleSlots;
|
||||
|
||||
#endregion
|
||||
|
||||
private void Awake()
|
||||
{
|
||||
gameObject.SetActive(false);
|
||||
transform.localPosition = hidePos;
|
||||
|
||||
InitRefs();
|
||||
}
|
||||
|
||||
private void InitRefs()
|
||||
{
|
||||
_bottleSlots = GetComponentsInChildren<BottleSlot>();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 显示泵机UI
|
||||
/// </summary>
|
||||
/// <returns>显示</returns>
|
||||
public IEnumerator Show()
|
||||
{
|
||||
gameObject.SetActive(true);
|
||||
Tween tween = transform.DOLocalMove(showPos, showDuration);
|
||||
while (tween.active && !tween.IsComplete())
|
||||
{
|
||||
yield return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 隐藏泵机UI
|
||||
/// </summary>
|
||||
/// <returns>隐藏</returns>
|
||||
public IEnumerator Hide()
|
||||
{
|
||||
Tween tween = transform.DOLocalMove(hidePos, showDuration);
|
||||
while (tween.active && !tween.IsComplete())
|
||||
{
|
||||
yield return null;
|
||||
}
|
||||
gameObject.SetActive(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6796b547c41a4f95b37dd869332fa06b
|
||||
timeCreated: 1734711369
|
||||
@@ -1,44 +1,79 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace AibisDream
|
||||
namespace AibisDream.FixSystem
|
||||
{
|
||||
[RequireComponent(typeof(Collider2D))]
|
||||
public class BottleSlot : MonoBehaviour
|
||||
{
|
||||
private CoolingMachineViewer _coolingMachine;
|
||||
public event Action<CoolingBottle> InsertSlotEvent;
|
||||
public CoolingBottleData initBottleData;
|
||||
|
||||
private void Awake()
|
||||
private GameObject _bottlePrefab;
|
||||
private bool _inShelf;
|
||||
|
||||
private void Start()
|
||||
{
|
||||
InitComponentRefs();
|
||||
InitRefs();
|
||||
InitBottle();
|
||||
}
|
||||
|
||||
private void InitComponentRefs()
|
||||
private void InitRefs()
|
||||
{
|
||||
_coolingMachine = GetComponentInParent<CoolingMachineViewer>();
|
||||
var shelf = GetComponentInParent<BottleShelf>();
|
||||
// 根据在瓶架上还是机器中确定操作
|
||||
_inShelf = shelf != null;
|
||||
|
||||
_bottlePrefab = Resources.Load<GameObject>("Prefabs/Fix/Bottle");
|
||||
}
|
||||
|
||||
private void InitBottle()
|
||||
{
|
||||
if (string.IsNullOrEmpty(initBottleData.name)) return;
|
||||
|
||||
var newBottle = Instantiate(_bottlePrefab, transform).GetComponent<CoolingBottle>();
|
||||
// 加载瓶子数据
|
||||
newBottle.Load(initBottleData);
|
||||
newBottle.curSnapSlot = this;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 与瓶子发生碰撞时
|
||||
/// </summary>
|
||||
/// <param name="other"></param>
|
||||
private void OnTriggerEnter2D(Collider2D other)
|
||||
{
|
||||
if (_coolingMachine.isLocked) return;
|
||||
|
||||
Debug.Log("Enter: " + other.gameObject.name);
|
||||
// 尝试获取瓶子
|
||||
if (other.gameObject.TryGetComponent<CoolingBottle>(out var bottle))
|
||||
{
|
||||
// 进入时只给吸附标记,松手才吸附
|
||||
bottle.isSnapped = true;
|
||||
bottle.targetSnapSlot = this;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 瓶子离开时
|
||||
/// </summary>
|
||||
/// <param name="other"></param>
|
||||
private void OnTriggerExit2D(Collider2D other)
|
||||
{
|
||||
if (_coolingMachine.isLocked) return;
|
||||
|
||||
Debug.Log("Exit: " + other.gameObject.name);
|
||||
// 尝试获取瓶子
|
||||
if (other.gameObject.TryGetComponent<CoolingBottle>(out var bottle))
|
||||
{
|
||||
// 离开时直接触发拔出逻辑,不等松手
|
||||
bottle.isSnapped = false;
|
||||
// 拔出
|
||||
_coolingMachine.MoveOutBottle();
|
||||
bottle.targetSnapSlot = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 插入时触发
|
||||
/// </summary>
|
||||
/// <param name="coolingBottle"></param>
|
||||
public void InsertSlot(CoolingBottle coolingBottle)
|
||||
{
|
||||
coolingBottle.transform.parent = transform;
|
||||
coolingBottle.SwitchColliderSize(_inShelf);
|
||||
InsertSlotEvent?.Invoke(coolingBottle);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,11 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: bdcb57f53aa757b45a44803a2441d888
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
fileFormatVersion: 2
|
||||
guid: 67ce5499de014b3aae82bf1db274b14b
|
||||
timeCreated: 1734872735
|
||||
@@ -1,102 +1,110 @@
|
||||
using AibisDream.Framework;
|
||||
using System;
|
||||
using AibisDream.Framework;
|
||||
using DG.Tweening;
|
||||
using UnityEngine;
|
||||
|
||||
namespace AibisDream
|
||||
namespace AibisDream.FixSystem
|
||||
{
|
||||
[RequireComponent(typeof(Collider2D))]
|
||||
public class CoolingBottle : MonoBehaviour, IMoveable
|
||||
{
|
||||
public CoolingMachineViewer coolingMachine;
|
||||
private Transform _mask;
|
||||
private Rigidbody2D _rb;
|
||||
private const float SnapMoveTime = 0.3f;
|
||||
private static readonly Vector2 VerticalBox = new(1, 3.11f);
|
||||
private static readonly Vector2 HorizontalBox = new(4.7f, 1.65f);
|
||||
|
||||
private static readonly Vector3 UpPos = new(0, 1.86f, 0);
|
||||
private static readonly Vector3 DownPos = Vector3.zero;
|
||||
public CoolingBottleData data;
|
||||
|
||||
public bool isSnapped;
|
||||
public bool isInMachine;
|
||||
public bool isLocked;
|
||||
|
||||
public bool isEmpty;
|
||||
public bool IsBlock { get; }
|
||||
#region 引用
|
||||
|
||||
private BoxCollider2D _collider;
|
||||
|
||||
private SpriteRenderer _verticalSprite;
|
||||
private SpriteRenderer _horizontalSprite;
|
||||
|
||||
public BottleSlot curSnapSlot;
|
||||
public BottleSlot targetSnapSlot;
|
||||
|
||||
#endregion
|
||||
|
||||
private void Awake()
|
||||
{
|
||||
InitComponentRefs();
|
||||
InitRefs();
|
||||
}
|
||||
|
||||
private void InitComponentRefs()
|
||||
private void InitRefs()
|
||||
{
|
||||
_rb = GetComponent<Rigidbody2D>();
|
||||
_mask = transform.Find("Mask");
|
||||
coolingMachine = FindObjectOfType<CoolingMachineViewer>();
|
||||
_collider = GetComponent<BoxCollider2D>();
|
||||
_collider.size = VerticalBox;
|
||||
|
||||
_mask.localPosition = isEmpty ? DownPos : UpPos;
|
||||
_verticalSprite = transform.Find("竖立图片").GetComponent<SpriteRenderer>();
|
||||
_horizontalSprite = transform.Find("水平图片").GetComponent<SpriteRenderer>();
|
||||
}
|
||||
|
||||
public void LiquidDown(float duration)
|
||||
#region
|
||||
|
||||
public void LiquidDown()
|
||||
{
|
||||
var targetPos = transform.parent.TransformPoint(DownPos);
|
||||
_mask.transform.DOMove(targetPos, duration).OnComplete(() => isEmpty = true);
|
||||
}
|
||||
|
||||
public void LiquidUp(float duration)
|
||||
public void LiquidUp()
|
||||
{
|
||||
var targetPos = transform.parent.TransformPoint(UpPos);
|
||||
_mask.transform.DOMove(targetPos, duration).OnComplete(() => isEmpty = false);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region 移动逻辑
|
||||
|
||||
public bool IsBlock { get; set; }
|
||||
|
||||
public void StartMove()
|
||||
{
|
||||
}
|
||||
|
||||
public void Move(Vector2 mousePos)
|
||||
{
|
||||
// 锁定后无法移动
|
||||
if (isLocked) return;
|
||||
|
||||
_rb.MovePosition(mousePos);
|
||||
transform.position = mousePos;
|
||||
}
|
||||
|
||||
public void StopMove()
|
||||
{
|
||||
// 松手时若是已吸附,就触发插入逻辑
|
||||
if (isSnapped) coolingMachine.InsertBottle(this);
|
||||
if (targetSnapSlot)
|
||||
{
|
||||
curSnapSlot = targetSnapSlot;
|
||||
}
|
||||
|
||||
targetSnapSlot = null;
|
||||
|
||||
// 吸附到目标位置
|
||||
transform.DOMove(curSnapSlot.transform.position, SnapMoveTime);
|
||||
curSnapSlot.InsertSlot(this);
|
||||
// TODO 停止描边
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 松手后吸附至某个位置
|
||||
/// 切换碰撞箱形状
|
||||
/// </summary>
|
||||
/// <param name="snapPos">吸附点位</param>
|
||||
public void Snap(Vector3 snapPos)
|
||||
/// <param name="isVertical">是否水平</param>
|
||||
public void SwitchColliderSize(bool isVertical)
|
||||
{
|
||||
// 吸附至指定位置
|
||||
transform.position = snapPos;
|
||||
// 停用重力
|
||||
_rb.gravityScale = 0;
|
||||
// 瓶子进入机器
|
||||
isInMachine = true;
|
||||
_collider.size = isVertical ? VerticalBox : HorizontalBox;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 离开指定位置就停止吸附
|
||||
/// </summary>
|
||||
public void Unsnap()
|
||||
{
|
||||
// 重新启用重力
|
||||
_rb.gravityScale = 1;
|
||||
// 瓶子不在机器中
|
||||
isInMachine = false;
|
||||
}
|
||||
#endregion
|
||||
|
||||
public void Lock()
|
||||
public void Load(CoolingBottleData targetData)
|
||||
{
|
||||
isLocked = true;
|
||||
}
|
||||
|
||||
public void Unlock()
|
||||
{
|
||||
isLocked = false;
|
||||
data = targetData;
|
||||
_verticalSprite.sprite = ResourceKit.LoadSpriteFromPsd($"Art/Fix/Cooling/冷却系统/{data.verticalSprite}");
|
||||
_horizontalSprite.sprite = ResourceKit.LoadSpriteFromPsd($"Art/Fix/Cooling/冷却系统/{data.horizontalSprite}");
|
||||
}
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
public struct CoolingBottleData
|
||||
{
|
||||
public string name;
|
||||
public string description;
|
||||
public string verticalSprite;
|
||||
public string horizontalSprite;
|
||||
}
|
||||
}
|
||||
@@ -1,3 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2853398a0a3c4f888658abdaad9470b6
|
||||
timeCreated: 1733238235
|
||||
guid: 6474997a226747428064c19bfb501a0f
|
||||
timeCreated: 1734870985
|
||||
@@ -1,165 +0,0 @@
|
||||
using DG.Tweening;
|
||||
using UnityEngine;
|
||||
|
||||
namespace AibisDream
|
||||
{
|
||||
public class CoolingMachineViewer : MonoBehaviour, ICoolingMachine
|
||||
{
|
||||
[Header("引用")] public GameObject bottleSlot;
|
||||
public CoolingBottle bottle;
|
||||
public LockSlider lockSlider;
|
||||
public Transform pumpHead;
|
||||
|
||||
private SpriteButton _button;
|
||||
|
||||
[Header("参数")] public float pumpDuration = 3f;
|
||||
public float resetDuration = 0.5f;
|
||||
public float pumpHeadUpY;
|
||||
public float pumpHeadDownY;
|
||||
|
||||
#region 状态
|
||||
|
||||
[Header("状态")] public bool isMachineEmpty;
|
||||
public bool isLocked;
|
||||
public bool inLiquidChange;
|
||||
|
||||
#endregion
|
||||
|
||||
#region 对外暴露
|
||||
|
||||
public void LinkRobot()
|
||||
{
|
||||
// TODO 这里是应该ta来控制吗?存疑
|
||||
isMachineEmpty = true;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 泵出冷却液
|
||||
/// </summary>
|
||||
public void PumpCooling()
|
||||
{
|
||||
inLiquidChange = true;
|
||||
// 液面上升
|
||||
bottle.LiquidUp(pumpDuration);
|
||||
// 泵头下降
|
||||
var sq = GenePumpHeadAnime();
|
||||
sq.OnComplete(() =>
|
||||
{
|
||||
inLiquidChange = false;
|
||||
isMachineEmpty = false;
|
||||
});
|
||||
}
|
||||
|
||||
public void UnlockBottle()
|
||||
{
|
||||
// 动画效果拉杆处理了
|
||||
// 触发锁定逻辑
|
||||
isMachineEmpty = false;
|
||||
isLocked = false;
|
||||
bottle?.Unlock();
|
||||
lockSlider.DisableHook();
|
||||
}
|
||||
|
||||
public void MoveOutBottle()
|
||||
{
|
||||
if (bottle == null) return;
|
||||
// 瓶子置空
|
||||
bottle.transform.parent = null;
|
||||
// 停止吸附
|
||||
bottle?.Unsnap();
|
||||
}
|
||||
|
||||
public void InsertBottle(CoolingBottle newBottle)
|
||||
{
|
||||
// 改变瓶子归属
|
||||
newBottle.transform.parent = bottleSlot.transform;
|
||||
bottle = newBottle;
|
||||
// 插入瓶子
|
||||
bottle.Snap(bottleSlot.transform.position);
|
||||
}
|
||||
|
||||
public void LockBottle()
|
||||
{
|
||||
// 动画效果在拉杆的地方就处理了
|
||||
// 触发锁定逻辑
|
||||
isMachineEmpty = !bottle || bottle.isEmpty;
|
||||
isLocked = true;
|
||||
bottle?.Lock();
|
||||
// 如果当前没有瓶子,就打开卡扣碰撞
|
||||
if (!bottle) lockSlider.EnableHook();
|
||||
}
|
||||
|
||||
public void InjectCool()
|
||||
{
|
||||
inLiquidChange = true;
|
||||
// 泵头下降
|
||||
var sq = GenePumpHeadAnime();
|
||||
sq.OnComplete(() =>
|
||||
{
|
||||
inLiquidChange = false;
|
||||
isMachineEmpty = true;
|
||||
});
|
||||
// 液面上升
|
||||
bottle.LiquidDown(pumpDuration);
|
||||
}
|
||||
|
||||
public void UnlinkRobot()
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
}
|
||||
|
||||
public bool CanPump()
|
||||
{
|
||||
if (inLiquidChange)
|
||||
{
|
||||
Debug.Log("泵机正在工作");
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!isLocked)
|
||||
{
|
||||
Debug.Log("卡扣尚未锁定");
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!bottle)
|
||||
{
|
||||
Debug.Log("没有瓶子");
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private Sequence GenePumpHeadAnime()
|
||||
{
|
||||
var sequence = DOTween.Sequence();
|
||||
// 下降动画
|
||||
var pumpDownPos = new Vector3(pumpHead.position.x, pumpHeadDownY + transform.position.y,
|
||||
pumpHead.position.z);
|
||||
sequence.Append(pumpHead.DOMove(pumpDownPos, pumpDuration));
|
||||
// 上升动画
|
||||
var pumpUpPos = new Vector3(pumpHead.position.x, pumpHeadUpY + transform.position.y, pumpHead.position.z);
|
||||
sequence.Append(pumpHead.DOMove(pumpUpPos, resetDuration));
|
||||
|
||||
return sequence;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 冷却系统有什么样的行为?
|
||||
/// </summary>
|
||||
public interface ICoolingMachine
|
||||
{
|
||||
void LinkRobot();
|
||||
void PumpCooling();
|
||||
void UnlockBottle();
|
||||
void MoveOutBottle();
|
||||
void InsertBottle(CoolingBottle bottle);
|
||||
void LockBottle();
|
||||
void InjectCool();
|
||||
void UnlinkRobot();
|
||||
}
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ee76855b985a9f24da38f7dca33c4bfc
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,130 @@
|
||||
using System.Collections;
|
||||
using AibisDream.FixSystem;
|
||||
using UnityEngine;
|
||||
|
||||
namespace AibisDream.Framework
|
||||
{
|
||||
public class CoolingSystem : MonoBehaviour, ICoolingSystem
|
||||
{
|
||||
#region 引用
|
||||
|
||||
private PumpController _pumpUI;
|
||||
private BottleShelf _bottomUI;
|
||||
private TubeController _tubeUI;
|
||||
|
||||
#endregion
|
||||
|
||||
#region 状态
|
||||
|
||||
public bool isLocked;
|
||||
|
||||
#endregion
|
||||
|
||||
public CoolingBottle curBottle;
|
||||
|
||||
private void Awake()
|
||||
{
|
||||
FixSystemCenter.SystemDic.Register(this);
|
||||
InitRefs();
|
||||
}
|
||||
|
||||
private void InitRefs()
|
||||
{
|
||||
_pumpUI = transform.Find("Pump Part").GetComponent<PumpController>();
|
||||
_bottomUI = transform.Find("Bottom Part").GetComponent<BottleShelf>();
|
||||
_tubeUI = transform.Find("Tube Part").GetComponent<TubeController>();
|
||||
}
|
||||
|
||||
#region 对外开放
|
||||
|
||||
public IEnumerator OpenCoolingSystem()
|
||||
{
|
||||
yield return _pumpUI.Show();
|
||||
}
|
||||
|
||||
public IEnumerator LinkTube()
|
||||
{
|
||||
// 播放插线动画,完成后自动关闭
|
||||
// 立绘变化待补充
|
||||
yield return _tubeUI.PlayLinkAnime();
|
||||
}
|
||||
|
||||
public IEnumerator OpenBottleUI()
|
||||
{
|
||||
yield return _bottomUI.Show();
|
||||
}
|
||||
|
||||
public void Unlock()
|
||||
{
|
||||
isLocked = false;
|
||||
if (curBottle)
|
||||
{
|
||||
curBottle.IsBlock = false;
|
||||
}
|
||||
_pumpUI.OpenBuckle();
|
||||
}
|
||||
|
||||
public void InsertBottle(CoolingBottle bottle)
|
||||
{
|
||||
// 设置为当前Bottle
|
||||
curBottle = bottle;
|
||||
}
|
||||
|
||||
public void Lock()
|
||||
{
|
||||
isLocked = true;
|
||||
// 已锁定的瓶子禁止使用
|
||||
if (curBottle)
|
||||
{
|
||||
curBottle.IsBlock = true;
|
||||
}
|
||||
_pumpUI.CloseBuckle();
|
||||
}
|
||||
|
||||
public void StartPump()
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
}
|
||||
|
||||
public void CloseBottleUI()
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
}
|
||||
|
||||
public void CloseCoolingSystem()
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
}
|
||||
|
||||
public void PullOutTube()
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
|
||||
public interface ICoolingSystem
|
||||
{
|
||||
// 打开冷却系统UI
|
||||
public IEnumerator OpenCoolingSystem();
|
||||
// 插管
|
||||
public IEnumerator LinkTube();
|
||||
// 打开左侧冷却液界面
|
||||
public IEnumerator OpenBottleUI();
|
||||
// 打开卡扣
|
||||
public void Unlock();
|
||||
// 插入冷却液瓶子
|
||||
public void InsertBottle(CoolingBottle bottle);
|
||||
// 关闭卡扣
|
||||
public void Lock();
|
||||
// 点击泵机开关
|
||||
public void StartPump();
|
||||
// 冷却液架收回
|
||||
public void CloseBottleUI();
|
||||
// 冷却系统UI收回
|
||||
public void CloseCoolingSystem();
|
||||
// 拔管
|
||||
public void PullOutTube();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5eec820fd32945b3bfa49381d6e90890
|
||||
timeCreated: 1734682124
|
||||
@@ -1,91 +0,0 @@
|
||||
using AibisDream.Framework;
|
||||
using UnityEngine;
|
||||
|
||||
namespace AibisDream
|
||||
{
|
||||
public class LockSlider : MonoBehaviour, IMoveable
|
||||
{
|
||||
private Transform _drawBar;
|
||||
private Transform _hook;
|
||||
private CoolingMachineViewer _coolingMachine;
|
||||
private bool _isLocked;
|
||||
|
||||
private float Value
|
||||
{
|
||||
set
|
||||
{
|
||||
var sliderY = value * (offPos.position.y - onPos.position.y) + onPos.position.y;
|
||||
transform.position = new Vector3(_drawBar.position.x, sliderY, _drawBar.position.z);
|
||||
var hookY = value * (lockOffPos.position.y - lockOnPos.position.y) + lockOnPos.position.y;
|
||||
_hook.position = new Vector3(_hook.position.x, hookY, _hook.position.z);
|
||||
}
|
||||
}
|
||||
|
||||
public Transform onPos;
|
||||
public Transform offPos;
|
||||
|
||||
public Transform lockOnPos;
|
||||
public Transform lockOffPos;
|
||||
|
||||
public bool IsBlock => _coolingMachine.inLiquidChange;
|
||||
|
||||
private void Awake()
|
||||
{
|
||||
_coolingMachine = GetComponentInParent<CoolingMachineViewer>();
|
||||
_drawBar = transform;
|
||||
_hook = transform.parent.Find("活动卡扣");
|
||||
_isLocked = true;
|
||||
}
|
||||
|
||||
public void StartMove()
|
||||
{
|
||||
}
|
||||
|
||||
public void Move(Vector2 mousePos)
|
||||
{
|
||||
var curY = Mathf.Clamp(mousePos.y, onPos.position.y, offPos.position.y);
|
||||
|
||||
Value = (curY - onPos.position.y) / (offPos.position.y - onPos.position.y);
|
||||
}
|
||||
|
||||
public void StopMove()
|
||||
{
|
||||
var curValue = (_drawBar.position.y - onPos.position.y) / (offPos.position.y - onPos.position.y);
|
||||
// 大于0.8或者小于0.2则切换状态,否则弹回去
|
||||
_isLocked = curValue switch
|
||||
{
|
||||
// 移动停止时尝试吸附
|
||||
>= 0.8f => false,
|
||||
<= 0.2f => true,
|
||||
_ => _isLocked
|
||||
};
|
||||
|
||||
Value = _isLocked ? 0 : 1;
|
||||
// 判定开闭锁
|
||||
if (_isLocked)
|
||||
{
|
||||
_coolingMachine.LockBottle();
|
||||
}
|
||||
else
|
||||
{
|
||||
_coolingMachine.UnlockBottle();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 打开卡扣碰撞
|
||||
/// </summary>
|
||||
public void EnableHook()
|
||||
{
|
||||
_hook.GetComponent<Collider2D>().enabled = true;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 关闭卡扣碰撞
|
||||
/// </summary>
|
||||
public void DisableHook()
|
||||
{
|
||||
_hook.GetComponent<Collider2D>().enabled = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9f15b93b1e22b11459ca121bedee9ba7
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,47 +0,0 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace AibisDream
|
||||
{
|
||||
public class PumpButton : MonoBehaviour
|
||||
{
|
||||
private SpriteButton _button;
|
||||
private CoolingMachineViewer _coolingMachine;
|
||||
|
||||
private void Awake()
|
||||
{
|
||||
_coolingMachine = GetComponentInParent<CoolingMachineViewer>();
|
||||
}
|
||||
|
||||
private void OnEnable()
|
||||
{
|
||||
_button = new SpriteButton(gameObject);
|
||||
_button.OnButtonDown += OnButtonDown;
|
||||
}
|
||||
|
||||
private void OnDisable()
|
||||
{
|
||||
_button.OnButtonDown -= OnButtonDown;
|
||||
_button = null;
|
||||
}
|
||||
|
||||
private void Update()
|
||||
{
|
||||
_button.CheckButtonClick();
|
||||
}
|
||||
|
||||
private void OnButtonDown()
|
||||
{
|
||||
if (!_coolingMachine.CanPump()) return;
|
||||
|
||||
if (_coolingMachine.isMachineEmpty)
|
||||
{
|
||||
_coolingMachine.PumpCooling();
|
||||
}
|
||||
else
|
||||
{
|
||||
Debug.Log("in");
|
||||
_coolingMachine.InjectCool();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c1098201b6934115ac7c06afa1564dab
|
||||
timeCreated: 1733580710
|
||||
@@ -0,0 +1,140 @@
|
||||
using System.Collections;
|
||||
using AibisDream.Framework;
|
||||
using DG.Tweening;
|
||||
using UnityEngine;
|
||||
|
||||
namespace AibisDream.FixSystem
|
||||
{
|
||||
public class PumpController : MonoBehaviour
|
||||
{
|
||||
[Header("整体位置")]
|
||||
public Vector3 hidePos;
|
||||
public Vector3 showPos;
|
||||
|
||||
public Vector3 topBuckleUnlockPos;
|
||||
public Vector3 leftBuckleUnlockPos;
|
||||
public Vector3 rightBuckleUnlockPos;
|
||||
public Vector3 topBuckleLockPos;
|
||||
public Vector3 leftBuckleLockPos;
|
||||
public Vector3 rightBuckleLockPos;
|
||||
|
||||
[Header("移动用时")]
|
||||
public float showDuration;
|
||||
public float buckleDuration;
|
||||
|
||||
#region 组件索引
|
||||
|
||||
private CoolingSystem _coolingSystem;
|
||||
|
||||
private SpriteButton _lockButton;
|
||||
private SpriteButton _pumpButton;
|
||||
private Transform _topBuckle;
|
||||
private Transform _leftBuckle;
|
||||
private Transform _rightBuckle;
|
||||
|
||||
private BottleSlot _bottleSlot;
|
||||
|
||||
#endregion
|
||||
|
||||
private void Awake()
|
||||
{
|
||||
InitRefs();
|
||||
// 隐藏
|
||||
gameObject.SetActive(false);
|
||||
transform.localPosition = hidePos;
|
||||
}
|
||||
|
||||
private void InitRefs()
|
||||
{
|
||||
// 初始化引用
|
||||
_coolingSystem = GetComponentInParent<CoolingSystem>();
|
||||
|
||||
var buckleGroup = transform.Find("按键卡扣组");
|
||||
|
||||
_lockButton = new SpriteButton(buckleGroup.Find("Lock Button").gameObject);
|
||||
_pumpButton = new SpriteButton(buckleGroup.Find("Pump Button").gameObject);
|
||||
_lockButton.OnButtonDown += LockButtonDown;
|
||||
_pumpButton.OnButtonDown += PumpButtonDown;
|
||||
|
||||
_topBuckle = buckleGroup.Find("上下卡扣");
|
||||
_leftBuckle = buckleGroup.Find("左卡扣");
|
||||
_rightBuckle = buckleGroup.Find("右卡扣");
|
||||
|
||||
// _bottleSlot = GetComponentInChildren<BottleSlot>();
|
||||
// _bottleSlot?.InsertSlotEvent += _coolingSystem.InsertBottle;
|
||||
}
|
||||
|
||||
#region 按钮
|
||||
|
||||
private void LockButtonDown()
|
||||
{
|
||||
if (_coolingSystem.isLocked)
|
||||
{
|
||||
_coolingSystem.Unlock();
|
||||
}
|
||||
else
|
||||
{
|
||||
_coolingSystem.Lock();
|
||||
}
|
||||
}
|
||||
|
||||
private void PumpButtonDown()
|
||||
{
|
||||
_coolingSystem.StartPump();
|
||||
}
|
||||
|
||||
private void Update()
|
||||
{
|
||||
_lockButton.CheckButtonClick();
|
||||
_pumpButton.CheckButtonClick();
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region 对外暴露
|
||||
|
||||
/// <summary>
|
||||
/// 显示泵机UI
|
||||
/// </summary>
|
||||
/// <returns>显示</returns>
|
||||
public IEnumerator Show()
|
||||
{
|
||||
gameObject.SetActive(true);
|
||||
Tween tween = transform.DOLocalMove(showPos, showDuration);
|
||||
while (tween.active && !tween.IsComplete())
|
||||
{
|
||||
yield return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 隐藏泵机UI
|
||||
/// </summary>
|
||||
/// <returns>隐藏</returns>
|
||||
public IEnumerator Hide()
|
||||
{
|
||||
Tween tween = transform.DOLocalMove(hidePos, showDuration);
|
||||
while (tween.active && !tween.IsComplete())
|
||||
{
|
||||
yield return null;
|
||||
}
|
||||
gameObject.SetActive(false);
|
||||
}
|
||||
|
||||
public void OpenBuckle()
|
||||
{
|
||||
_topBuckle.DOLocalMove(topBuckleUnlockPos, buckleDuration);
|
||||
_leftBuckle.DOLocalMove(leftBuckleUnlockPos, buckleDuration);
|
||||
_rightBuckle.DOLocalMove(rightBuckleUnlockPos, buckleDuration);
|
||||
}
|
||||
|
||||
public void CloseBuckle()
|
||||
{
|
||||
_topBuckle.DOLocalMove(topBuckleLockPos, buckleDuration);
|
||||
_leftBuckle.DOLocalMove(leftBuckleLockPos, buckleDuration);
|
||||
_rightBuckle.DOLocalMove(rightBuckleLockPos, buckleDuration);
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8c0964c55b8c49458ad7740405fde98a
|
||||
timeCreated: 1734708209
|
||||
@@ -0,0 +1,103 @@
|
||||
using System.Collections;
|
||||
using DG.Tweening;
|
||||
using UnityEngine;
|
||||
|
||||
namespace AibisDream.FixSystem
|
||||
{
|
||||
public class TubeController : MonoBehaviour
|
||||
{
|
||||
[Header("插管蒙太奇整体位置")]
|
||||
public Vector3 showPos;
|
||||
public Vector3 hidePos;
|
||||
|
||||
[Header("管子位置")]
|
||||
public Vector3 pullOutPos;
|
||||
public Vector3 linkPos;
|
||||
|
||||
[Header("动画时间")]
|
||||
public float showDuration;
|
||||
public float plugDuration;
|
||||
|
||||
private Transform _tube;
|
||||
|
||||
private void Awake()
|
||||
{
|
||||
gameObject.SetActive(false);
|
||||
|
||||
InitRefs();
|
||||
}
|
||||
|
||||
private void InitRefs()
|
||||
{
|
||||
_tube = transform.Find("插线");
|
||||
|
||||
_tube.localPosition = pullOutPos;
|
||||
transform.localPosition = hidePos;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 播放连接动画
|
||||
/// </summary>
|
||||
/// <returns>协程</returns>
|
||||
public IEnumerator PlayLinkAnime()
|
||||
{
|
||||
yield return ShowAndHide(LinkAction());
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 播放拔出动画
|
||||
/// </summary>
|
||||
/// <returns>协程</returns>
|
||||
public IEnumerator PlayPullOutAnime()
|
||||
{
|
||||
yield return ShowAndHide(PullOutAction());
|
||||
}
|
||||
|
||||
private IEnumerator LinkAction()
|
||||
{
|
||||
// 插线
|
||||
Tween link = _tube.DOLocalMove(linkPos, plugDuration);
|
||||
while (link.active && !link.IsComplete())
|
||||
{
|
||||
yield return null;
|
||||
}
|
||||
// TODO 插完线后更新人物图片
|
||||
}
|
||||
|
||||
private IEnumerator PullOutAction()
|
||||
{
|
||||
// 拔线
|
||||
Tween pullOut = _tube.DOLocalMove(pullOutPos, plugDuration);
|
||||
while (pullOut.active && !pullOut.IsComplete())
|
||||
{
|
||||
yield return null;
|
||||
}
|
||||
// TODO 插完线后更新人物图片
|
||||
}
|
||||
|
||||
private IEnumerator ShowAndHide(IEnumerator middleAction)
|
||||
{
|
||||
gameObject.SetActive(true);
|
||||
// 打开插管部分
|
||||
Tween showTween = transform.DOLocalMove(showPos, showDuration);
|
||||
while (showTween.active && !showTween.IsComplete())
|
||||
{
|
||||
yield return null;
|
||||
}
|
||||
// 暂停一下
|
||||
yield return new WaitForSeconds(2f);
|
||||
// 中间动作
|
||||
yield return middleAction;
|
||||
// 暂停一下
|
||||
yield return new WaitForSeconds(2f);
|
||||
// 关闭插管部分
|
||||
Tween hideTween = transform.DOLocalMove(hidePos, showDuration);
|
||||
while (hideTween.active && !hideTween.IsComplete())
|
||||
{
|
||||
yield return null;
|
||||
}
|
||||
|
||||
gameObject.SetActive(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c57722dc077140e9b09a39b870ef4d8c
|
||||
timeCreated: 1734685901
|
||||
@@ -0,0 +1,33 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace AibisDream.Framework
|
||||
{
|
||||
public class SpriteButtonKit : IMonoKit
|
||||
{
|
||||
private readonly Camera _camera = Camera.main;
|
||||
private GameObject _curButton;
|
||||
|
||||
public void OnUpdate()
|
||||
{
|
||||
// 发射射线进行检测
|
||||
Ray ray = _camera.ScreenPointToRay(Input.mousePosition);
|
||||
RaycastHit2D hit = Physics2D.Raycast(ray.origin, ray.direction);
|
||||
|
||||
// 射线没有碰撞到东西
|
||||
if (!hit.collider)
|
||||
{
|
||||
_curButton = null;
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
public interface ISpriteButton
|
||||
{
|
||||
public void OnMouseEnter();
|
||||
public void OnMouseExit();
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 787ecc68b7e444478adfaabb8d7fbe70
|
||||
timeCreated: 1734775502
|
||||
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using AibisDream.FixSystem;
|
||||
using UnityEngine;
|
||||
|
||||
@@ -49,7 +50,20 @@ namespace AibisDream.Framework
|
||||
{
|
||||
if (Input.GetKeyDown(KeyCode.K))
|
||||
{
|
||||
MonoCenter.Mono.StartCoroutine(FixSystemYarnCommand.SwitchFixSystemTo("Engine"));
|
||||
var cooling = FixSystemCenter.SystemDic.Get<CoolingSystem>();
|
||||
MonoCenter.Mono.StartCoroutine(cooling.OpenCoolingSystem());
|
||||
}
|
||||
|
||||
if (Input.GetKeyDown(KeyCode.A))
|
||||
{
|
||||
var cooling = FixSystemCenter.SystemDic.Get<CoolingSystem>();
|
||||
MonoCenter.Mono.StartCoroutine(cooling.LinkTube());
|
||||
}
|
||||
|
||||
if (Input.GetKeyDown(KeyCode.S))
|
||||
{
|
||||
var cooling = FixSystemCenter.SystemDic.Get<CoolingSystem>();
|
||||
MonoCenter.Mono.StartCoroutine(cooling.OpenBottleUI());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,8 +8,7 @@ public class WindowManager : MonoBehaviour
|
||||
{
|
||||
public static WindowManager Instance { get; private set; }
|
||||
|
||||
[Header("Window Prefabs")]
|
||||
public ModalWindow singleButtonWindowPrefab;
|
||||
[Header("Window Prefabs")] public ModalWindow singleButtonWindowPrefab;
|
||||
|
||||
public ModalWindow ImageSingleButtonWindowPrefab;
|
||||
public ModalWindowProgressBar progressWindowPrefab;
|
||||
@@ -28,8 +27,8 @@ public class WindowManager : MonoBehaviour
|
||||
DontDestroyOnLoad(gameObject); // 如果需要全局保留
|
||||
}
|
||||
|
||||
[YarnCommand("OpenSingleButtonWindow")]
|
||||
public IEnumerator OpenSingleButtonWindow(string title, string description,bool ispanelActive=true)
|
||||
[YarnCommand("OpenSingleButtonWindow")]
|
||||
public IEnumerator OpenSingleButtonWindow(string title, string description, bool ispanelActive = true)
|
||||
{
|
||||
bool isConfirmed = false;
|
||||
singleButtonWindowPrefab.transform.GetChild(0).gameObject.SetActive(ispanelActive);
|
||||
@@ -37,7 +36,7 @@ public class WindowManager : MonoBehaviour
|
||||
singleButtonWindowPrefab.TitleValue = title;
|
||||
singleButtonWindowPrefab.DescriptionValue = description;
|
||||
singleButtonWindowPrefab.OnConfirm.AddListener(() => isConfirmed = true);
|
||||
|
||||
|
||||
singleButtonWindowPrefab.ShowModalWindow();
|
||||
|
||||
// 等待用户确认
|
||||
@@ -46,8 +45,8 @@ public class WindowManager : MonoBehaviour
|
||||
singleButtonWindowPrefab.OnConfirm.RemoveAllListeners();
|
||||
}
|
||||
|
||||
[YarnCommand("OpenMutiSingleButtonWindow")]
|
||||
public IEnumerator OpenMutiSingleButtonWindow(string title, string description,int number)
|
||||
[YarnCommand("OpenMutiSingleButtonWindow")]
|
||||
public IEnumerator OpenMutiSingleButtonWindow(string title, string description, int number)
|
||||
{
|
||||
bool isConfirmed = false;
|
||||
singleButtonWindowPrefab.transform.GetChild(0).gameObject.SetActive(false);
|
||||
@@ -55,7 +54,7 @@ public class WindowManager : MonoBehaviour
|
||||
singleButtonWindowPrefab.TitleValue = title;
|
||||
singleButtonWindowPrefab.DescriptionValue = description;
|
||||
singleButtonWindowPrefab.OnConfirm.AddListener(() => isConfirmed = true);
|
||||
|
||||
|
||||
singleButtonWindowPrefab.ShowModalWindow();
|
||||
|
||||
// 等待用户确认
|
||||
@@ -63,13 +62,13 @@ public class WindowManager : MonoBehaviour
|
||||
|
||||
singleButtonWindowPrefab.OnConfirm.RemoveAllListeners();
|
||||
}
|
||||
[YarnCommand("OpenProgressWindow")]
|
||||
public IEnumerator OpenProgressWindow(string title, string description,float duration)
|
||||
{
|
||||
|
||||
[YarnCommand("OpenProgressWindow")]
|
||||
public IEnumerator OpenProgressWindow(string title, string description, float duration)
|
||||
{
|
||||
progressWindowPrefab.TitleValue = title;
|
||||
progressWindowPrefab.DescriptionValue = description;
|
||||
float currentProgress=0;
|
||||
float currentProgress = 0;
|
||||
DOTween.To(
|
||||
() => currentProgress,
|
||||
value =>
|
||||
@@ -79,36 +78,33 @@ public class WindowManager : MonoBehaviour
|
||||
},
|
||||
100,
|
||||
duration
|
||||
);
|
||||
);
|
||||
progressWindowPrefab.ShowModalWindow();
|
||||
|
||||
// 等待用户确认
|
||||
yield return new WaitUntil(() => currentProgress>=100);
|
||||
yield return new WaitUntil(() => currentProgress >= 100);
|
||||
progressWindowPrefab.HideModalWindow();
|
||||
}
|
||||
[YarnCommand("OpenImageWindow_UFImage")]
|
||||
|
||||
[YarnCommand("OpenImageWindow_UFImage")]
|
||||
public void OpenImageSingleButtonWindowPrefab(string title, string imageName)
|
||||
{
|
||||
//bool isConfirmed = false;
|
||||
ImageSingleButtonWindowPrefab.IsConfirmButtonActive=false;
|
||||
ImageSingleButtonWindowPrefab.IsConfirmButtonActive = false;
|
||||
ImageSingleButtonWindowPrefab.TitleValue = title;
|
||||
ImageSingleButtonWindowPrefab.ImageValue=Resources.Load<Sprite>("Art/Photos/" + imageName);
|
||||
ImageSingleButtonWindowPrefab.DescriptionValue="";
|
||||
ImageSingleButtonWindowPrefab.ImageValue = Resources.Load<Sprite>("Art/Photos/" + imageName);
|
||||
ImageSingleButtonWindowPrefab.DescriptionValue = "";
|
||||
//progressWindowPrefab.OnFinish.AddListener(() => isConfirmed = true);
|
||||
ImageSingleButtonWindowPrefab.ShowModalWindow();
|
||||
}
|
||||
[YarnCommand("EnableAndWaitForClosingUFImage")]
|
||||
|
||||
[YarnCommand("EnableAndWaitForClosingUFImage")]
|
||||
public IEnumerator EnableAndWaitForClosingUFImage()
|
||||
{
|
||||
bool isConfirmed = false;
|
||||
ImageSingleButtonWindowPrefab.IsConfirmButtonActive=true;
|
||||
ImageSingleButtonWindowPrefab.IsConfirmButtonActive = true;
|
||||
ImageSingleButtonWindowPrefab.OnConfirm.AddListener(() => isConfirmed = true);
|
||||
yield return new WaitUntil(() => isConfirmed);
|
||||
ImageSingleButtonWindowPrefab.OnConfirm.RemoveAllListeners();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
@@ -144,6 +144,22 @@ namespace AibisDream.Utility
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region 部分命令
|
||||
|
||||
[YarnFunction("set_option_visited")]
|
||||
public static int SetOptionVisited(int visitedState, int optionIdx)
|
||||
{
|
||||
return visitedState | ( 1 << (optionIdx - 1));
|
||||
}
|
||||
|
||||
[YarnFunction("check_visited")]
|
||||
public static bool CheckVisitedOptionNum(int visitedState, int totalOptionNum)
|
||||
{
|
||||
return visitedState == (1 << totalOptionNum) - 1;
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
|
||||
public enum CommandLineType
|
||||
|
||||
@@ -71,3 +71,33 @@ TagManager:
|
||||
- name: ToolUpperCable
|
||||
uniqueID: 2587710269
|
||||
locked: 0
|
||||
- name: FixBottom
|
||||
uniqueID: 1034535805
|
||||
locked: 0
|
||||
- name: FixMiddle
|
||||
uniqueID: 1134468525
|
||||
locked: 0
|
||||
- name: FixTop
|
||||
uniqueID: 1016946085
|
||||
locked: 0
|
||||
- name: Tools
|
||||
uniqueID: 467777933
|
||||
locked: 0
|
||||
- name: Clinic
|
||||
uniqueID: 941243827
|
||||
locked: 0
|
||||
- name: ClubBoard
|
||||
uniqueID: 3799401421
|
||||
locked: 0
|
||||
- name: MessageUI
|
||||
uniqueID: 3505633107
|
||||
locked: 0
|
||||
- name: DialogUI
|
||||
uniqueID: 3784300833
|
||||
locked: 0
|
||||
- name: BasicUI
|
||||
uniqueID: 315200563
|
||||
locked: 0
|
||||
- name: StartUI
|
||||
uniqueID: 813150151
|
||||
locked: 0
|
||||
|
||||
Reference in New Issue
Block a user