From d194ff4b162c5c2fd6c86ef2190c925ef0eeadd5 Mon Sep 17 00:00:00 2001 From: seozzi Date: Wed, 11 Dec 2024 17:45:33 +0900 Subject: [PATCH] =?UTF-8?q?AbstractAnomalyObject=20=EC=9D=B4=EB=A6=84=20ge?= =?UTF-8?q?tter=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Scripts/SpecificAnomalyManager/Anomaly16Controller.cs | 4 +++- .../Scripts/SpecificAnomalyManager/Anomaly17Controller.cs | 4 +++- .../Scripts/SpecificAnomalyManager/Anomaly22Controller.cs | 4 +++- .../Scripts/SpecificAnomalyManager/Anomaly28Controller.cs | 4 +++- .../Scripts/SpecificAnomalyManager/Anomaly29Controller.cs | 4 +++- .../Scripts/SpecificAnomalyManager/Anomaly30Controller.cs | 5 +++-- 6 files changed, 18 insertions(+), 7 deletions(-) diff --git a/302/Assets/Scripts/SpecificAnomalyManager/Anomaly16Controller.cs b/302/Assets/Scripts/SpecificAnomalyManager/Anomaly16Controller.cs index 5c4aded..0f3ce0c 100644 --- a/302/Assets/Scripts/SpecificAnomalyManager/Anomaly16Controller.cs +++ b/302/Assets/Scripts/SpecificAnomalyManager/Anomaly16Controller.cs @@ -1,7 +1,9 @@ using UnityEngine; -public class Anomaly16Controller : MonoBehaviour +public class Anomaly16Controller : AbstractAnomalyObject { + public override string Name { get; } = "Anomaly16Controller"; + [Header("Marker Line Settings")] public Material redLineMaterial; // Assign a red material in the Inspector public AudioClip markerSound; // Assign the marker sound in the Inspector diff --git a/302/Assets/Scripts/SpecificAnomalyManager/Anomaly17Controller.cs b/302/Assets/Scripts/SpecificAnomalyManager/Anomaly17Controller.cs index c0107a4..b08a0d6 100644 --- a/302/Assets/Scripts/SpecificAnomalyManager/Anomaly17Controller.cs +++ b/302/Assets/Scripts/SpecificAnomalyManager/Anomaly17Controller.cs @@ -2,8 +2,10 @@ using System.Collections.Generic; using UnityEngine; -public class Anomaly17Controller : MonoBehaviour +public class Anomaly17Controller : AbstractAnomalyObject { + public override string Name { get; } = "Anomaly17Controller"; + public GameObject splitMicLinePrefab; // line_split prefab public GameObject normalMicLinePrefab; // line_normal prefab private GameObject currentMicLine; // line_split OR line_normal 중 현재 마이크 선 obejct diff --git a/302/Assets/Scripts/SpecificAnomalyManager/Anomaly22Controller.cs b/302/Assets/Scripts/SpecificAnomalyManager/Anomaly22Controller.cs index 7a3e1cd..724e998 100644 --- a/302/Assets/Scripts/SpecificAnomalyManager/Anomaly22Controller.cs +++ b/302/Assets/Scripts/SpecificAnomalyManager/Anomaly22Controller.cs @@ -2,8 +2,10 @@ using System.Collections.Generic; using System.Collections; -public class Anomaly22Controller : MonoBehaviour +public class Anomaly22Controller : AbstractAnomalyObject { + public override string Name { get; } = "Anomaly22Controller"; + private GameObject floor; // 모든 타일들의 Parent private GameManager gameManager; private PlayerController playerController; diff --git a/302/Assets/Scripts/SpecificAnomalyManager/Anomaly28Controller.cs b/302/Assets/Scripts/SpecificAnomalyManager/Anomaly28Controller.cs index 3d4cadf..d04407c 100644 --- a/302/Assets/Scripts/SpecificAnomalyManager/Anomaly28Controller.cs +++ b/302/Assets/Scripts/SpecificAnomalyManager/Anomaly28Controller.cs @@ -1,8 +1,10 @@ using System.Collections; using UnityEngine; -public class Anomaly28Controller : MonoBehaviour +public class Anomaly28Controller : AbstractAnomalyObject { + public override string Name { get; } = "Anomaly28Controller"; + private GameManager gameManager; private GameObject player; diff --git a/302/Assets/Scripts/SpecificAnomalyManager/Anomaly29Controller.cs b/302/Assets/Scripts/SpecificAnomalyManager/Anomaly29Controller.cs index 9f062af..84bf2d7 100644 --- a/302/Assets/Scripts/SpecificAnomalyManager/Anomaly29Controller.cs +++ b/302/Assets/Scripts/SpecificAnomalyManager/Anomaly29Controller.cs @@ -2,8 +2,10 @@ using System.Collections.Generic; using UnityEngine; -public class Anomaly29Controller : MonoBehaviour +public class Anomaly29Controller : AbstractAnomalyObject { + public override string Name { get; } = "Anomaly29Controller"; + private GameManager gameManager; private PlayerController playerController; public GameObject bananaPrefab; diff --git a/302/Assets/Scripts/SpecificAnomalyManager/Anomaly30Controller.cs b/302/Assets/Scripts/SpecificAnomalyManager/Anomaly30Controller.cs index 6438ba6..dc012b9 100644 --- a/302/Assets/Scripts/SpecificAnomalyManager/Anomaly30Controller.cs +++ b/302/Assets/Scripts/SpecificAnomalyManager/Anomaly30Controller.cs @@ -2,8 +2,9 @@ using System.Collections; using UnityEngine.Video; -public class Anomaly30Controller : MonoBehaviour -{ +public class Anomaly30Controller : AbstractAnomalyObject +{ + public override string Name { get; } = "Anomaly30Controller"; public GameObject[] windows; private GameObject player; private GameManager gameManager;