From fcefe741522106a4fd720658dc7b7ffdb7842480 Mon Sep 17 00:00:00 2001 From: bottlefish <781230111@qq.com> Date: Thu, 5 Sep 2024 17:43:53 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4book=E4=B8=BA=E5=85=A8?= =?UTF-8?q?=E5=B1=80=EF=BC=8C=E8=B0=83=E6=95=B4task=E7=9A=84=E8=87=AA?= =?UTF-8?q?=E9=80=82=E5=BA=94=EF=BC=8Cpeipeitalk1=E5=8F=98=E9=87=8F?= =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../佩佩/Scripts/EyeTransitionManager.cs | 10 +- Assets/Prototype/佩佩/佩佩视觉模块.unity | 885 +---------------- .../Art/Book}/BookDirectory.png | Bin .../Art/Book}/BookDirectory.png.meta | 13 + .../Art/Book}/BookPeipeiEye1.png | Bin .../Art/Book}/BookPeipeiEye1.png.meta | 13 + .../Art/Book}/BookPeipeiEye2.png | Bin .../Art/Book}/BookPeipeiEye2.png.meta | 13 + .../Art/Book}/BookPeipeiMain.png | Bin .../Art/Book}/BookPeipeiMain.png.meta | 13 + .../Art/Book}/BookPeipeiUF1.png | Bin .../Art/Book}/BookPeipeiUF1.png.meta | 13 + .../Art/Book}/BookPeipeiUF2.png | Bin .../Art/Book}/BookPeipeiUF2.png.meta | 13 + .../Art/Book}/BookPeipeiUF3.png | Bin .../Art/Book}/BookPeipeiUF3.png.meta | 13 + .../Art/Book}/BookPeipeiUF4.png | Bin .../Art/Book}/BookPeipeiUF4.png.meta | 13 + .../Art/Book}/BookPeipeiUF5.png | Bin .../Art/Book}/BookPeipeiUF5.png.meta | 13 + Assets/Resources/Yarn/Book/Book1.yarn | 6 +- .../Yarn/PeipeiTalk/PeipeiTalk1.yarn | 96 +- Assets/Scenes/Persistence.unity | 887 +++++++++++++++++- Assets/Scripts/FixSystem/Book/BookManager.cs | 90 +- Assets/Scripts/Task/TaskManager.cs | 4 +- 25 files changed, 1136 insertions(+), 959 deletions(-) rename Assets/{Plugins/Book-Page Curl/Example/sprites => Resources/Art/Book}/BookDirectory.png (100%) rename Assets/{Plugins/Book-Page Curl/Example/sprites => Resources/Art/Book}/BookDirectory.png.meta (89%) rename Assets/{Plugins/Book-Page Curl/Example/sprites => Resources/Art/Book}/BookPeipeiEye1.png (100%) rename Assets/{Plugins/Book-Page Curl/Example/sprites => Resources/Art/Book}/BookPeipeiEye1.png.meta (89%) rename Assets/{Plugins/Book-Page Curl/Example/sprites => Resources/Art/Book}/BookPeipeiEye2.png (100%) rename Assets/{Plugins/Book-Page Curl/Example/sprites => Resources/Art/Book}/BookPeipeiEye2.png.meta (89%) rename Assets/{Plugins/Book-Page Curl/Example/sprites => Resources/Art/Book}/BookPeipeiMain.png (100%) rename Assets/{Plugins/Book-Page Curl/Example/sprites => Resources/Art/Book}/BookPeipeiMain.png.meta (89%) rename Assets/{Plugins/Book-Page Curl/Example/sprites => Resources/Art/Book}/BookPeipeiUF1.png (100%) rename Assets/{Plugins/Book-Page Curl/Example/sprites => Resources/Art/Book}/BookPeipeiUF1.png.meta (89%) rename Assets/{Plugins/Book-Page Curl/Example/sprites => Resources/Art/Book}/BookPeipeiUF2.png (100%) rename Assets/{Plugins/Book-Page Curl/Example/sprites => Resources/Art/Book}/BookPeipeiUF2.png.meta (89%) rename Assets/{Plugins/Book-Page Curl/Example/sprites => Resources/Art/Book}/BookPeipeiUF3.png (100%) rename Assets/{Plugins/Book-Page Curl/Example/sprites => Resources/Art/Book}/BookPeipeiUF3.png.meta (89%) rename Assets/{Plugins/Book-Page Curl/Example/sprites => Resources/Art/Book}/BookPeipeiUF4.png (100%) rename Assets/{Plugins/Book-Page Curl/Example/sprites => Resources/Art/Book}/BookPeipeiUF4.png.meta (89%) rename Assets/{Plugins/Book-Page Curl/Example/sprites => Resources/Art/Book}/BookPeipeiUF5.png (100%) rename Assets/{Plugins/Book-Page Curl/Example/sprites => Resources/Art/Book}/BookPeipeiUF5.png.meta (89%) diff --git a/Assets/Prototype/佩佩/Scripts/EyeTransitionManager.cs b/Assets/Prototype/佩佩/Scripts/EyeTransitionManager.cs index 98e43a63b..5f6a54aff 100644 --- a/Assets/Prototype/佩佩/Scripts/EyeTransitionManager.cs +++ b/Assets/Prototype/佩佩/Scripts/EyeTransitionManager.cs @@ -70,8 +70,6 @@ public class EyeTransitionManager : MonoBehaviour // 是否正在进行视图过渡 private bool isTransitioning = false; - public Button CloseBookButton; - public Transform faceTransform; public Transform projector; // 视图状态枚举 @@ -170,6 +168,7 @@ public class EyeTransitionManager : MonoBehaviour { // 首先注册命令 DialogController.Instance.RegisterOptionCommand("activate_socket_choice", ActivateSocketChoice); + // 初始化视图 InitializeView(); @@ -191,13 +190,6 @@ public class EyeTransitionManager : MonoBehaviour { var optionDic = options.ToDictionary(item => item.Text, item => item); Debug.Log("Option dictionary keys: " + string.Join(", ", optionDic.Keys)); - if (optionDic.ContainsKey("CloseBook")) - { - CloseBookButton.onClick.AddListener(() => - { - optionDic["CloseBook"].SelectOption(); - }); - } foreach (var viewConfig in viewConfigs) { diff --git a/Assets/Prototype/佩佩/佩佩视觉模块.unity b/Assets/Prototype/佩佩/佩佩视觉模块.unity index 12f2caa45..671e679b3 100644 --- a/Assets/Prototype/佩佩/佩佩视觉模块.unity +++ b/Assets/Prototype/佩佩/佩佩视觉模块.unity @@ -7180,7 +7180,7 @@ RectTransform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 1} m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 151, y: 152} + m_AnchoredPosition: {x: 151, y: 160} m_SizeDelta: {x: 500, y: 600} m_Pivot: {x: 0.5, y: 0.5} --- !u!114 &555910942 @@ -11391,155 +11391,6 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 784302718} m_CullTransparentMesh: 1 ---- !u!1 &791733123 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 791733124} - - component: {fileID: 791733128} - - component: {fileID: 791733127} - - component: {fileID: 791733126} - - component: {fileID: 791733125} - m_Layer: 5 - m_Name: Button - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &791733124 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 791733123} - 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: 996104070} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 1, y: 1} - m_AnchorMax: {x: 1, y: 1} - m_AnchoredPosition: {x: 144, y: 12} - m_SizeDelta: {x: 150, y: 150} - m_Pivot: {x: 1, y: 1} ---- !u!114 &791733125 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 791733123} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: ee158225ee1e59f4791627785501d950, type: 3} - m_Name: - m_EditorClassIdentifier: - shaderTypes: 0 - normalStrength: 5 - normalSmoothing: 1 - computingNormal: 0 ---- !u!114 &791733126 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 791733123} - 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: 791733127} - m_OnClick: - m_PersistentCalls: - m_Calls: - - m_Target: {fileID: 886733273} - m_TargetAssemblyTypeName: BookManager, Assembly-CSharp - m_MethodName: CloseBook - 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 &791733127 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 791733123} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 1151292738} - 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: f1412f68a2eaf3f46b22686332552ed2, 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 &791733128 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 791733123} - m_CullTransparentMesh: 1 --- !u!1 &805320731 GameObject: m_ObjectHideFlags: 0 @@ -12273,51 +12124,6 @@ Transform: m_Children: [] m_Father: {fileID: 77790454} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!1 &886733270 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 886733272} - - component: {fileID: 886733273} - m_Layer: 0 - m_Name: BookManager - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!4 &886733272 -Transform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 886733270} - serializedVersion: 2 - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0.49306798, y: -0.30097836, z: 0.10314257} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 0} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!114 &886733273 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 886733270} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 400c1e67877b4014fa862547c432b0b8, type: 3} - m_Name: - m_EditorClassIdentifier: - book: {fileID: 996104069} --- !u!1 &887059451 GameObject: m_ObjectHideFlags: 0 @@ -13473,189 +13279,6 @@ Transform: m_CorrespondingSourceObject: {fileID: -7552582706839291426, guid: 9ebe34c81f3945d40bc9206affcdcf73, type: 3} m_PrefabInstance: {fileID: 972406612} m_PrefabAsset: {fileID: 0} ---- !u!1001 &996104068 -PrefabInstance: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - serializedVersion: 3 - m_TransformParent: {fileID: 1654679524} - m_Modifications: - - target: {fileID: 180032, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} - propertyPath: m_Name - value: Book - objectReference: {fileID: 0} - - target: {fileID: 180032, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} - propertyPath: m_IsActive - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 11415212, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} - propertyPath: canvas - value: - objectReference: {fileID: 594466391} - - target: {fileID: 11415212, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} - propertyPath: background - value: - objectReference: {fileID: 21300000, guid: b38f1555bc2bc5246a7c1a87e231e51c, type: 3} - - target: {fileID: 11415212, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} - propertyPath: interactable - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 11415212, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} - propertyPath: enableShadowEffect - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 11415212, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} - propertyPath: bookPages.Array.size - value: 9 - objectReference: {fileID: 0} - - target: {fileID: 11415212, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} - propertyPath: bookPages.Array.data[0] - value: - objectReference: {fileID: 21300000, guid: 9392513c59cb1ca47baf6defed520dcd, type: 3} - - target: {fileID: 11415212, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} - propertyPath: bookPages.Array.data[1] - value: - objectReference: {fileID: 21300000, guid: c966187eb55e5c444904f7a9f26d6b07, type: 3} - - target: {fileID: 11415212, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} - propertyPath: bookPages.Array.data[2] - value: - objectReference: {fileID: 21300000, guid: df495620f9bf96445ae3617ceab7ede3, type: 3} - - target: {fileID: 11415212, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} - propertyPath: bookPages.Array.data[3] - value: - objectReference: {fileID: 21300000, guid: f2b1bc425b2b85647919ad007d15e58b, type: 3} - - target: {fileID: 11415212, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} - propertyPath: bookPages.Array.data[4] - value: - objectReference: {fileID: 21300000, guid: 1bfe845694410a74e8a61ff800d087bc, type: 3} - - target: {fileID: 11415212, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} - propertyPath: bookPages.Array.data[5] - value: - objectReference: {fileID: 21300000, guid: 7c029f1c305c3ac42a82b08adceeb436, type: 3} - - target: {fileID: 11415212, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} - propertyPath: bookPages.Array.data[6] - value: - objectReference: {fileID: 21300000, guid: e2c196b5b1657504d8e301c56e4274e0, type: 3} - - target: {fileID: 11415212, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} - propertyPath: bookPages.Array.data[7] - value: - objectReference: {fileID: 21300000, guid: fa6ef31afd6fca245909b693fca01aed, type: 3} - - target: {fileID: 11415212, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} - propertyPath: bookPages.Array.data[8] - value: - objectReference: {fileID: 21300000, guid: 7edd835ee75d58a4185fe26e8e31d79f, type: 3} - - target: {fileID: 11430880, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} - propertyPath: m_Sprite - value: - objectReference: {fileID: 21300000, guid: b38f1555bc2bc5246a7c1a87e231e51c, type: 3} - - target: {fileID: 22443772, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} - propertyPath: m_Pivot.x - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 22443772, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} - propertyPath: m_Pivot.y - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 22443772, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} - propertyPath: m_AnchorMax.x - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 22443772, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} - propertyPath: m_AnchorMax.y - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 22443772, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} - propertyPath: m_AnchorMin.x - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 22443772, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} - propertyPath: m_AnchorMin.y - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 22443772, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} - propertyPath: m_SizeDelta.x - value: 1116 - objectReference: {fileID: 0} - - target: {fileID: 22443772, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} - propertyPath: m_SizeDelta.y - value: 861 - objectReference: {fileID: 0} - - target: {fileID: 22443772, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} - propertyPath: m_LocalPosition.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 22443772, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} - propertyPath: m_LocalPosition.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 22443772, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} - propertyPath: m_LocalPosition.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 22443772, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} - propertyPath: m_LocalRotation.w - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 22443772, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} - propertyPath: m_LocalRotation.x - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 22443772, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} - propertyPath: m_LocalRotation.y - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 22443772, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} - propertyPath: m_LocalRotation.z - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 22443772, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} - propertyPath: m_AnchoredPosition.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 22443772, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} - propertyPath: m_AnchoredPosition.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 22443772, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 22443772, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 22443772, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 0 - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_RemovedGameObjects: [] - m_AddedGameObjects: - - targetCorrespondingSourceObject: {fileID: 22443772, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} - insertIndex: -1 - addedObject: {fileID: 791733124} - m_AddedComponents: - - targetCorrespondingSourceObject: {fileID: 180032, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} - insertIndex: -1 - addedObject: {fileID: 2066471073} - m_SourcePrefab: {fileID: 100100000, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} ---- !u!114 &996104069 stripped -MonoBehaviour: - m_CorrespondingSourceObject: {fileID: 11415212, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} - m_PrefabInstance: {fileID: 996104068} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2066471071} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 4446b7192d8bf914ebaf797b64fe8b86, type: 3} - m_Name: - m_EditorClassIdentifier: ---- !u!224 &996104070 stripped -RectTransform: - m_CorrespondingSourceObject: {fileID: 22443772, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} - m_PrefabInstance: {fileID: 996104068} - m_PrefabAsset: {fileID: 0} --- !u!1 &1015707783 GameObject: m_ObjectHideFlags: 0 @@ -14728,7 +14351,6 @@ MonoBehaviour: crowBarSocket: {fileID: 0} cameraSize: 0 cameraPos: {x: 0, y: 0} - CloseBookButton: {fileID: 791733126} faceTransform: {fileID: 1082705360} projector: {fileID: 490060563} --- !u!4 &1102365682 @@ -15510,250 +15132,6 @@ SpriteRenderer: m_WasSpriteAssigned: 1 m_MaskInteraction: 0 m_SpriteSortPoint: 0 ---- !u!21 &1151292738 -Material: - serializedVersion: 8 - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_Name: AllIn1SpriteShader/AllIn1SpriteShader - m_Shader: {fileID: 4800000, guid: a36b7719ff0465b42ab1407d67672c5f, type: 3} - m_Parent: {fileID: 0} - m_ModifiedSerializedProperties: 0 - m_ValidKeywords: - - NEGATIVE_ON - m_InvalidKeywords: [] - m_LightmapFlags: 4 - m_EnableInstancingVariants: 0 - m_DoubleSidedGI: 0 - m_CustomRenderQueue: 3000 - stringTagMap: {} - disabledShaderPasses: [] - m_LockedProperties: - m_SavedProperties: - serializedVersion: 3 - m_TexEnvs: - - _ColorRampTex: - m_Texture: {fileID: 2800000, guid: 279657edc397ece4b8029c727adf6ddc, type: 3} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _ColorRampTexGradient: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _ColorSwapTex: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _DistortTex: - m_Texture: {fileID: 2800000, guid: 7aad8c583ef292e48b06af0d1f2fab97, type: 3} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _FadeBurnTex: - m_Texture: {fileID: 2800000, guid: 677cca399782dea41aedc1d292ecb67d, type: 3} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _FadeTex: - m_Texture: {fileID: 2800000, guid: 7aad8c583ef292e48b06af0d1f2fab97, type: 3} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _GlowTex: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _MainTex: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _OutlineDistortTex: - m_Texture: {fileID: 2800000, guid: 7aad8c583ef292e48b06af0d1f2fab97, type: 3} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _OutlineTex: - m_Texture: {fileID: 2800000, guid: 74087f6d03f233e4a8a142fa01f9e5cf, type: 3} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _OverlayTex: - m_Texture: {fileID: 2800000, guid: 677cca399782dea41aedc1d292ecb67d, type: 3} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _ShineMask: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - m_Ints: [] - m_Floats: - - _Alpha: 1 - - _AlphaCutoffValue: 0.25 - - _AlphaOutlineBlend: 1 - - _AlphaOutlineGlow: 5 - - _AlphaOutlineMinAlpha: 0 - - _AlphaOutlinePower: 1 - - _AlphaRoundThreshold: 0.5 - - _BillboardY: 0 - - _BlurHD: 0 - - _BlurIntensity: 10 - - _Brightness: 0 - - _ChromAberrAlpha: 0.4 - - _ChromAberrAmount: 1 - - _ClipUvDown: 0 - - _ClipUvLeft: 0 - - _ClipUvRight: 0 - - _ClipUvUp: 0 - - _ColorChangeLuminosity: 0 - - _ColorChangeTolerance: 0 - - _ColorChangeTolerance2: 0.25 - - _ColorChangeTolerance3: 0.25 - - _ColorRampBlend: 1 - - _ColorRampLuminosity: 0 - - _ColorRampOutline: 0 - - _ColorSwapBlend: 1 - - _ColorSwapBlueLuminosity: 0.5 - - _ColorSwapGreenLuminosity: 0.5 - - _ColorSwapRedLuminosity: 0.5 - - _Contrast: 1 - - _CullingOption: 0 - - _DistortAmount: 0.5 - - _DistortTexXSpeed: 5 - - _DistortTexYSpeed: 5 - - _EditorDrawers: 6 - - _FadeAmount: -0.1 - - _FadeBurnGlow: 2 - - _FadeBurnTransition: 0.075 - - _FadeBurnWidth: 0.025 - - _FishEyeUvAmount: 0.35 - - _FlickerAlpha: 0 - - _FlickerFreq: 0.2 - - _FlickerPercent: 0.05 - - _GhostBlend: 1 - - _GhostColorBoost: 1 - - _GhostTransparency: 0 - - _GlitchAmount: 3 - - _GlitchSize: 1 - - _Glow: 10 - - _GlowGlobal: 1 - - _GradBlend: 1 - - _GradBoostX: 1.2 - - _GradBoostY: 1.2 - - _GradIsRadial: 0 - - _GrassManualAnim: 1 - - _GrassManualToggle: 0 - - _GrassRadialBend: 0.1 - - _GrassSpeed: 2 - - _GrassWind: 20 - - _GreyscaleBlend: 1 - - _GreyscaleLuminosity: 0 - - _GreyscaleOutline: 0 - - _HandDrawnAmount: 10 - - _HandDrawnSpeed: 5 - - _HitEffectBlend: 1 - - _HitEffectGlow: 5 - - _HologramBlend: 1 - - _HologramMaxAlpha: 0.75 - - _HologramMinAlpha: 0.1 - - _HologramStripesAmount: 0.1 - - _HologramStripesSpeed: 4.5 - - _HologramUnmodAmount: 0 - - _HsvBright: 1 - - _HsvSaturation: 1 - - _HsvShift: 180 - - _InnerOutlineAlpha: 1 - - _InnerOutlineGlow: 4 - - _InnerOutlineThickness: 1 - - _MaxXUV: 1 - - _MaxYUV: 1 - - _MinXUV: 0 - - _MinYUV: 0 - - _MotionBlurAngle: 0.1 - - _MotionBlurDist: 1.25 - - _MyDstMode: 10 - - _MySrcMode: 5 - - _NegativeAmount: 1 - - _OffsetUvX: 0 - - _OffsetUvY: 0 - - _OnlyInnerOutline: 0 - - _OnlyOutline: 0 - - _OutlineAlpha: 1 - - _OutlineDistortAmount: 0.5 - - _OutlineDistortTexXSpeed: 5 - - _OutlineDistortTexYSpeed: 5 - - _OutlineGlow: 1.5 - - _OutlinePixelWidth: 1 - - _OutlineTexXSpeed: 10 - - _OutlineTexYSpeed: 0 - - _OutlineWidth: 0.004 - - _OverlayBlend: 1 - - _OverlayGlow: 1 - - _OverlayTextureScrollXSpeed: 0.25 - - _OverlayTextureScrollYSpeed: 0.25 - - _PinchUvAmount: 0.35 - - _PixelateSize: 32 - - _PosterizeGamma: 0.75 - - _PosterizeNumColors: 8 - - _PosterizeOutline: 0 - - _RadialClip: 45 - - _RadialClip2: 0 - - _RadialStartAngle: 90 - - _RandomSeed: 0 - - _RectSize: 1 - - _RotateUvAmount: 0 - - _RoundWaveSpeed: 2 - - _RoundWaveStrength: 0.7 - - _ShadowAlpha: 0.5 - - _ShadowX: 0.1 - - _ShadowY: -0.05 - - _ShakeUvSpeed: 2.5 - - _ShakeUvX: 1.5 - - _ShakeUvY: 1 - - _ShineGlow: 1 - - _ShineLocation: 0.5 - - _ShineRotate: 0 - - _ShineWidth: 0.1 - - _TextureScrollXSpeed: 1 - - _TextureScrollYSpeed: 0 - - _TwistUvAmount: 1 - - _TwistUvPosX: 0.5 - - _TwistUvPosY: 0.5 - - _TwistUvRadius: 0.75 - - _WarpScale: 0.5 - - _WarpSpeed: 8 - - _WarpStrength: 0.025 - - _WaveAmount: 7 - - _WaveSpeed: 10 - - _WaveStrength: 7.5 - - _WaveX: 0 - - _WaveY: 0.5 - - _ZTestMode: 4 - - _ZWrite: 0 - - _ZoomUvAmount: 0.5 - m_Colors: - - _AlphaOutlineColor: {r: 1, g: 1, b: 1, a: 1} - - _Color: {r: 1, g: 1, b: 1, a: 1} - - _ColorChangeNewCol: {r: 1, g: 1, b: 1, a: 1} - - _ColorChangeNewCol2: {r: 1, g: 1, b: 0, a: 1} - - _ColorChangeNewCol3: {r: 1, g: 1, b: 0, a: 1} - - _ColorChangeTarget: {r: 0, g: 0, b: 0, a: 1} - - _ColorChangeTarget2: {r: 1, g: 0, b: 0, a: 1} - - _ColorChangeTarget3: {r: 1, g: 0, b: 0, a: 1} - - _ColorSwapBlue: {r: 1, g: 1, b: 1, a: 1} - - _ColorSwapGreen: {r: 1, g: 1, b: 1, a: 1} - - _ColorSwapRed: {r: 1, g: 1, b: 1, a: 1} - - _FadeBurnColor: {r: 1, g: 1, b: 0, a: 1} - - _GlowColor: {r: 1, g: 1, b: 1, a: 1} - - _GradBotLeftCol: {r: 0, g: 0, b: 1, a: 1} - - _GradBotRightCol: {r: 0, g: 1, b: 0, a: 1} - - _GradTopLeftCol: {r: 1, g: 0, b: 0, a: 1} - - _GradTopRightCol: {r: 1, g: 1, b: 0, a: 1} - - _GreyscaleTintColor: {r: 1, g: 1, b: 1, a: 1} - - _HitEffectColor: {r: 1, g: 1, b: 1, a: 1} - - _HologramStripeColor: {r: 0, g: 1, b: 1, a: 1} - - _InnerOutlineColor: {r: 1, g: 0, b: 0, a: 1} - - _OutlineColor: {r: 1, g: 1, b: 1, a: 1} - - _OverlayColor: {r: 1, g: 1, b: 1, a: 1} - - _ShadowColor: {r: 0, g: 0, b: 0, a: 1} - - _ShineColor: {r: 1, g: 1, b: 1, a: 1} - m_BuildTextureStacks: [] --- !u!1 &1177703833 GameObject: m_ObjectHideFlags: 0 @@ -16245,138 +15623,6 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1210226156} m_CullTransparentMesh: 1 ---- !u!1 &1210536472 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 1210536473} - - component: {fileID: 1210536476} - - component: {fileID: 1210536475} - - component: {fileID: 1210536474} - m_Layer: 5 - m_Name: Button - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &1210536473 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1210536472} - 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: 1654679524} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 1, y: 0} - m_AnchorMax: {x: 1, y: 0} - m_AnchoredPosition: {x: -1845, y: 425} - m_SizeDelta: {x: 150, y: 150} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!114 &1210536474 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1210536472} - 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: 1210536475} - m_OnClick: - m_PersistentCalls: - m_Calls: - - m_Target: {fileID: 886733273} - m_TargetAssemblyTypeName: BookManager, Assembly-CSharp - m_MethodName: OpenBook - 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 &1210536475 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1210536472} - 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: 9185966951872691035, guid: d8489dc41f8c4c9479ba48d5bf39e02e, 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 &1210536476 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1210536472} - m_CullTransparentMesh: 1 --- !u!1 &1213839930 GameObject: m_ObjectHideFlags: 0 @@ -23123,109 +22369,6 @@ RectTransform: m_AnchoredPosition: {x: 0, y: 5.376344} m_SizeDelta: {x: 16, y: 9} m_Pivot: {x: 0.5, y: 0.5} ---- !u!1 &1654679520 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 1654679524} - - component: {fileID: 1654679523} - - component: {fileID: 1654679522} - - component: {fileID: 1654679521} - m_Layer: 5 - m_Name: BookCanvas - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!114 &1654679521 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1654679520} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: dc42784cf147c0c48a680349fa168899, type: 3} - m_Name: - m_EditorClassIdentifier: - m_IgnoreReversedGraphics: 1 - m_BlockingObjects: 0 - m_BlockingMask: - serializedVersion: 2 - m_Bits: 4294967295 ---- !u!114 &1654679522 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1654679520} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3} - m_Name: - m_EditorClassIdentifier: - m_UiScaleMode: 0 - m_ReferencePixelsPerUnit: 100 - m_ScaleFactor: 1 - m_ReferenceResolution: {x: 800, y: 600} - m_ScreenMatchMode: 0 - m_MatchWidthOrHeight: 0 - m_PhysicalUnit: 3 - m_FallbackScreenDPI: 96 - m_DefaultSpriteDPI: 96 - m_DynamicPixelsPerUnit: 1 - m_PresetInfoIsWorld: 0 ---- !u!223 &1654679523 -Canvas: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1654679520} - m_Enabled: 1 - serializedVersion: 3 - m_RenderMode: 0 - m_Camera: {fileID: 0} - m_PlaneDistance: 100 - m_PixelPerfect: 0 - m_ReceivesEvents: 1 - m_OverrideSorting: 0 - m_OverridePixelPerfect: 0 - m_SortingBucketNormalizedSize: 0 - m_VertexColorAlwaysGammaSpace: 0 - m_AdditionalShaderChannelsFlag: 25 - m_UpdateRectTransformForStandalone: 0 - m_SortingLayerID: 0 - m_SortingOrder: 6 - m_TargetDisplay: 0 ---- !u!224 &1654679524 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1654679520} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 0, y: 0, z: 0} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 996104070} - - {fileID: 1210536473} - m_Father: {fileID: 0} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 0, y: 0} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 0, y: 0} - m_Pivot: {x: 0, y: 0} --- !u!1 &1655131827 GameObject: m_ObjectHideFlags: 0 @@ -29834,30 +28977,6 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 2060600358} m_CullTransparentMesh: 1 ---- !u!1 &2066471071 stripped -GameObject: - m_CorrespondingSourceObject: {fileID: 180032, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} - m_PrefabInstance: {fileID: 996104068} - m_PrefabAsset: {fileID: 0} ---- !u!114 &2066471073 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2066471071} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: bef881b4c6ed71248b493dcd92c831a5, type: 3} - m_Name: - m_EditorClassIdentifier: - Mode: 0 - PageFlipTime: 1 - TimeBetweenPages: 1 - DelayBeforeStarting: 0 - AutoStartFlip: 1 - ControledBook: {fileID: 996104069} - AnimationFramesCount: 40 --- !u!1 &2068085456 GameObject: m_ObjectHideFlags: 0 @@ -31585,7 +30704,5 @@ SceneRoots: - {fileID: 1141076862} - {fileID: 1182811777} - {fileID: 1761949062} - - {fileID: 886733272} - - {fileID: 1654679524} - {fileID: 1278583898} - {fileID: 972406612} diff --git a/Assets/Plugins/Book-Page Curl/Example/sprites/BookDirectory.png b/Assets/Resources/Art/Book/BookDirectory.png similarity index 100% rename from Assets/Plugins/Book-Page Curl/Example/sprites/BookDirectory.png rename to Assets/Resources/Art/Book/BookDirectory.png diff --git a/Assets/Plugins/Book-Page Curl/Example/sprites/BookDirectory.png.meta b/Assets/Resources/Art/Book/BookDirectory.png.meta similarity index 89% rename from Assets/Plugins/Book-Page Curl/Example/sprites/BookDirectory.png.meta rename to Assets/Resources/Art/Book/BookDirectory.png.meta index 307f4e4e6..4f49eab52 100644 --- a/Assets/Plugins/Book-Page Curl/Example/sprites/BookDirectory.png.meta +++ b/Assets/Resources/Art/Book/BookDirectory.png.meta @@ -106,6 +106,19 @@ TextureImporter: 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 spriteSheet: serializedVersion: 2 sprites: [] diff --git a/Assets/Plugins/Book-Page Curl/Example/sprites/BookPeipeiEye1.png b/Assets/Resources/Art/Book/BookPeipeiEye1.png similarity index 100% rename from Assets/Plugins/Book-Page Curl/Example/sprites/BookPeipeiEye1.png rename to Assets/Resources/Art/Book/BookPeipeiEye1.png diff --git a/Assets/Plugins/Book-Page Curl/Example/sprites/BookPeipeiEye1.png.meta b/Assets/Resources/Art/Book/BookPeipeiEye1.png.meta similarity index 89% rename from Assets/Plugins/Book-Page Curl/Example/sprites/BookPeipeiEye1.png.meta rename to Assets/Resources/Art/Book/BookPeipeiEye1.png.meta index ffd45fa9d..04ce7b178 100644 --- a/Assets/Plugins/Book-Page Curl/Example/sprites/BookPeipeiEye1.png.meta +++ b/Assets/Resources/Art/Book/BookPeipeiEye1.png.meta @@ -106,6 +106,19 @@ TextureImporter: 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 spriteSheet: serializedVersion: 2 sprites: [] diff --git a/Assets/Plugins/Book-Page Curl/Example/sprites/BookPeipeiEye2.png b/Assets/Resources/Art/Book/BookPeipeiEye2.png similarity index 100% rename from Assets/Plugins/Book-Page Curl/Example/sprites/BookPeipeiEye2.png rename to Assets/Resources/Art/Book/BookPeipeiEye2.png diff --git a/Assets/Plugins/Book-Page Curl/Example/sprites/BookPeipeiEye2.png.meta b/Assets/Resources/Art/Book/BookPeipeiEye2.png.meta similarity index 89% rename from Assets/Plugins/Book-Page Curl/Example/sprites/BookPeipeiEye2.png.meta rename to Assets/Resources/Art/Book/BookPeipeiEye2.png.meta index 01bdcac15..4e39fbfe4 100644 --- a/Assets/Plugins/Book-Page Curl/Example/sprites/BookPeipeiEye2.png.meta +++ b/Assets/Resources/Art/Book/BookPeipeiEye2.png.meta @@ -106,6 +106,19 @@ TextureImporter: 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 spriteSheet: serializedVersion: 2 sprites: [] diff --git a/Assets/Plugins/Book-Page Curl/Example/sprites/BookPeipeiMain.png b/Assets/Resources/Art/Book/BookPeipeiMain.png similarity index 100% rename from Assets/Plugins/Book-Page Curl/Example/sprites/BookPeipeiMain.png rename to Assets/Resources/Art/Book/BookPeipeiMain.png diff --git a/Assets/Plugins/Book-Page Curl/Example/sprites/BookPeipeiMain.png.meta b/Assets/Resources/Art/Book/BookPeipeiMain.png.meta similarity index 89% rename from Assets/Plugins/Book-Page Curl/Example/sprites/BookPeipeiMain.png.meta rename to Assets/Resources/Art/Book/BookPeipeiMain.png.meta index 5e8c6d45e..2eb8f1e15 100644 --- a/Assets/Plugins/Book-Page Curl/Example/sprites/BookPeipeiMain.png.meta +++ b/Assets/Resources/Art/Book/BookPeipeiMain.png.meta @@ -106,6 +106,19 @@ TextureImporter: 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 spriteSheet: serializedVersion: 2 sprites: [] diff --git a/Assets/Plugins/Book-Page Curl/Example/sprites/BookPeipeiUF1.png b/Assets/Resources/Art/Book/BookPeipeiUF1.png similarity index 100% rename from Assets/Plugins/Book-Page Curl/Example/sprites/BookPeipeiUF1.png rename to Assets/Resources/Art/Book/BookPeipeiUF1.png diff --git a/Assets/Plugins/Book-Page Curl/Example/sprites/BookPeipeiUF1.png.meta b/Assets/Resources/Art/Book/BookPeipeiUF1.png.meta similarity index 89% rename from Assets/Plugins/Book-Page Curl/Example/sprites/BookPeipeiUF1.png.meta rename to Assets/Resources/Art/Book/BookPeipeiUF1.png.meta index 6f35802d7..de66e64e6 100644 --- a/Assets/Plugins/Book-Page Curl/Example/sprites/BookPeipeiUF1.png.meta +++ b/Assets/Resources/Art/Book/BookPeipeiUF1.png.meta @@ -106,6 +106,19 @@ TextureImporter: 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 spriteSheet: serializedVersion: 2 sprites: [] diff --git a/Assets/Plugins/Book-Page Curl/Example/sprites/BookPeipeiUF2.png b/Assets/Resources/Art/Book/BookPeipeiUF2.png similarity index 100% rename from Assets/Plugins/Book-Page Curl/Example/sprites/BookPeipeiUF2.png rename to Assets/Resources/Art/Book/BookPeipeiUF2.png diff --git a/Assets/Plugins/Book-Page Curl/Example/sprites/BookPeipeiUF2.png.meta b/Assets/Resources/Art/Book/BookPeipeiUF2.png.meta similarity index 89% rename from Assets/Plugins/Book-Page Curl/Example/sprites/BookPeipeiUF2.png.meta rename to Assets/Resources/Art/Book/BookPeipeiUF2.png.meta index 93b38e399..780c857ce 100644 --- a/Assets/Plugins/Book-Page Curl/Example/sprites/BookPeipeiUF2.png.meta +++ b/Assets/Resources/Art/Book/BookPeipeiUF2.png.meta @@ -106,6 +106,19 @@ TextureImporter: 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 spriteSheet: serializedVersion: 2 sprites: [] diff --git a/Assets/Plugins/Book-Page Curl/Example/sprites/BookPeipeiUF3.png b/Assets/Resources/Art/Book/BookPeipeiUF3.png similarity index 100% rename from Assets/Plugins/Book-Page Curl/Example/sprites/BookPeipeiUF3.png rename to Assets/Resources/Art/Book/BookPeipeiUF3.png diff --git a/Assets/Plugins/Book-Page Curl/Example/sprites/BookPeipeiUF3.png.meta b/Assets/Resources/Art/Book/BookPeipeiUF3.png.meta similarity index 89% rename from Assets/Plugins/Book-Page Curl/Example/sprites/BookPeipeiUF3.png.meta rename to Assets/Resources/Art/Book/BookPeipeiUF3.png.meta index 4d585cac8..f220d0454 100644 --- a/Assets/Plugins/Book-Page Curl/Example/sprites/BookPeipeiUF3.png.meta +++ b/Assets/Resources/Art/Book/BookPeipeiUF3.png.meta @@ -106,6 +106,19 @@ TextureImporter: 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 spriteSheet: serializedVersion: 2 sprites: [] diff --git a/Assets/Plugins/Book-Page Curl/Example/sprites/BookPeipeiUF4.png b/Assets/Resources/Art/Book/BookPeipeiUF4.png similarity index 100% rename from Assets/Plugins/Book-Page Curl/Example/sprites/BookPeipeiUF4.png rename to Assets/Resources/Art/Book/BookPeipeiUF4.png diff --git a/Assets/Plugins/Book-Page Curl/Example/sprites/BookPeipeiUF4.png.meta b/Assets/Resources/Art/Book/BookPeipeiUF4.png.meta similarity index 89% rename from Assets/Plugins/Book-Page Curl/Example/sprites/BookPeipeiUF4.png.meta rename to Assets/Resources/Art/Book/BookPeipeiUF4.png.meta index f8f048ae9..43c1df91f 100644 --- a/Assets/Plugins/Book-Page Curl/Example/sprites/BookPeipeiUF4.png.meta +++ b/Assets/Resources/Art/Book/BookPeipeiUF4.png.meta @@ -106,6 +106,19 @@ TextureImporter: 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 spriteSheet: serializedVersion: 2 sprites: [] diff --git a/Assets/Plugins/Book-Page Curl/Example/sprites/BookPeipeiUF5.png b/Assets/Resources/Art/Book/BookPeipeiUF5.png similarity index 100% rename from Assets/Plugins/Book-Page Curl/Example/sprites/BookPeipeiUF5.png rename to Assets/Resources/Art/Book/BookPeipeiUF5.png diff --git a/Assets/Plugins/Book-Page Curl/Example/sprites/BookPeipeiUF5.png.meta b/Assets/Resources/Art/Book/BookPeipeiUF5.png.meta similarity index 89% rename from Assets/Plugins/Book-Page Curl/Example/sprites/BookPeipeiUF5.png.meta rename to Assets/Resources/Art/Book/BookPeipeiUF5.png.meta index 21c524167..843a8e6a0 100644 --- a/Assets/Plugins/Book-Page Curl/Example/sprites/BookPeipeiUF5.png.meta +++ b/Assets/Resources/Art/Book/BookPeipeiUF5.png.meta @@ -106,6 +106,19 @@ TextureImporter: 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 spriteSheet: serializedVersion: 2 sprites: [] diff --git a/Assets/Resources/Yarn/Book/Book1.yarn b/Assets/Resources/Yarn/Book/Book1.yarn index 3ed9e6652..1c3044c39 100644 --- a/Assets/Resources/Yarn/Book/Book1.yarn +++ b/Assets/Resources/Yarn/Book/Book1.yarn @@ -2,13 +2,13 @@ tags: --- <> -<> - +//<> ->打开书并翻到第四页 <> + <> <> //页码需要在编辑内找到book去配置 -[command name=activate_socket_choice /] +[command name=listen_closeBook /] [options /] ->CloseBook 我: 嗯,刚刚的内容很有趣 diff --git a/Assets/Resources/Yarn/PeipeiTalk/PeipeiTalk1.yarn b/Assets/Resources/Yarn/PeipeiTalk/PeipeiTalk1.yarn index c5671e00b..3904ec8c4 100644 --- a/Assets/Resources/Yarn/PeipeiTalk/PeipeiTalk1.yarn +++ b/Assets/Resources/Yarn/PeipeiTalk/PeipeiTalk1.yarn @@ -22,9 +22,9 @@ position: 66,-976 我: 销售大赛…给机器人销售罐头?为什么呢…… ???: 就是这里了,员工诊所。身体检查一定会对你的生产效率有帮助的。 我: 看起来有人来了。 -<> +<> ///表示UF模块在当前维修阶段是否已经进入过了 -<> +<> <> <> @@ -106,21 +106,21 @@ position: 71,-262 <> ///确认当前的试图状态为头部的概览视图 <> -<> -<> -<> +<> +<> +<> ///表示视觉模块在当前维修阶段是否已经进入过了 -<> +<> ///表示UF模块在当前维修阶段是否已经进入过了 -<> +<> ///表示记忆模块在当前维修阶段是否已经进入过了 -<> -<> +<> +<> ///表示UF模块在当前维修阶段是否已经进入过了 -<> +<> ///表示记忆模块在当前维修阶段是否已经进入过了 -<> -<> +<> +<> 我: 好了,先简单检查下你各个头部模块的状态吧。 [command name=activate_socket_choice /] <> @@ -129,32 +129,32 @@ title: Choice position: 76,21 --- <> -<> -<> +<> +<> 我: 我还是第一次看美工的头部…看起来和别人的有些不一样。 我: 总之,先插线检查一下每个模块吧。 <> -<> +<> <> <> <> -<> +<> 我: 她的视觉还保留有想象力,不过这不应该影响工作,看来只有看看UF才知道原因了 - <> -<> + <> +<> 我: 她的UF无法调用到足够的记忆素材,需要看看是什么模块占用到了 - <> -<> + <> +<> 我: 她的UF无法调用到足够的记忆素材,这跟她视觉的报错有关系吗 - <> -<> - <> + <> +<> + <> 我: 看起来是有些记忆被视觉占用了,导致UF无法读取,需要检查下记忆模块处理一下这些被占用的记忆 ///刷新任务,提示检查视觉 <> <> <> -<> +<> 我: 我好像明白了…… <> <> @@ -165,8 +165,8 @@ position: 76,21 -> UFView //插入UF模块 <> - <> - <> + <> + <> ///Q:怎么管理右上角报错屏幕的文本? ///Q:每一次插入的文本不一样,怎么管理? ///Q:手册的文本怎么管理? @@ -214,7 +214,7 @@ position: 76,21 ->先看看其他模块 我: 不着急,我们先把其他部分检查完。 <> - <> + <> 我: 我需要进行快速绘图才能知道UF具体出现了什么问题…… ->进行绘图测试 我: 来吧,佩佩。 @@ -230,8 +230,8 @@ position: 76,21 -> EyeView //插入Eye模块 <> - <> - <> + <> + <> 信息: 被质询的记忆访问,特征码:219CD0 我: 这个报错信息是什么意思?……最好进去看看。 <> @@ -239,7 +239,7 @@ position: 76,21 <> ->先看看其他模块 <> - <> + <> 我: 视觉的报错需要查查 ->检查视觉 <> @@ -253,8 +253,8 @@ position: 76,21 -> MemoryView //插入Memory模块 <> - <> - <> + <> + <> 我: 一切问题看起来都收束在了这里……记忆模块。 我: 让我们看一下究竟是什么记忆影响了佩佩的视觉和UF模块吧。 ->输入特征码:E1F32B7 @@ -354,7 +354,7 @@ position: 553,9 //////Q:在得出正确结论之后,要以某种方式获得MEM的权限 ///这里最好弹出去看手册和特征码 <> -<> +<> 信息: 被质询的记忆访问,特征码:E1F32B7 我: 这个特征码是什么? 我: 先不管它,我需要对佩佩的视觉模块病情做出诊断。 @@ -441,14 +441,14 @@ position: -207,-227 佩佩: 占用是什么? 我: 嗯……简单来说,UF需要使用记忆素材来绘图,但是你身体其他的模块已经在用这部分记忆了,所以UF受到干扰,绘制的图片颜色不正确。 佩佩: 也就是说我的工作表现不佳不是我的能力原因,而是因为我身体里面有些东西…出问题了? - <> + <> 我: 不好说,我需要先找到是什么占用了这个记忆,然后获得特征码去看记忆。 <> 我: 不好说,但我感觉应该跟刚才视觉模块生成的特征码有关系,我需要检查一下记忆模块 <> 佩佩: 好的,麻烦医生了。 //标记现在已经访问主视角下的UF模块了 - <> + <> <> ->UF的逻辑存在问题,导致绘制错图案 我: 好像她的表现不是这样,再想想或者再查查书吧 @@ -508,7 +508,7 @@ position: 557,290 佩佩: 停下,医生……快停下…… 我: 感觉反胃是吗?记忆引起的情绪波动导致的,我这就退出来。 - <> + <> <> <> === @@ -556,7 +556,7 @@ position: 421,440 ///<<签名>> ///<<任务提示更新:进行视觉-记忆桥截断术>> 我: 好的,那么我们开始吧。 -<> +<> <> <> === @@ -580,8 +580,8 @@ position: 85,821 佩佩: 呼…… 佩佩: 好像……好多了。 我: 进视觉和UF模块检查一下吧。 - <> - <> + <> + <> <> -> MemoryUFScissor 我: 我们要剪的不是这个吧 @@ -594,8 +594,8 @@ position: 85,821 // 佩佩: 呼…… // 佩佩: 好像……好多了。 // 我: 进视觉和UF模块检查一下吧。 -// <> -// <> +// <> +// <> // <> === @@ -603,22 +603,22 @@ title: review position: 85,1052 --- <> -<> +<> ->检查视觉 <> ->进行绘图测试 <> -<> +<> 我: 视觉系统正常,我们再看看UF是不是恢复正常了吧。这才是最终的目的。 ->进行绘图测试 <> -<> +<> 我: UF正常了,谨慎起见,我们还是检查一下视觉模块吧。 ->检查视觉 <> -<> +<> 我: 好,都没问题了。 -->结束治疗<> +->结束治疗<> <> <> @@ -643,7 +643,7 @@ position: 441,1082 ///<<任务提示更新:检查视觉模块完成>> 我: 看来成功了。你的色觉想象被阻断了。 我: (虽然“成功”这个说法在这里实在太奇怪了……) -<> +<> <> === @@ -656,7 +656,7 @@ position: -171,1128 我: 佩佩,我们用UF画一张图吧 <> 我: 总算是好了。你恢复正确的绘制能力了 -<> +<> <> === diff --git a/Assets/Scenes/Persistence.unity b/Assets/Scenes/Persistence.unity index c0758f427..988f5c8b1 100644 --- a/Assets/Scenes/Persistence.unity +++ b/Assets/Scenes/Persistence.unity @@ -1233,10 +1233,10 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: 18a3ec3914131d44199ae33902edf159, type: 3} m_Name: m_EditorClassIdentifier: - runMode: 1 + runMode: 0 firstTalkSO: {fileID: 11400000, guid: 10601ce26230723479d875a630f15732, type: 2} clinicScene: ClinicScene - testYarnProject: PeipeiTalk + testYarnProject: Task --- !u!4 &719228339 Transform: m_ObjectHideFlags: 0 @@ -1402,6 +1402,201 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 761395782} m_CullTransparentMesh: 1 +--- !u!1 &791733123 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 791733124} + - component: {fileID: 791733128} + - component: {fileID: 791733127} + - component: {fileID: 791733126} + - component: {fileID: 791733125} + m_Layer: 5 + m_Name: Button + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &791733124 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 791733123} + 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: 996104070} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 1, y: 1} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 144, y: 12} + m_SizeDelta: {x: 150, y: 150} + m_Pivot: {x: 1, y: 1} +--- !u!114 &791733125 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 791733123} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: ee158225ee1e59f4791627785501d950, type: 3} + m_Name: + m_EditorClassIdentifier: + shaderTypes: 0 + normalStrength: 5 + normalSmoothing: 1 + computingNormal: 0 +--- !u!114 &791733126 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 791733123} + 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: 791733127} + m_OnClick: + m_PersistentCalls: + m_Calls: + - m_Target: {fileID: 886733273} + m_TargetAssemblyTypeName: BookManager, Assembly-CSharp + m_MethodName: CloseBook + 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 &791733127 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 791733123} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 1151292738} + 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: f1412f68a2eaf3f46b22686332552ed2, 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 &791733128 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 791733123} + m_CullTransparentMesh: 1 +--- !u!1 &886733270 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 886733272} + - component: {fileID: 886733273} + m_Layer: 0 + m_Name: BookManager + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &886733272 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 886733270} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0.49306798, y: -0.30097836, z: 0.10314257} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &886733273 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 886733270} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 400c1e67877b4014fa862547c432b0b8, type: 3} + m_Name: + m_EditorClassIdentifier: + book: {fileID: 996104069} + CloseBookButton: {fileID: 791733126} --- !u!1 &973075152 GameObject: m_ObjectHideFlags: 0 @@ -1563,6 +1758,189 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: 429e0ca7a1096a1478e50195b88539b8, type: 3} m_Name: m_EditorClassIdentifier: +--- !u!1001 &996104068 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + serializedVersion: 3 + m_TransformParent: {fileID: 1654679524} + m_Modifications: + - target: {fileID: 180032, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} + propertyPath: m_Name + value: Book + objectReference: {fileID: 0} + - target: {fileID: 180032, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} + propertyPath: m_IsActive + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 11415212, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} + propertyPath: canvas + value: + objectReference: {fileID: 0} + - target: {fileID: 11415212, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} + propertyPath: background + value: + objectReference: {fileID: 21300000, guid: b38f1555bc2bc5246a7c1a87e231e51c, type: 3} + - target: {fileID: 11415212, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} + propertyPath: interactable + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 11415212, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} + propertyPath: enableShadowEffect + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 11415212, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} + propertyPath: bookPages.Array.size + value: 9 + objectReference: {fileID: 0} + - target: {fileID: 11415212, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} + propertyPath: bookPages.Array.data[0] + value: + objectReference: {fileID: 21300000, guid: 9392513c59cb1ca47baf6defed520dcd, type: 3} + - target: {fileID: 11415212, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} + propertyPath: bookPages.Array.data[1] + value: + objectReference: {fileID: 21300000, guid: c966187eb55e5c444904f7a9f26d6b07, type: 3} + - target: {fileID: 11415212, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} + propertyPath: bookPages.Array.data[2] + value: + objectReference: {fileID: 21300000, guid: df495620f9bf96445ae3617ceab7ede3, type: 3} + - target: {fileID: 11415212, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} + propertyPath: bookPages.Array.data[3] + value: + objectReference: {fileID: 21300000, guid: f2b1bc425b2b85647919ad007d15e58b, type: 3} + - target: {fileID: 11415212, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} + propertyPath: bookPages.Array.data[4] + value: + objectReference: {fileID: 21300000, guid: 1bfe845694410a74e8a61ff800d087bc, type: 3} + - target: {fileID: 11415212, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} + propertyPath: bookPages.Array.data[5] + value: + objectReference: {fileID: 21300000, guid: 7c029f1c305c3ac42a82b08adceeb436, type: 3} + - target: {fileID: 11415212, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} + propertyPath: bookPages.Array.data[6] + value: + objectReference: {fileID: 21300000, guid: e2c196b5b1657504d8e301c56e4274e0, type: 3} + - target: {fileID: 11415212, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} + propertyPath: bookPages.Array.data[7] + value: + objectReference: {fileID: 21300000, guid: fa6ef31afd6fca245909b693fca01aed, type: 3} + - target: {fileID: 11415212, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} + propertyPath: bookPages.Array.data[8] + value: + objectReference: {fileID: 21300000, guid: 7edd835ee75d58a4185fe26e8e31d79f, type: 3} + - target: {fileID: 11430880, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} + propertyPath: m_Sprite + value: + objectReference: {fileID: 21300000, guid: b38f1555bc2bc5246a7c1a87e231e51c, type: 3} + - target: {fileID: 22443772, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} + propertyPath: m_Pivot.x + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 22443772, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} + propertyPath: m_Pivot.y + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 22443772, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} + propertyPath: m_AnchorMax.x + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 22443772, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} + propertyPath: m_AnchorMax.y + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 22443772, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} + propertyPath: m_AnchorMin.x + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 22443772, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} + propertyPath: m_AnchorMin.y + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 22443772, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} + propertyPath: m_SizeDelta.x + value: 1116 + objectReference: {fileID: 0} + - target: {fileID: 22443772, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} + propertyPath: m_SizeDelta.y + value: 861 + objectReference: {fileID: 0} + - target: {fileID: 22443772, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 22443772, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 22443772, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 22443772, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 22443772, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 22443772, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 22443772, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 22443772, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 22443772, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 22443772, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 22443772, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 22443772, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: + - targetCorrespondingSourceObject: {fileID: 22443772, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} + insertIndex: -1 + addedObject: {fileID: 791733124} + m_AddedComponents: + - targetCorrespondingSourceObject: {fileID: 180032, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} + insertIndex: -1 + addedObject: {fileID: 2066471073} + m_SourcePrefab: {fileID: 100100000, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} +--- !u!114 &996104069 stripped +MonoBehaviour: + m_CorrespondingSourceObject: {fileID: 11415212, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} + m_PrefabInstance: {fileID: 996104068} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2066471071} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4446b7192d8bf914ebaf797b64fe8b86, type: 3} + m_Name: + m_EditorClassIdentifier: +--- !u!224 &996104070 stripped +RectTransform: + m_CorrespondingSourceObject: {fileID: 22443772, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} + m_PrefabInstance: {fileID: 996104068} + m_PrefabAsset: {fileID: 0} --- !u!1 &1009826576 GameObject: m_ObjectHideFlags: 0 @@ -1645,6 +2023,382 @@ MonoBehaviour: continueActionKeyCode: 32 continueActionButtonName: Jump continueActionOnButtonRelease: 0 +--- !u!21 &1151292738 +Material: + serializedVersion: 8 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: AllIn1SpriteShader/AllIn1SpriteShader + m_Shader: {fileID: 4800000, guid: a36b7719ff0465b42ab1407d67672c5f, type: 3} + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: + - NEGATIVE_ON + m_InvalidKeywords: [] + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: 3000 + stringTagMap: {} + disabledShaderPasses: [] + m_LockedProperties: + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _ColorRampTex: + m_Texture: {fileID: 2800000, guid: 279657edc397ece4b8029c727adf6ddc, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ColorRampTexGradient: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ColorSwapTex: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DistortTex: + m_Texture: {fileID: 2800000, guid: 7aad8c583ef292e48b06af0d1f2fab97, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _FadeBurnTex: + m_Texture: {fileID: 2800000, guid: 677cca399782dea41aedc1d292ecb67d, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _FadeTex: + m_Texture: {fileID: 2800000, guid: 7aad8c583ef292e48b06af0d1f2fab97, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _GlowTex: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MainTex: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OutlineDistortTex: + m_Texture: {fileID: 2800000, guid: 7aad8c583ef292e48b06af0d1f2fab97, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OutlineTex: + m_Texture: {fileID: 2800000, guid: 74087f6d03f233e4a8a142fa01f9e5cf, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OverlayTex: + m_Texture: {fileID: 2800000, guid: 677cca399782dea41aedc1d292ecb67d, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ShineMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: [] + m_Floats: + - _Alpha: 1 + - _AlphaCutoffValue: 0.25 + - _AlphaOutlineBlend: 1 + - _AlphaOutlineGlow: 5 + - _AlphaOutlineMinAlpha: 0 + - _AlphaOutlinePower: 1 + - _AlphaRoundThreshold: 0.5 + - _BillboardY: 0 + - _BlurHD: 0 + - _BlurIntensity: 10 + - _Brightness: 0 + - _ChromAberrAlpha: 0.4 + - _ChromAberrAmount: 1 + - _ClipUvDown: 0 + - _ClipUvLeft: 0 + - _ClipUvRight: 0 + - _ClipUvUp: 0 + - _ColorChangeLuminosity: 0 + - _ColorChangeTolerance: 0 + - _ColorChangeTolerance2: 0.25 + - _ColorChangeTolerance3: 0.25 + - _ColorRampBlend: 1 + - _ColorRampLuminosity: 0 + - _ColorRampOutline: 0 + - _ColorSwapBlend: 1 + - _ColorSwapBlueLuminosity: 0.5 + - _ColorSwapGreenLuminosity: 0.5 + - _ColorSwapRedLuminosity: 0.5 + - _Contrast: 1 + - _CullingOption: 0 + - _DistortAmount: 0.5 + - _DistortTexXSpeed: 5 + - _DistortTexYSpeed: 5 + - _EditorDrawers: 6 + - _FadeAmount: -0.1 + - _FadeBurnGlow: 2 + - _FadeBurnTransition: 0.075 + - _FadeBurnWidth: 0.025 + - _FishEyeUvAmount: 0.35 + - _FlickerAlpha: 0 + - _FlickerFreq: 0.2 + - _FlickerPercent: 0.05 + - _GhostBlend: 1 + - _GhostColorBoost: 1 + - _GhostTransparency: 0 + - _GlitchAmount: 3 + - _GlitchSize: 1 + - _Glow: 10 + - _GlowGlobal: 1 + - _GradBlend: 1 + - _GradBoostX: 1.2 + - _GradBoostY: 1.2 + - _GradIsRadial: 0 + - _GrassManualAnim: 1 + - _GrassManualToggle: 0 + - _GrassRadialBend: 0.1 + - _GrassSpeed: 2 + - _GrassWind: 20 + - _GreyscaleBlend: 1 + - _GreyscaleLuminosity: 0 + - _GreyscaleOutline: 0 + - _HandDrawnAmount: 10 + - _HandDrawnSpeed: 5 + - _HitEffectBlend: 1 + - _HitEffectGlow: 5 + - _HologramBlend: 1 + - _HologramMaxAlpha: 0.75 + - _HologramMinAlpha: 0.1 + - _HologramStripesAmount: 0.1 + - _HologramStripesSpeed: 4.5 + - _HologramUnmodAmount: 0 + - _HsvBright: 1 + - _HsvSaturation: 1 + - _HsvShift: 180 + - _InnerOutlineAlpha: 1 + - _InnerOutlineGlow: 4 + - _InnerOutlineThickness: 1 + - _MaxXUV: 1 + - _MaxYUV: 1 + - _MinXUV: 0 + - _MinYUV: 0 + - _MotionBlurAngle: 0.1 + - _MotionBlurDist: 1.25 + - _MyDstMode: 10 + - _MySrcMode: 5 + - _NegativeAmount: 1 + - _OffsetUvX: 0 + - _OffsetUvY: 0 + - _OnlyInnerOutline: 0 + - _OnlyOutline: 0 + - _OutlineAlpha: 1 + - _OutlineDistortAmount: 0.5 + - _OutlineDistortTexXSpeed: 5 + - _OutlineDistortTexYSpeed: 5 + - _OutlineGlow: 1.5 + - _OutlinePixelWidth: 1 + - _OutlineTexXSpeed: 10 + - _OutlineTexYSpeed: 0 + - _OutlineWidth: 0.004 + - _OverlayBlend: 1 + - _OverlayGlow: 1 + - _OverlayTextureScrollXSpeed: 0.25 + - _OverlayTextureScrollYSpeed: 0.25 + - _PinchUvAmount: 0.35 + - _PixelateSize: 32 + - _PosterizeGamma: 0.75 + - _PosterizeNumColors: 8 + - _PosterizeOutline: 0 + - _RadialClip: 45 + - _RadialClip2: 0 + - _RadialStartAngle: 90 + - _RandomSeed: 0 + - _RectSize: 1 + - _RotateUvAmount: 0 + - _RoundWaveSpeed: 2 + - _RoundWaveStrength: 0.7 + - _ShadowAlpha: 0.5 + - _ShadowX: 0.1 + - _ShadowY: -0.05 + - _ShakeUvSpeed: 2.5 + - _ShakeUvX: 1.5 + - _ShakeUvY: 1 + - _ShineGlow: 1 + - _ShineLocation: 0.5 + - _ShineRotate: 0 + - _ShineWidth: 0.1 + - _TextureScrollXSpeed: 1 + - _TextureScrollYSpeed: 0 + - _TwistUvAmount: 1 + - _TwistUvPosX: 0.5 + - _TwistUvPosY: 0.5 + - _TwistUvRadius: 0.75 + - _WarpScale: 0.5 + - _WarpSpeed: 8 + - _WarpStrength: 0.025 + - _WaveAmount: 7 + - _WaveSpeed: 10 + - _WaveStrength: 7.5 + - _WaveX: 0 + - _WaveY: 0.5 + - _ZTestMode: 4 + - _ZWrite: 0 + - _ZoomUvAmount: 0.5 + m_Colors: + - _AlphaOutlineColor: {r: 1, g: 1, b: 1, a: 1} + - _Color: {r: 1, g: 1, b: 1, a: 1} + - _ColorChangeNewCol: {r: 1, g: 1, b: 1, a: 1} + - _ColorChangeNewCol2: {r: 1, g: 1, b: 0, a: 1} + - _ColorChangeNewCol3: {r: 1, g: 1, b: 0, a: 1} + - _ColorChangeTarget: {r: 0, g: 0, b: 0, a: 1} + - _ColorChangeTarget2: {r: 1, g: 0, b: 0, a: 1} + - _ColorChangeTarget3: {r: 1, g: 0, b: 0, a: 1} + - _ColorSwapBlue: {r: 1, g: 1, b: 1, a: 1} + - _ColorSwapGreen: {r: 1, g: 1, b: 1, a: 1} + - _ColorSwapRed: {r: 1, g: 1, b: 1, a: 1} + - _FadeBurnColor: {r: 1, g: 1, b: 0, a: 1} + - _GlowColor: {r: 1, g: 1, b: 1, a: 1} + - _GradBotLeftCol: {r: 0, g: 0, b: 1, a: 1} + - _GradBotRightCol: {r: 0, g: 1, b: 0, a: 1} + - _GradTopLeftCol: {r: 1, g: 0, b: 0, a: 1} + - _GradTopRightCol: {r: 1, g: 1, b: 0, a: 1} + - _GreyscaleTintColor: {r: 1, g: 1, b: 1, a: 1} + - _HitEffectColor: {r: 1, g: 1, b: 1, a: 1} + - _HologramStripeColor: {r: 0, g: 1, b: 1, a: 1} + - _InnerOutlineColor: {r: 1, g: 0, b: 0, a: 1} + - _OutlineColor: {r: 1, g: 1, b: 1, a: 1} + - _OverlayColor: {r: 1, g: 1, b: 1, a: 1} + - _ShadowColor: {r: 0, g: 0, b: 0, a: 1} + - _ShineColor: {r: 1, g: 1, b: 1, a: 1} + m_BuildTextureStacks: [] +--- !u!1 &1210536472 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1210536473} + - component: {fileID: 1210536476} + - component: {fileID: 1210536475} + - component: {fileID: 1210536474} + m_Layer: 5 + m_Name: Button + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1210536473 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1210536472} + 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: 1654679524} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0.5} + m_AnchorMax: {x: 0, y: 0.5} + m_AnchoredPosition: {x: 50, y: -101.4} + m_SizeDelta: {x: 120, y: 120} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1210536474 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1210536472} + 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: 1210536475} + m_OnClick: + m_PersistentCalls: + m_Calls: + - m_Target: {fileID: 886733273} + m_TargetAssemblyTypeName: BookManager, Assembly-CSharp + m_MethodName: OpenBook + 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 &1210536475 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1210536472} + 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: 9185966951872691035, guid: d8489dc41f8c4c9479ba48d5bf39e02e, 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 &1210536476 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1210536472} + m_CullTransparentMesh: 1 --- !u!1 &1281848949 GameObject: m_ObjectHideFlags: 0 @@ -2646,6 +3400,109 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1624136269} m_CullTransparentMesh: 1 +--- !u!1 &1654679520 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1654679524} + - component: {fileID: 1654679523} + - component: {fileID: 1654679522} + - component: {fileID: 1654679521} + m_Layer: 5 + m_Name: BookCanvas + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &1654679521 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1654679520} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: dc42784cf147c0c48a680349fa168899, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IgnoreReversedGraphics: 1 + m_BlockingObjects: 0 + m_BlockingMask: + serializedVersion: 2 + m_Bits: 4294967295 +--- !u!114 &1654679522 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1654679520} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3} + m_Name: + m_EditorClassIdentifier: + m_UiScaleMode: 0 + m_ReferencePixelsPerUnit: 100 + m_ScaleFactor: 1 + m_ReferenceResolution: {x: 800, y: 600} + m_ScreenMatchMode: 0 + m_MatchWidthOrHeight: 0 + m_PhysicalUnit: 3 + m_FallbackScreenDPI: 96 + m_DefaultSpriteDPI: 96 + m_DynamicPixelsPerUnit: 1 + m_PresetInfoIsWorld: 0 +--- !u!223 &1654679523 +Canvas: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1654679520} + m_Enabled: 1 + serializedVersion: 3 + m_RenderMode: 0 + m_Camera: {fileID: 0} + m_PlaneDistance: 100 + m_PixelPerfect: 0 + m_ReceivesEvents: 1 + m_OverrideSorting: 0 + m_OverridePixelPerfect: 0 + m_SortingBucketNormalizedSize: 0 + m_VertexColorAlwaysGammaSpace: 0 + m_AdditionalShaderChannelsFlag: 25 + m_UpdateRectTransformForStandalone: 0 + m_SortingLayerID: 0 + m_SortingOrder: 6 + m_TargetDisplay: 0 +--- !u!224 &1654679524 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1654679520} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 0, y: 0, z: 0} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 996104070} + - {fileID: 1210536473} + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0, y: 0} --- !u!1 &1655147930 GameObject: m_ObjectHideFlags: 0 @@ -3164,6 +4021,30 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 2056178948} m_CullTransparentMesh: 1 +--- !u!1 &2066471071 stripped +GameObject: + m_CorrespondingSourceObject: {fileID: 180032, guid: fe9bfb5044c0cc646baba1ad7d354100, type: 3} + m_PrefabInstance: {fileID: 996104068} + m_PrefabAsset: {fileID: 0} +--- !u!114 &2066471073 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2066471071} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: bef881b4c6ed71248b493dcd92c831a5, type: 3} + m_Name: + m_EditorClassIdentifier: + Mode: 0 + PageFlipTime: 1 + TimeBetweenPages: 1 + DelayBeforeStarting: 0 + AutoStartFlip: 1 + ControledBook: {fileID: 996104069} + AnimationFramesCount: 40 --- !u!1660057539 &9223372036854775807 SceneRoots: m_ObjectHideFlags: 0 @@ -3173,3 +4054,5 @@ SceneRoots: - {fileID: 1343879457} - {fileID: 1009826577} - {fileID: 1655147933} + - {fileID: 886733272} + - {fileID: 1654679524} diff --git a/Assets/Scripts/FixSystem/Book/BookManager.cs b/Assets/Scripts/FixSystem/Book/BookManager.cs index 90089be1e..da55d2f9b 100644 --- a/Assets/Scripts/FixSystem/Book/BookManager.cs +++ b/Assets/Scripts/FixSystem/Book/BookManager.cs @@ -3,30 +3,83 @@ using Yarn.Unity; using System; using System.Collections.Generic; using System.Collections; - +using AibisDream; +using System.Linq; +using UnityEngine.UI; +using DG.Tweening; +using System.Numerics; public class BookManager : MonoBehaviour { public Book book; // Reference to the book script private AutoFlip flipmanager; + public Button CloseBookButton; + + private RectTransform bookPos; + + public event System.Action OnBookClosed; + + void Start() { + CloseBookButton.onClick.RemoveAllListeners(); // 确保不会重复绑定 + CloseBookButton.onClick.AddListener(() => + { + // 仅关闭书本,不执行额外操作 + CloseBook(); + }); + DialogController.Instance.RegisterOptionCommand("listen_closeBook", CombineCloseBook); flipmanager=book.gameObject.GetComponent(); + bookPos=book.gameObject.GetComponent(); // Initially, the book is closed CloseBook(); } // Open the book and flip to a specific page -[YarnCommand("OpenBook")] -public void OpenBook() +public void CombineCloseBook(YarnOption[] options) { - if (!book.gameObject.activeInHierarchy) + var optionDic = options.ToDictionary(item => item.Text, item => item); + Debug.Log("Option dictionary keys: " + string.Join(", ", optionDic.Keys)); + + if (optionDic.ContainsKey("CloseBook")) + { + // 监听书关闭事件 + OnBookClosed -= TriggerCloseBookOption; // 避免重复监听 + OnBookClosed += TriggerCloseBookOption; + + // 内部方法:当书关闭时触发该选项的逻辑 + void TriggerCloseBookOption() + { + optionDic["CloseBook"].SelectOption(); + } + } + } + +[YarnCommand("OpenBook")] + +public IEnumerator OpenBook() { - book.gameObject.SetActive(true); + // 如果书还没有激活,先激活它 + if (!book.gameObject.activeInHierarchy) + { + book.gameObject.SetActive(true); + } + + // 使用 DoTween 创建一个动画序列 + Sequence sequence = DOTween.Sequence(); + + // 设置初始位置为屏幕外或者其他你想要的位置(根据需求自行设置) + bookPos.anchoredPosition = new UnityEngine.Vector2(bookPos.anchoredPosition.x, -(Screen.height+bookPos.sizeDelta.y)/2); + + // 移动到目标位置 + sequence.Append(bookPos.DOAnchorPos(UnityEngine.Vector2.zero, 0.5f).SetEase(Ease.OutQuad)); + + // 等待序列完成 + yield return sequence.WaitForCompletion(); } -} [YarnCommand("Flip")] + public IEnumerator FlipToPageYarnCommand(int parameters) { // Parse the target page from the parameters @@ -36,11 +89,26 @@ public IEnumerator FlipToPageYarnCommand(int parameters) } // Close the book - public void CloseBook() + public void CloseBook(Action onCloseCallback = null) { - if (book.gameObject.activeInHierarchy) - { - book.gameObject.SetActive(false); - } + StartCoroutine(CloseBookCoroutine(onCloseCallback)); } + private IEnumerator CloseBookCoroutine(Action onCloseCallback = null) + { + // 使用 DoTween 创建一个动画序列 + Sequence sequence = DOTween.Sequence(); + + // 动画:将 book 移动回初始位置 + sequence.Append(bookPos.DOAnchorPos(new UnityEngine.Vector2(bookPos.anchoredPosition.x, -(Screen.height+bookPos.sizeDelta.y)/2), 0.5f).SetEase(Ease.InQuad)); + + // 等待动画完成 + yield return sequence.WaitForCompletion(); + + // 动画完成后隐藏 book + book.gameObject.SetActive(false); + + OnBookClosed?.Invoke(); + } + } + diff --git a/Assets/Scripts/Task/TaskManager.cs b/Assets/Scripts/Task/TaskManager.cs index 1159b145b..4e37027c7 100644 --- a/Assets/Scripts/Task/TaskManager.cs +++ b/Assets/Scripts/Task/TaskManager.cs @@ -39,14 +39,14 @@ public class TaskManager : MonoBehaviour [YarnCommand("task_moveIn")] public void Task_moveIn() { - pos.DOAnchorPosY(-150f,1f); + pos.DOAnchorPosY(-pos.sizeDelta.y/4,1f); } [YarnCommand("task_moveOut")] public void Task_moveOut() { - pos.DOAnchorPosY(160f,1f); + pos.DOAnchorPosY(pos.sizeDelta.y/3.5f,1f); } [YarnCommand("add_task")]