using System;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.AddressableAssets;
using UnityEngine.EventSystems;
using UnityEngine.ResourceManagement.AsyncOperations;
using UnityEngine.UI;
///
/// UI管理1.1
/// 作者:徐振升
/// 最后更新:2020/07/25 修改适应本项目
/// 联系方式:QQ:359059686
///
public enum UIViewType
{
Normal, Fixed, Popup,Icon
}
public class UIManager : Singleton
{
private readonly Dictionary UIViews = new Dictionary();
#region Canvas
/////
///// 获取UI画布
/////
public static GameObject GetCanvas()
{
GameObject gameObject = GameObject.Find("MainCanvas");
if (gameObject == null || gameObject.GetComponent