using UnityEngine; using GameCore; using asap.core; public class PinballUncountableGuidancePanel : MonoBehaviour { [SerializeField] private RectTransform hole; public RectTransform Hole => hole; public void Init(RectTransform targetNode) { // gameObject.SetActive(true); // hole.gameObject.SetActive(true); hole.position = UIManager.Instance.WorldToScreen(targetNode.position); } public void Hide() { gameObject.SetActive(false); } private void Reset() { hole = transform.Find("Hollowed").GetComponent(); } }