diff --git a/302/Assets/Scripts/GameManager.cs b/302/Assets/Scripts/GameManager.cs index 0382ccb..83e46e6 100644 --- a/302/Assets/Scripts/GameManager.cs +++ b/302/Assets/Scripts/GameManager.cs @@ -176,6 +176,9 @@ private IEnumerator StartStage() } _anomalyController = AnomalyManager.Instance.GetAnomalyController(); + + yield return null; + _anomalyController.StartAnomaly(); } diff --git a/302/Assets/Scripts/LaptopFaceController.cs b/302/Assets/Scripts/LaptopFaceController.cs index f6a4371..df27681 100644 --- a/302/Assets/Scripts/LaptopFaceController.cs +++ b/302/Assets/Scripts/LaptopFaceController.cs @@ -38,9 +38,6 @@ public class LaptopFaceController : LaptopScreenController * fields * **********/ - // 오브젝트 - public GameObject player; - // 내부 수치 private int TANGENT_MAX = 25; private float TANGENT_CONST = 12.5f; @@ -134,6 +131,7 @@ public void StartGazing() // 쳐다보기 화면을 갱신하는 메서드 private void UpdateGazing() { + GameObject player = GameObject.Find("Main Camera"); Vector3 forward = Vector3.ProjectOnPlane(transform.forward, Vector3.up).normalized; Vector3 direction = Vector3.ProjectOnPlane(player.transform.position - transform.position, Vector3.up); float dotProd = Vector3.Dot(direction, forward);