少年修仙传客户端代码仓库
client_Wu Xijin
2019-01-24 380a4aeedf83d363d9ef7e6dac014a38896d10bf
3335 更新ui射线检测机制
1个文件已修改
7 ■■■■■ 已修改文件
Utility/UIUtility.cs 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Utility/UIUtility.cs
@@ -210,8 +210,6 @@
            return false;
        }
        if (Application.platform == RuntimePlatform.IPhonePlayer)
        {
            var eventData = new PointerEventData(EventSystem.current);
            eventData.pressPosition = Input.mousePosition;
            eventData.position = Input.mousePosition;
@@ -220,11 +218,6 @@
            EventSystem.current.RaycastAll(eventData, list);
            return list.Count > 0;
        }
        else
        {
            return EventSystem.current.IsPointerOverGameObject();
        }
    }
    struct Quadrangle