using System;
using System.Collections.Generic;
using System.Text;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.Serialization;
using UnityEngine.UI;
namespace TapTap.UI
{
///
/// 修复UnityUGui中Canvas画布在Windows平台宽高比过长(横屏拉很长)导致UI的最右边一部分无法被点击的Bug,现发现与2021.3.x版本
///
public class GraphicRaycasterBugFixed : GraphicRaycaster
{
[NonSerialized] private List m_RaycastResults = new List();
private Canvas _Canvas;
private Canvas canvasBugFixed
{
get
{
if (_Canvas != null)
return _Canvas;
_Canvas = GetComponent