ict.lixian.single/Assets/Scripts/UI/free/LimitSize.cs

15 lines
306 B
C#

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;
}
}