Unity ugui的鼠標穿透問題

能夠用EventSystem.current.IsPointerOverGameObject()來判斷 ui上即爲truehtml 或者用射線碰撞本身檢測每一個canvas。web private bool CheckUIRaycast() { PointerEventData eventData = new PointerEventData(EventSystem.current);
相關文章
相關標籤/搜索