using System; using UnityEngine; public class AntennaTouch : MonoBehaviour { public Action touched; // void OnTriggerEnter(Collider other) { // touched?.Invoke(other, true); // } void OnTriggerStay(Collider other) { touched?.Invoke(other, true); } void OnTriggerExit(Collider other) { touched?.Invoke(other, false); } }