Skip to content

Commit

Permalink
AnomalyNNManager -> AnomalyNNController로 renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
seozzi committed Dec 11, 2024
1 parent ecaca48 commit 94a8fcd
Show file tree
Hide file tree
Showing 16 changed files with 15 additions and 15 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using UnityEngine;

public class Anomaly16Manager : MonoBehaviour
public class Anomaly16Controller : MonoBehaviour
{
[Header("Marker Line Settings")]
public Material redLineMaterial; // Assign a red material in the Inspector
Expand Down
4 changes: 2 additions & 2 deletions 302/Assets/Scripts/SpecificAnomalyManager/Anomaly16_marker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
public class Anomaly16_marker : InteractableObject, IInteractable
{
private bool hasInteracted = false;
private Anomaly16Manager anomalyManager; // Reference to Anomaly16Manager
private Anomaly16Controller anomalyManager; // Reference to Anomaly16Controller

private Transform cameraTransform;

Expand Down Expand Up @@ -37,7 +37,7 @@ private void Start()
cameraTransform = mainCamera.transform;
}

anomalyManager = FindObjectOfType<Anomaly16Manager>();
anomalyManager = FindObjectOfType<Anomaly16Controller>();

// Set up LineRenderer and AudioSource components
lineRenderer = GetComponent<LineRenderer>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using System.Collections.Generic;
using UnityEngine;

public class Anomaly17Manager : MonoBehaviour
public class Anomaly17Controller : MonoBehaviour
{
public GameObject splitMicLinePrefab; // line_split prefab
public GameObject normalMicLinePrefab; // line_normal prefab
Expand Down
4 changes: 2 additions & 2 deletions 302/Assets/Scripts/SpecificAnomalyManager/Anomaly17_mic.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
public class Anomaly17_mic : InteractableObject, IInteractable
{
private bool hasInteracted = false;
private Anomaly17Manager anomalyManager;
private Anomaly17Controller anomalyManager;

// 스파크 세팅
public int sparkSegments = 30;
Expand All @@ -26,7 +26,7 @@ public class Anomaly17_mic : InteractableObject, IInteractable

private void Start()
{
anomalyManager = FindObjectOfType<Anomaly17Manager>();
anomalyManager = FindObjectOfType<Anomaly17Controller>();
GameObject mainCamera = GameObject.FindWithTag("MainCamera");
if (mainCamera != null)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using System.Collections.Generic;
using System.Collections;

public class Anomaly22Manager : MonoBehaviour
public class Anomaly22Controller : MonoBehaviour
{
private GameObject floor; // 모든 타일들의 Parent
private GameManager gameManager;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System.Collections;
using UnityEngine;

public class Anomaly28Manager : MonoBehaviour
public class Anomaly28Controller : MonoBehaviour
{
private GameManager gameManager;
private GameObject player;
Expand Down Expand Up @@ -202,6 +202,6 @@ void OnDestroy()
clock.transform.rotation = originalClockRotation;
}

Debug.Log("Anomaly28Manager destroyed. Clock restored to its original phase.");
Debug.Log("Anomaly28Controller destroyed. Clock restored to its original phase.");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using System.Collections.Generic;
using UnityEngine;

public class Anomaly29Manager : MonoBehaviour
public class Anomaly29Controller : MonoBehaviour
{
private GameManager gameManager;
private PlayerController playerController;
Expand Down
4 changes: 2 additions & 2 deletions 302/Assets/Scripts/SpecificAnomalyManager/Anomaly29_banana.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@

public class Anomaly29_banana : MonoBehaviour
{
private Anomaly29Manager anomalyManager;
private Anomaly29Controller anomalyManager;

void Start()
{
anomalyManager = FindObjectOfType<Anomaly29Manager>();
anomalyManager = FindObjectOfType<Anomaly29Controller>();
}

private void OnCollisionEnter(Collision collision)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using System.Collections;
using UnityEngine.Video;

public class Anomaly30Manager : MonoBehaviour
public class Anomaly30Controller : MonoBehaviour
{
public GameObject[] windows;
private GameObject player;
Expand Down
4 changes: 2 additions & 2 deletions 302/Assets/Scripts/SpecificAnomalyManager/Anomaly30_window.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ public class Anomaly30_window : InteractableObject, IInteractable
private bool isClosing = false;
private bool hasInteracted = false;

private Anomaly30Manager anomalyManager;
private Anomaly30Controller anomalyManager;
private AudioSource audioSource;
private static GameObject coroutineRunner;

void Start()
{
anomalyManager = FindObjectOfType<Anomaly30Manager>();
anomalyManager = FindObjectOfType<Anomaly30Controller>();

// 창문 닫을 때 복구할 초기 rotation
initialRotation = transform.rotation;
Expand Down

0 comments on commit 94a8fcd

Please sign in to comment.