From d20b49318854933e591a2a3e333eb0de112f4a66 Mon Sep 17 00:00:00 2001 From: bottlefish <781230111@qq.com> Date: Fri, 20 Sep 2024 15:27:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=BC=8F=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Book-Page Curl/scripts/AutoFlip.cs | 10 ++---- Assets/Scenes/Persistence.unity | 34 +++++++++---------- 2 files changed, 19 insertions(+), 25 deletions(-) diff --git a/Assets/Plugins/Book-Page Curl/scripts/AutoFlip.cs b/Assets/Plugins/Book-Page Curl/scripts/AutoFlip.cs index 62d16f262..a3f2d3618 100644 --- a/Assets/Plugins/Book-Page Curl/scripts/AutoFlip.cs +++ b/Assets/Plugins/Book-Page Curl/scripts/AutoFlip.cs @@ -2,6 +2,8 @@ using System.Collections; [RequireComponent(typeof(Book))] + + public class AutoFlip : MonoBehaviour { public FlipMode Mode; @@ -165,12 +167,4 @@ public IEnumerator FlipToPageCoroutine(int targetPage) } } - - - -// The rest of your FlipManager class remains unchanged - - - - } diff --git a/Assets/Scenes/Persistence.unity b/Assets/Scenes/Persistence.unity index 25204d1de..e64958636 100644 --- a/Assets/Scenes/Persistence.unity +++ b/Assets/Scenes/Persistence.unity @@ -374,23 +374,23 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 2114528386511579871, guid: c6c82e5d3b6ca4c4f902f55c8c0f4a6a, type: 3} propertyPath: m_AnchorMax.x - value: 0 + value: 0.5 objectReference: {fileID: 0} - target: {fileID: 2114528386511579871, guid: c6c82e5d3b6ca4c4f902f55c8c0f4a6a, type: 3} propertyPath: m_AnchorMax.y - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 2114528386511579871, guid: c6c82e5d3b6ca4c4f902f55c8c0f4a6a, type: 3} - propertyPath: m_AnchorMin.x value: 0 objectReference: {fileID: 0} + - target: {fileID: 2114528386511579871, guid: c6c82e5d3b6ca4c4f902f55c8c0f4a6a, type: 3} + propertyPath: m_AnchorMin.x + value: 0.5 + objectReference: {fileID: 0} - target: {fileID: 2114528386511579871, guid: c6c82e5d3b6ca4c4f902f55c8c0f4a6a, type: 3} propertyPath: m_AnchorMin.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 2114528386511579871, guid: c6c82e5d3b6ca4c4f902f55c8c0f4a6a, type: 3} propertyPath: m_SizeDelta.x - value: 501.2254 + value: 501.22534 objectReference: {fileID: 0} - target: {fileID: 2114528386511579871, guid: c6c82e5d3b6ca4c4f902f55c8c0f4a6a, type: 3} propertyPath: m_SizeDelta.y @@ -426,11 +426,11 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 2114528386511579871, guid: c6c82e5d3b6ca4c4f902f55c8c0f4a6a, type: 3} propertyPath: m_AnchoredPosition.x - value: 624.3 + value: 0 objectReference: {fileID: 0} - target: {fileID: 2114528386511579871, guid: c6c82e5d3b6ca4c4f902f55c8c0f4a6a, type: 3} propertyPath: m_AnchoredPosition.y - value: -797.5 + value: 164.68765 objectReference: {fileID: 0} - target: {fileID: 2114528386511579871, guid: c6c82e5d3b6ca4c4f902f55c8c0f4a6a, type: 3} propertyPath: m_LocalEulerAnglesHint.x @@ -1537,7 +1537,7 @@ MonoBehaviour: runMode: 1 firstTalkSO: {fileID: 11400000, guid: 10601ce26230723479d875a630f15732, type: 2} clinicScene: ClinicScene - testYarnProject: Task + testYarnProject: UFprocess --- !u!4 &719228339 Transform: m_ObjectHideFlags: 0 @@ -2045,7 +2045,7 @@ AudioSource: m_Enabled: 1 serializedVersion: 4 OutputAudioMixerGroup: {fileID: 1773163451604355202, guid: b14347481450a234a852407119bfecb4, type: 2} - m_audioClip: {fileID: 8300000, guid: a462991fdfb43334bbed965d98923923, type: 3} + m_audioClip: {fileID: 0} m_PlayOnAwake: 1 m_Volume: 1 m_Pitch: 1 @@ -5091,19 +5091,19 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 2114528386511579871, guid: 4d6fa45bd310bc946b5628e62986e494, type: 3} propertyPath: m_AnchorMax.x - value: 0 + value: 0.5 objectReference: {fileID: 0} - target: {fileID: 2114528386511579871, guid: 4d6fa45bd310bc946b5628e62986e494, type: 3} propertyPath: m_AnchorMax.y - value: 1 + value: 0.5 objectReference: {fileID: 0} - target: {fileID: 2114528386511579871, guid: 4d6fa45bd310bc946b5628e62986e494, type: 3} propertyPath: m_AnchorMin.x - value: 0 + value: 0.5 objectReference: {fileID: 0} - target: {fileID: 2114528386511579871, guid: 4d6fa45bd310bc946b5628e62986e494, type: 3} propertyPath: m_AnchorMin.y - value: 1 + value: 0.5 objectReference: {fileID: 0} - target: {fileID: 2114528386511579871, guid: 4d6fa45bd310bc946b5628e62986e494, type: 3} propertyPath: m_SizeDelta.x @@ -5143,11 +5143,11 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 2114528386511579871, guid: 4d6fa45bd310bc946b5628e62986e494, type: 3} propertyPath: m_AnchoredPosition.x - value: 913 + value: 45 objectReference: {fileID: 0} - target: {fileID: 2114528386511579871, guid: 4d6fa45bd310bc946b5628e62986e494, type: 3} propertyPath: m_AnchoredPosition.y - value: -299 + value: -44 objectReference: {fileID: 0} - target: {fileID: 2114528386511579871, guid: 4d6fa45bd310bc946b5628e62986e494, type: 3} propertyPath: m_LocalEulerAnglesHint.x