模块拆除功能
This commit is contained in:
@@ -15,7 +15,7 @@ MonoBehaviour:
|
||||
m_DefaultGroup: 09546aca93a801441859af2a811fe53b
|
||||
m_currentHash:
|
||||
serializedVersion: 2
|
||||
Hash: 02a95f5e83110acfbe55bde61cc5700a
|
||||
Hash: e19d4b0234cea670fe45b1281b059a63
|
||||
m_OptimizeCatalogSize: 0
|
||||
m_BuildRemoteCatalog: 0
|
||||
m_BundleLocalCatalog: 0
|
||||
@@ -46,6 +46,7 @@ MonoBehaviour:
|
||||
m_GroupAssets:
|
||||
- {fileID: 11400000, guid: ac71ee7888fd1754bb3280725ad0076b, type: 2}
|
||||
- {fileID: 11400000, guid: b9026802c7966cf4799a8df997d603e3, type: 2}
|
||||
- {fileID: 11400000, guid: 158c1667780dd1f40bb79b05662be53c, type: 2}
|
||||
m_BuildSettings:
|
||||
m_CompileScriptsInVirtualMode: 0
|
||||
m_CleanupStreamingAssetsAfterBuilds: 1
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
%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: bbb281ee3bf0b054c82ac2347e9e782c, type: 3}
|
||||
m_Name: Materials
|
||||
m_EditorClassIdentifier:
|
||||
m_GroupName: Materials
|
||||
m_Data:
|
||||
m_SerializedData: []
|
||||
m_GUID: 61998f079a4793a4f9c56cdcc10d47dd
|
||||
m_SerializeEntries:
|
||||
- m_GUID: 3235960cb099ec949b5b899a120e1b58
|
||||
m_Address: DotLine
|
||||
m_ReadOnly: 0
|
||||
m_SerializedLabels: []
|
||||
FlaggedDuringContentUpdateRestriction: 0
|
||||
m_ReadOnly: 0
|
||||
m_Settings: {fileID: 11400000, guid: 77169ce22e430f64fb36c771815a4a7b, type: 2}
|
||||
m_SchemaSet:
|
||||
m_Schemas:
|
||||
- {fileID: 11400000, guid: 8dcbcb75139c50a409bd7e72b9dc0fb2, type: 2}
|
||||
- {fileID: 11400000, guid: e1683146c41aba0479be8d0a07fe61ad, type: 2}
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 158c1667780dd1f40bb79b05662be53c
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+45
@@ -0,0 +1,45 @@
|
||||
%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: e5d17a21594effb4e9591490b009e7aa, type: 3}
|
||||
m_Name: Materials_BundledAssetGroupSchema
|
||||
m_EditorClassIdentifier:
|
||||
m_Group: {fileID: 11400000, guid: 158c1667780dd1f40bb79b05662be53c, type: 2}
|
||||
m_InternalBundleIdMode: 1
|
||||
m_Compression: 1
|
||||
m_IncludeAddressInCatalog: 1
|
||||
m_IncludeGUIDInCatalog: 1
|
||||
m_IncludeLabelsInCatalog: 1
|
||||
m_InternalIdNamingMode: 0
|
||||
m_CacheClearBehavior: 0
|
||||
m_IncludeInBuild: 1
|
||||
m_BundledAssetProviderType:
|
||||
m_AssemblyName: Unity.ResourceManager, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
m_ClassName: UnityEngine.ResourceManagement.ResourceProviders.BundledAssetProvider
|
||||
m_ForceUniqueProvider: 0
|
||||
m_UseAssetBundleCache: 1
|
||||
m_UseAssetBundleCrc: 1
|
||||
m_UseAssetBundleCrcForCachedBundles: 1
|
||||
m_UseUWRForLocalBundles: 0
|
||||
m_Timeout: 0
|
||||
m_ChunkedTransfer: 0
|
||||
m_RedirectLimit: -1
|
||||
m_RetryCount: 0
|
||||
m_BuildPath:
|
||||
m_Id: 2ae6a7549097a9b4caefe44b61b1fcc5
|
||||
m_LoadPath:
|
||||
m_Id: 631ec5c677ab8084fb9be9b9ee39c6ef
|
||||
m_BundleMode: 0
|
||||
m_AssetBundleProviderType:
|
||||
m_AssemblyName: Unity.ResourceManager, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
m_ClassName: UnityEngine.ResourceManagement.ResourceProviders.AssetBundleProvider
|
||||
m_BundleNaming: 0
|
||||
m_AssetLoadMode: 0
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8dcbcb75139c50a409bd7e72b9dc0fb2
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
%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: 5834b5087d578d24c926ce20cd31e6d6, type: 3}
|
||||
m_Name: Materials_ContentUpdateGroupSchema
|
||||
m_EditorClassIdentifier:
|
||||
m_Group: {fileID: 11400000, guid: 158c1667780dd1f40bb79b05662be53c, type: 2}
|
||||
m_StaticContent: 0
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e1683146c41aba0479be8d0a07fe61ad
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1229,7 +1229,7 @@ ScriptedImporter:
|
||||
maxTextureSize: 8192
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
textureCompression: 2
|
||||
compressionQuality: 50
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
crunchedCompression: 0
|
||||
@@ -1924,7 +1924,7 @@ ScriptedImporter:
|
||||
sharedRigPSDLayers: []
|
||||
pSDLayerImportSetting: []
|
||||
importFileNodeState: 1
|
||||
platformSettingsDirtyTick: 638772227889997777
|
||||
platformSettingsDirtyTick: 638809214442603370
|
||||
spriteSizeExpandChanged: 0
|
||||
generateGOHierarchy: 1
|
||||
textureAssetName:
|
||||
|
||||
Binary file not shown.
@@ -0,0 +1,153 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4efe96133ab7b634fa5feb35355ba949
|
||||
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: 0
|
||||
wrapV: 0
|
||||
wrapW: 0
|
||||
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:
|
||||
@@ -513,15 +513,19 @@ MonoBehaviour:
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
_filter:
|
||||
- 0.007228916
|
||||
- 0.043749984
|
||||
- 0.12409639
|
||||
- 0.20444278
|
||||
- 0.24096388
|
||||
- 0.20444278
|
||||
- 0.12409639
|
||||
- 0.043749984
|
||||
- 0.007228916
|
||||
- 0.0048309183
|
||||
- 0.016401261
|
||||
- 0.04532712
|
||||
- 0.08293076
|
||||
- 0.12053438
|
||||
- 0.14946026
|
||||
- 0.1610306
|
||||
- 0.14946026
|
||||
- 0.12053438
|
||||
- 0.08293076
|
||||
- 0.04532712
|
||||
- 0.016401261
|
||||
- 0.0048309183
|
||||
--- !u!114 &-6086986437317696584
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 3
|
||||
|
||||
@@ -12799,138 +12799,6 @@ CanvasRenderer:
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1090155682}
|
||||
m_CullTransparentMesh: 1
|
||||
--- !u!1 &1108164745
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 1108164746}
|
||||
- component: {fileID: 1108164749}
|
||||
- component: {fileID: 1108164748}
|
||||
- component: {fileID: 1108164747}
|
||||
m_Layer: 5
|
||||
m_Name: Show Log
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 0
|
||||
--- !u!224 &1108164746
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1108164745}
|
||||
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: 1604842429}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 1}
|
||||
m_AnchorMax: {x: 0, y: 1}
|
||||
m_AnchoredPosition: {x: 1806, y: -81}
|
||||
m_SizeDelta: {x: 64, y: 64}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!114 &1108164747
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1108164745}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Navigation:
|
||||
m_Mode: 3
|
||||
m_WrapAround: 0
|
||||
m_SelectOnUp: {fileID: 0}
|
||||
m_SelectOnDown: {fileID: 0}
|
||||
m_SelectOnLeft: {fileID: 0}
|
||||
m_SelectOnRight: {fileID: 0}
|
||||
m_Transition: 1
|
||||
m_Colors:
|
||||
m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
|
||||
m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
|
||||
m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
|
||||
m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
|
||||
m_ColorMultiplier: 1
|
||||
m_FadeDuration: 0.1
|
||||
m_SpriteState:
|
||||
m_HighlightedSprite: {fileID: 0}
|
||||
m_PressedSprite: {fileID: 0}
|
||||
m_SelectedSprite: {fileID: 0}
|
||||
m_DisabledSprite: {fileID: 0}
|
||||
m_AnimationTriggers:
|
||||
m_NormalTrigger: Normal
|
||||
m_HighlightedTrigger: Highlighted
|
||||
m_PressedTrigger: Pressed
|
||||
m_SelectedTrigger: Selected
|
||||
m_DisabledTrigger: Disabled
|
||||
m_Interactable: 1
|
||||
m_TargetGraphic: {fileID: 1108164748}
|
||||
m_OnClick:
|
||||
m_PersistentCalls:
|
||||
m_Calls:
|
||||
- m_Target: {fileID: 1604842430}
|
||||
m_TargetAssemblyTypeName: AibisDream.DialogCanvasManager, Assembly-CSharp
|
||||
m_MethodName: ControlDialogHistory
|
||||
m_Mode: 1
|
||||
m_Arguments:
|
||||
m_ObjectArgument: {fileID: 0}
|
||||
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
|
||||
m_IntArgument: 0
|
||||
m_FloatArgument: 0
|
||||
m_StringArgument:
|
||||
m_BoolArgument: 0
|
||||
m_CallState: 2
|
||||
--- !u!114 &1108164748
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1108164745}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Material: {fileID: 0}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_RaycastTarget: 1
|
||||
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||
m_Maskable: 1
|
||||
m_OnCullStateChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_Sprite: {fileID: 21300000, guid: df415080e78ea2d43a564b77ca82bd6f, type: 3}
|
||||
m_Type: 0
|
||||
m_PreserveAspect: 0
|
||||
m_FillCenter: 1
|
||||
m_FillMethod: 4
|
||||
m_FillAmount: 1
|
||||
m_FillClockwise: 1
|
||||
m_FillOrigin: 0
|
||||
m_UseSpriteMesh: 0
|
||||
m_PixelsPerUnitMultiplier: 1
|
||||
--- !u!222 &1108164749
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1108164745}
|
||||
m_CullTransparentMesh: 1
|
||||
--- !u!1 &1110722290
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -19010,7 +18878,6 @@ RectTransform:
|
||||
- {fileID: 1586904153}
|
||||
- {fileID: 50234111}
|
||||
- {fileID: 1403558893}
|
||||
- {fileID: 1108164746}
|
||||
m_Father: {fileID: 1343879457}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
@@ -46643,6 +46510,10 @@ PrefabInstance:
|
||||
propertyPath: m_Name
|
||||
value: Favorites
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5020591241610718058, guid: 8447f1c934ed28243b9924fb4d106a57, type: 3}
|
||||
propertyPath: m_IsActive
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8221038544307279708, guid: 8447f1c934ed28243b9924fb4d106a57, type: 3}
|
||||
propertyPath: m_Pivot.x
|
||||
value: 0.5
|
||||
@@ -46724,7 +46595,8 @@ PrefabInstance:
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_RemovedGameObjects: []
|
||||
m_RemovedGameObjects:
|
||||
- {fileID: 5020591241610718058, guid: 8447f1c934ed28243b9924fb4d106a57, type: 3}
|
||||
m_AddedGameObjects: []
|
||||
m_AddedComponents: []
|
||||
m_SourcePrefab: {fileID: 100100000, guid: 8447f1c934ed28243b9924fb4d106a57, type: 3}
|
||||
@@ -46733,17 +46605,6 @@ RectTransform:
|
||||
m_CorrespondingSourceObject: {fileID: 8221038544307279708, guid: 8447f1c934ed28243b9924fb4d106a57, type: 3}
|
||||
m_PrefabInstance: {fileID: 6027584266651937600}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
--- !u!114 &6027584266651937602 stripped
|
||||
MonoBehaviour:
|
||||
m_CorrespondingSourceObject: {fileID: 2692244456008212266, guid: 8447f1c934ed28243b9924fb4d106a57, type: 3}
|
||||
m_PrefabInstance: {fileID: 6027584266651937600}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
--- !u!1 &6027584266651937603 stripped
|
||||
GameObject:
|
||||
m_CorrespondingSourceObject: {fileID: 6590378973688895424, guid: 8447f1c934ed28243b9924fb4d106a57, type: 3}
|
||||
@@ -48410,7 +48271,7 @@ GameObject:
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 0
|
||||
m_IsActive: 1
|
||||
--- !u!223 &6437954650411144377
|
||||
Canvas:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -56677,13 +56538,11 @@ MonoBehaviour:
|
||||
m_Script: {fileID: 11500000, guid: a84298a2467e2934fa5e8c60405a2834, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
toggleFavoritesButton: {fileID: 6027584266651937602}
|
||||
favoritesUI: {fileID: 6027584266651937604}
|
||||
punchTapeContent: {fileID: 673669948}
|
||||
clueItemPrefab: {fileID: 2260198552944312515, guid: 0b17c41ba2d401946a8eca60abbd974d, type: 3}
|
||||
imageClueItemPrefab: {fileID: 8689056903559000942, guid: c7b1259de6649464f8ed41928761d233, type: 3}
|
||||
punchTapePanel: {fileID: 6027584266651937603}
|
||||
isFavoritesOpen: 0
|
||||
--- !u!114 &8514050315890922020
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,6 +1,5 @@
|
||||
using UnityEngine;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine.UI;
|
||||
using DG.Tweening;
|
||||
using AibisDream.Framework;
|
||||
using AibisDream;
|
||||
@@ -13,28 +12,19 @@ public class FavoritesManager : MonoBehaviour
|
||||
|
||||
private readonly ClueData _clueData = new();
|
||||
|
||||
public Button toggleFavoritesButton; // 用于打开/关闭收藏夹的按钮
|
||||
|
||||
public GameObject favoritesUI; // 收藏夹UI
|
||||
private RectTransform favoritesUIRectTransform;
|
||||
|
||||
public Transform punchTapeContent; // 打孔带分类的Content
|
||||
|
||||
//public Transform screenshotContent; // 截图分类的Content
|
||||
public GameObject clueItemPrefab; // 收藏夹中线索Item的预制件
|
||||
|
||||
public GameObject imageClueItemPrefab; // 收藏夹中线索Item的预制件
|
||||
|
||||
//public Button punchTapeTabButton; // 切换到打孔带
|
||||
//public Button screenshotTabButton; // 切换到截图
|
||||
|
||||
//public ScrollRect scrollRect; // 滚动视图
|
||||
public GameObject punchTapePanel; // 打孔带分类面板
|
||||
|
||||
//public GameObject screenshotPanel; // 截图分类面板
|
||||
private Vector2 hiddenPosition; // 收藏夹隐藏时的位置
|
||||
private Vector2 visiblePosition; // 收藏夹显示时的位置
|
||||
public bool isFavoritesOpen = false; // 收藏夹是否打开的状态
|
||||
|
||||
|
||||
private void Awake()
|
||||
@@ -56,27 +46,11 @@ public class FavoritesManager : MonoBehaviour
|
||||
hiddenPosition = new Vector2(favoritesUIRectTransform.anchoredPosition.x * 2,
|
||||
favoritesUIRectTransform.anchoredPosition.y);
|
||||
visiblePosition = new Vector2(favoritesUIRectTransform.anchoredPosition.x, 0);
|
||||
// // 设置收藏夹的初始位置为隐藏
|
||||
// 设置收藏夹的初始位置为隐藏
|
||||
favoritesUIRectTransform.anchoredPosition = hiddenPosition;
|
||||
favoritesUI.SetActive(false);
|
||||
// // 绑定按钮事件
|
||||
toggleFavoritesButton.onClick.AddListener(ToggleFavorites);
|
||||
// 绑定按钮事件
|
||||
//punchTapeTabButton.onClick.AddListener(ShowPunchTapeFavorites);
|
||||
//screenshotTabButton.onClick.AddListener(ShowScreenshotFavorites);
|
||||
ShowPunchTapeFavorites();
|
||||
}
|
||||
|
||||
public void ToggleFavorites()
|
||||
{
|
||||
if (isFavoritesOpen)
|
||||
{
|
||||
CloseFavorites();
|
||||
}
|
||||
else
|
||||
{
|
||||
OpenFavorites();
|
||||
}
|
||||
ShowPunchTapeFavorites();
|
||||
}
|
||||
|
||||
public void AddClue(Clue clue)
|
||||
@@ -112,7 +86,7 @@ public class FavoritesManager : MonoBehaviour
|
||||
}
|
||||
|
||||
// 重新创建剩余线索的UI
|
||||
foreach (Clue clue in _clueData.punchTapeFavorites)
|
||||
foreach (PunchTape clue in _clueData.punchTapeFavorites)
|
||||
{
|
||||
GameObject clueItemGO;
|
||||
ClueItem clueItem;
|
||||
@@ -146,7 +120,6 @@ public class FavoritesManager : MonoBehaviour
|
||||
UpdateFavoritesUI();
|
||||
favoritesUI.SetActive(true);
|
||||
ShowPunchTapeFavorites();
|
||||
isFavoritesOpen = true;
|
||||
|
||||
// 用DOTween从右侧移动到可见区域
|
||||
favoritesUIRectTransform.DOAnchorPos(visiblePosition, 0.5f); // 移动动画,持续0.5秒
|
||||
@@ -155,7 +128,6 @@ public class FavoritesManager : MonoBehaviour
|
||||
public void CloseFavorites()
|
||||
{
|
||||
UpdateFavoritesUI();
|
||||
isFavoritesOpen = false;
|
||||
|
||||
// 用DOTween移动回右侧屏幕外
|
||||
favoritesUIRectTransform.DOAnchorPos(hiddenPosition, 0.5f).OnComplete(() =>
|
||||
@@ -164,7 +136,7 @@ public class FavoritesManager : MonoBehaviour
|
||||
});
|
||||
}
|
||||
|
||||
public void ShowPunchTapeFavorites()
|
||||
private void ShowPunchTapeFavorites()
|
||||
{
|
||||
UpdateFavoritesUI();
|
||||
punchTapePanel.SetActive(true);
|
||||
@@ -173,7 +145,7 @@ public class FavoritesManager : MonoBehaviour
|
||||
|
||||
public class ClueData : IData
|
||||
{
|
||||
public List<PunchTape> punchTapeFavorites = new List<PunchTape>();
|
||||
public readonly List<PunchTape> punchTapeFavorites = new();
|
||||
public event Action<ClueData> LoadEvent;
|
||||
|
||||
public IEnumerator Load()
|
||||
|
||||
@@ -1,35 +1,30 @@
|
||||
using System.Drawing;
|
||||
using UnityEngine;
|
||||
using DG.Tweening;
|
||||
|
||||
public class MemoryClueSlot : ClueSlotBase
|
||||
{
|
||||
private MemoryProcess memoryManager;
|
||||
[HideInInspector]
|
||||
public PunchTape punchTape;
|
||||
|
||||
[HideInInspector] public PunchTape punchTape;
|
||||
|
||||
|
||||
protected override void Start()
|
||||
{
|
||||
base.Start(); // 初始化基类中的内容
|
||||
memoryManager = FindObjectOfType<MemoryProcess>();
|
||||
expectedClueType=ClueType.PunchTape;
|
||||
memoryManager = FindObjectOfType<MemoryProcess>();
|
||||
expectedClueType = ClueType.PunchTape;
|
||||
}
|
||||
|
||||
// 重写基类的 OnClueInserted 方法,处理播放记忆的逻辑
|
||||
protected override void OnClueInserted(Clue clue)
|
||||
{
|
||||
punchTape = clue as PunchTape;
|
||||
coverClose.enabled=true;
|
||||
coverOpen.enabled=false;
|
||||
PlayMemory(punchTape);
|
||||
FavoritesManager.Instance.RemoveClue(clue);
|
||||
|
||||
punchTape = clue as PunchTape;
|
||||
coverClose.enabled = true;
|
||||
coverOpen.enabled = false;
|
||||
PlayMemory(punchTape);
|
||||
FavoritesManager.Instance.RemoveClue(clue);
|
||||
}
|
||||
public override void ReleaseSlot()
|
||||
{
|
||||
base.ReleaseSlot(); // 保证基类的清理逻辑被执行
|
||||
}
|
||||
|
||||
private void PlayMemory(PunchTape punchTape)
|
||||
{
|
||||
if (punchTape != null)
|
||||
@@ -39,6 +34,7 @@ public class MemoryClueSlot : ClueSlotBase
|
||||
StartCoroutine(memoryManager.SearchMemory(punchTape));
|
||||
}
|
||||
}
|
||||
|
||||
private void StartFilmAnimation()
|
||||
{
|
||||
// 使用 DOTween 实现胶片的循环移动
|
||||
@@ -54,4 +50,4 @@ public class MemoryClueSlot : ClueSlotBase
|
||||
// 重置胶片位置
|
||||
filmImage.rectTransform.localPosition = Vector3.zero;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,8 @@
|
||||
using System;
|
||||
using AibisDream.Utility;
|
||||
using Newtonsoft.Json;
|
||||
using UnityEngine;
|
||||
using UnityEngine.AddressableAssets;
|
||||
|
||||
namespace AibisDream.FixSystem
|
||||
{
|
||||
@@ -19,6 +21,9 @@ namespace AibisDream.FixSystem
|
||||
|
||||
private SpriteRenderer _targetSpriteRenderer; // 目标的 SpriteRenderer
|
||||
|
||||
private LineRenderer _dotLine;
|
||||
private LineRenderer _cutLine;
|
||||
|
||||
#endregion
|
||||
|
||||
// 模块基本数据
|
||||
@@ -92,6 +97,38 @@ namespace AibisDream.FixSystem
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region 切割相关
|
||||
|
||||
public void EnableCut()
|
||||
{
|
||||
// 显示虚线
|
||||
var dotLine = GetOrCreateDotLine();
|
||||
// 指针转为锯片
|
||||
}
|
||||
|
||||
private void OnCut()
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
private LineRenderer GetOrCreateDotLine()
|
||||
{
|
||||
if (_dotLine != null)
|
||||
{
|
||||
return _dotLine;
|
||||
}
|
||||
|
||||
var dotLine = new GameObject("Dot Line").AddComponent<LineRenderer>();
|
||||
// 设置Line的参数
|
||||
dotLine.sortingLayerName = ConstRef.FixMiddleLayer;
|
||||
dotLine.sortingOrder = 4;
|
||||
// dotLine.materials = new[] { };
|
||||
Addressables.LoadAssetAsync<Material>(ConstRef.DotLineMaterialName);
|
||||
return dotLine;
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
|
||||
@@ -3,7 +3,6 @@ using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using AibisDream.Framework;
|
||||
using AibisDream.Kit;
|
||||
using TMPro;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
@@ -215,16 +214,6 @@ namespace AibisDream
|
||||
DialogRecord.Clear();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 切换对话回顾展示状态
|
||||
/// </summary>
|
||||
public void ControlDialogHistory()
|
||||
{
|
||||
var logObj = transform.Find("Dialogue Log").gameObject;
|
||||
logObj.SetActive(!logObj.activeSelf);
|
||||
EnumEventSystem.Global.Send(EventEnum.Menu, logObj.activeSelf);
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
|
||||
|
||||
@@ -13,5 +13,9 @@ namespace AibisDream.Utility
|
||||
public const string SurveyURL = "https://wj.qq.com/s2/15348910/3c8c/";
|
||||
|
||||
public static readonly string TestSaveFilePath = Application.streamingAssetsPath + "/TestSaveFiles";
|
||||
|
||||
public const string FixMiddleLayer = "FixMiddle";
|
||||
|
||||
public const string DotLineMaterialName = "DotLine";
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a2266b8521fa14d4e87739116ceaf852
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3824fc2387c85d148b1e22f1ac9e0fda
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,59 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 8
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: DotLine
|
||||
m_Shader: {fileID: 10101, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_Parent: {fileID: 0}
|
||||
m_ModifiedSerializedProperties: 0
|
||||
m_ValidKeywords: []
|
||||
m_InvalidKeywords: []
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 1
|
||||
m_DoubleSidedGI: 1
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap: {}
|
||||
disabledShaderPasses: []
|
||||
m_LockedProperties:
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- _AlphaTex:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MainTex:
|
||||
m_Texture: {fileID: 2800000, guid: 4efe96133ab7b634fa5feb35355ba949, type: 3}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MaskTex:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _NormalMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _texcoord:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_Ints: []
|
||||
m_Floats:
|
||||
- _Cutoff: 0.5
|
||||
- _EnableExternalAlpha: 0
|
||||
- _InvFade: 0.01
|
||||
- _Number: 41.2
|
||||
- _Speed: 55
|
||||
- __dirty: 1
|
||||
m_Colors:
|
||||
- _Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _Flip: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _RendererColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _TintColor: {r: 1, g: 0, b: 0, a: 1}
|
||||
m_BuildTextureStacks: []
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3235960cb099ec949b5b899a120e1b58
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 2100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7e3b9044892253c4a876a0877335acae
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user