플레이어에 넣기 using UnityEngine; public class PlayerController : MonoBehaviour { public Transform targetPosition; public float popupDistanceThreshold = 2f; public GameObject popupPanel; private void Update() { if (targetPosition == null || popupPanel == null) { Debug.LogError("Please assign the target position and popup panel in the Inspector."); return; } float distanceToTarget = Vector3.Distance(tr..