标签:mouse can ugui eve res ast sys raycast position
public bool checkUI() {
PointerEventData data = new PointerEventData(eventSystem);
data.pressPosition = Input.mousePosition;
data.position= Input.mousePosition;
List<RaycastResult>list = new List<RaycastResult>();
RaycastInCanvas.Raycast(data,list);
return list.Count > 0;
}
标签:mouse can ugui eve res ast sys raycast position
原文地址:http://www.cnblogs.com/monkeyst/p/7660456.html