public class RaycastRemover : MonoBehaviour { public TextMeshProUGUI button; void Start() { button.raycastTarget = false; } }