AK056/Assets/script/ui/pop/UIPopManage.cs
2025-05-07 11:20:40 +08:00

26 lines
516 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using EasyInject.Attributes;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// UIµ¯´°¹ÜÀí
/// </summary>
[GameObjectBean]
public class UIPopManage : MonoBehaviour
{
List<IUIPop> uIViews = new List<IUIPop>();
void Start()
{
uIViews = ApplicationBoot.Instance.GetBeans<IUIPop>();
}
// Update is called once per frame
public void CloseAllPop()
{
foreach (IUIPop op in uIViews)
{
op.Close();
}
}
}