using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.EventSystems; using UnityEngine.UI; public class PatrolRobotUI : MonoBehaviour, IPointerEnterHandler, IPointerExitHandler { public GameObject img; public Button button; private void OnEnable() { img.SetActive(false); } // Start is called before the first frame update void Start() { button = GetComponent