From 9889c8a90f5e036a4ec0312ca645354e8839aea2 Mon Sep 17 00:00:00 2001 From: bottlefish <781230111@qq.com> Date: Fri, 15 Nov 2024 04:14:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=80=E4=BA=9B=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/Resources/Yarn/PeipeiNew/PeipeiNew.yarn | 2 +- Assets/Scenes/Persistence.unity | 8 ++++---- Assets/Scripts/Clue/ClueBaordNew.cs | 5 ++--- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/Assets/Resources/Yarn/PeipeiNew/PeipeiNew.yarn b/Assets/Resources/Yarn/PeipeiNew/PeipeiNew.yarn index 581d9fce8..60d0c0925 100644 --- a/Assets/Resources/Yarn/PeipeiNew/PeipeiNew.yarn +++ b/Assets/Resources/Yarn/PeipeiNew/PeipeiNew.yarn @@ -871,7 +871,7 @@ me:这个没有生成颜色,奇怪…… title: Eye_poster tags: colorID: 8 -position: 1225,-1243 +position: 1225,-1244 --- <> <> diff --git a/Assets/Scenes/Persistence.unity b/Assets/Scenes/Persistence.unity index 434e71864..9ed984cda 100644 --- a/Assets/Scenes/Persistence.unity +++ b/Assets/Scenes/Persistence.unity @@ -2232,7 +2232,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 6374982573157599259, guid: c998a63bd211990449fe9bb1f2832e3d, type: 3} propertyPath: nodeLists.Array.size - value: 28 + value: 26 objectReference: {fileID: 0} - target: {fileID: 6374982573157599259, guid: c998a63bd211990449fe9bb1f2832e3d, type: 3} propertyPath: nodeLists.Array.data[0] @@ -2285,11 +2285,11 @@ PrefabInstance: - target: {fileID: 6374982573157599259, guid: c998a63bd211990449fe9bb1f2832e3d, type: 3} propertyPath: nodeLists.Array.data[13] value: - objectReference: {fileID: 0} + objectReference: {fileID: 525661795} - target: {fileID: 6374982573157599259, guid: c998a63bd211990449fe9bb1f2832e3d, type: 3} propertyPath: nodeLists.Array.data[14] value: - objectReference: {fileID: 0} + objectReference: {fileID: 1736368753} - target: {fileID: 6374982573157599259, guid: c998a63bd211990449fe9bb1f2832e3d, type: 3} propertyPath: nodeLists.Array.data[15] value: @@ -5147,7 +5147,7 @@ MonoBehaviour: runMode: 1 firstTalkSO: {fileID: 11400000, guid: 10601ce26230723479d875a630f15732, type: 2} clinicScene: ClinicScene - testYarnProject: PeipeiNew + testYarnProject: PeipeiNew2 --- !u!4 &719228339 Transform: m_ObjectHideFlags: 0 diff --git a/Assets/Scripts/Clue/ClueBaordNew.cs b/Assets/Scripts/Clue/ClueBaordNew.cs index dac07524f..d0d6495b3 100644 --- a/Assets/Scripts/Clue/ClueBaordNew.cs +++ b/Assets/Scripts/Clue/ClueBaordNew.cs @@ -47,11 +47,9 @@ public class ClueBaordNew : MonoBehaviour [YarnCommand("NodeInit")] public void NodeInit(int day) { - gm.localConnections.Clear(); - gm.localNodes.Clear(); if(day==1) { - + gm.localConnections.Clear(); foreach(Node node in Day2AllnodeLists) { node.gameObject.SetActive(false); @@ -66,6 +64,7 @@ public class ClueBaordNew : MonoBehaviour } if(day==2) { + gm.localNodes.Clear(); gm.localConnections.Clear(); foreach(Node node in Day1AllnodeLists) {