13 lines
281 B
C#
13 lines
281 B
C#
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
public class IrregularButtonAlpha : MonoBehaviour
|
|
{
|
|
private Image m_TestImage;
|
|
private void Awake()
|
|
{
|
|
m_TestImage = this.transform.GetComponent<Image>();
|
|
m_TestImage.alphaHitTestMinimumThreshold = 0.1f;
|
|
}
|
|
}
|