using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class LimitSize : MonoBehaviour { [SerializeField] Image im; // Start is called before the first frame update void Awake() { im.alphaHitTestMinimumThreshold = 0.1f; } }