From 05fb16464c71ad8bea1f7489f2c33395790281e1 Mon Sep 17 00:00:00 2001 From: Prown0 <100746335+Prown0@users.noreply.github.com> Date: Wed, 11 Dec 2024 18:13:57 +0900 Subject: [PATCH] Bug fix --- .../Scripts/SpecificAnomalyManager/Anomaly18_Interactable.cs | 2 +- 302/Assets/Scripts/SpecificAnomalyManager/Anomaly19_Slide.cs | 2 +- 302/Assets/Scripts/SpecificAnomalyManager/Anomaly1_Girl.cs | 2 +- .../Scripts/SpecificAnomalyManager/Anomaly20_Interactable.cs | 2 +- 302/Assets/Scripts/SpecificAnomalyManager/Anomaly23_Ghost.cs | 2 +- 302/Assets/Scripts/SpecificAnomalyManager/Anomaly2_Laptop.cs | 2 +- 302/Assets/Scripts/SpecificAnomalyManager/Anomaly6_Cake.cs | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/302/Assets/Scripts/SpecificAnomalyManager/Anomaly18_Interactable.cs b/302/Assets/Scripts/SpecificAnomalyManager/Anomaly18_Interactable.cs index 3171391..e11998b 100644 --- a/302/Assets/Scripts/SpecificAnomalyManager/Anomaly18_Interactable.cs +++ b/302/Assets/Scripts/SpecificAnomalyManager/Anomaly18_Interactable.cs @@ -31,7 +31,7 @@ public override void OnInteract() Log("Call `GameManager.SetStageClear` end"); // Code used before `GameManager` updates begin - GameObject controllerObject = GameObject.Find("Anomaly18Manager"); + GameObject controllerObject = GameObject.Find("AnomalyManager (18)(Clone)"); AbstractAnomalyObject controller = controllerObject.GetComponent(); Log($"Call `{controller.Name}.ResetAnomaly` begin"); diff --git a/302/Assets/Scripts/SpecificAnomalyManager/Anomaly19_Slide.cs b/302/Assets/Scripts/SpecificAnomalyManager/Anomaly19_Slide.cs index b235615..7f7fa80 100644 --- a/302/Assets/Scripts/SpecificAnomalyManager/Anomaly19_Slide.cs +++ b/302/Assets/Scripts/SpecificAnomalyManager/Anomaly19_Slide.cs @@ -54,7 +54,7 @@ public override void OnInteract() Log("Call `GameManager.SetStageClear` end"); // Code used before `GameManager` updates begin - GameObject controllerObject = GameObject.Find("Anomaly19Manager"); + GameObject controllerObject = GameObject.Find("AnomalyManager (19)(Clone)"); AbstractAnomalyObject controller = controllerObject.GetComponent(); Log($"Call `{controller.Name}.ResetAnomaly` begin"); diff --git a/302/Assets/Scripts/SpecificAnomalyManager/Anomaly1_Girl.cs b/302/Assets/Scripts/SpecificAnomalyManager/Anomaly1_Girl.cs index 4027ac7..c0b305f 100644 --- a/302/Assets/Scripts/SpecificAnomalyManager/Anomaly1_Girl.cs +++ b/302/Assets/Scripts/SpecificAnomalyManager/Anomaly1_Girl.cs @@ -24,7 +24,7 @@ public override void OnInteract() Log("Call `GameManager.SetStageClear` end"); // Code used before `GameManager` updates begin - GameObject controllerObject = GameObject.Find("Anomaly1Manager"); + GameObject controllerObject = GameObject.Find("AnomalyManager (1)(Clone)"); AbstractAnomalyObject controller = controllerObject.GetComponent(); Log($"Call `{controller.Name}.ResetAnomaly` begin"); diff --git a/302/Assets/Scripts/SpecificAnomalyManager/Anomaly20_Interactable.cs b/302/Assets/Scripts/SpecificAnomalyManager/Anomaly20_Interactable.cs index 3a3748e..18d06d9 100644 --- a/302/Assets/Scripts/SpecificAnomalyManager/Anomaly20_Interactable.cs +++ b/302/Assets/Scripts/SpecificAnomalyManager/Anomaly20_Interactable.cs @@ -35,7 +35,7 @@ public override void OnInteract() Log("Call `GameManager.SetStageClear` end"); // Code used before `GameManager` updates begin - GameObject controllerObject = GameObject.Find("Anomaly20Manager"); + GameObject controllerObject = GameObject.Find("AnomalyManager (20)(Clone)"); AbstractAnomalyObject controller = controllerObject.GetComponent(); Log($"Call `{controller.Name}.ResetAnomaly` begin"); diff --git a/302/Assets/Scripts/SpecificAnomalyManager/Anomaly23_Ghost.cs b/302/Assets/Scripts/SpecificAnomalyManager/Anomaly23_Ghost.cs index 0491e0b..6997717 100644 --- a/302/Assets/Scripts/SpecificAnomalyManager/Anomaly23_Ghost.cs +++ b/302/Assets/Scripts/SpecificAnomalyManager/Anomaly23_Ghost.cs @@ -91,7 +91,7 @@ void Update() Log("Call `GameManager.SetStageClear` end"); // Code used before `GameManager` updates begin - GameObject controllerObject = GameObject.Find("Anomaly23Manager"); + GameObject controllerObject = GameObject.Find("AnomalyManager (23)(Clone)"); AbstractAnomalyObject controller = controllerObject.GetComponent(); Log($"Call `{controller.Name}.ResetAnomaly` begin"); diff --git a/302/Assets/Scripts/SpecificAnomalyManager/Anomaly2_Laptop.cs b/302/Assets/Scripts/SpecificAnomalyManager/Anomaly2_Laptop.cs index 8f14570..0107b80 100644 --- a/302/Assets/Scripts/SpecificAnomalyManager/Anomaly2_Laptop.cs +++ b/302/Assets/Scripts/SpecificAnomalyManager/Anomaly2_Laptop.cs @@ -34,7 +34,7 @@ public override void OnInteract() Log("Call `GameManager.SetStageClear` end"); // Code used before `GameManager` updates begin - GameObject controllerObject = GameObject.Find("Anomaly2Manager"); + GameObject controllerObject = GameObject.Find("AnomalyManager (2)(Clone)"); AbstractAnomalyObject controller = controllerObject.GetComponent(); Log($"Call `{controller.Name}.ResetAnomaly` begin"); diff --git a/302/Assets/Scripts/SpecificAnomalyManager/Anomaly6_Cake.cs b/302/Assets/Scripts/SpecificAnomalyManager/Anomaly6_Cake.cs index a085b91..c1a79b0 100644 --- a/302/Assets/Scripts/SpecificAnomalyManager/Anomaly6_Cake.cs +++ b/302/Assets/Scripts/SpecificAnomalyManager/Anomaly6_Cake.cs @@ -30,7 +30,7 @@ public override void OnInteract() Log("Call `GameManager.SetStageClear` end"); // Code used before `GameManager` updates begin - GameObject controllerObject = GameObject.Find("Anomaly6Manager"); + GameObject controllerObject = GameObject.Find("AnomalyManager (6)(Clone)"); AbstractAnomalyObject controller = controllerObject.GetComponent(); Log($"Call `{controller.Name}.ResetAnomaly` begin");