少年修仙传客户端代码仓库
client_Wu Xijin
2019-01-22 e43a455f43c184ca6e20d4008cdde9c2b4afa10c
Utility/UIUtility.cs
@@ -210,6 +210,8 @@
            return false;
        }
        if (Application.platform == RuntimePlatform.IPhonePlayer)
        {
        var eventData = new PointerEventData(EventSystem.current);
        eventData.pressPosition = Input.mousePosition;
        eventData.position = Input.mousePosition;
@@ -219,6 +221,11 @@
        return list.Count > 0;
    }
        else
        {
            return EventSystem.current.IsPointerOverGameObject();
        }
    }
    struct Quadrangle
    {