using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; [AddComponentMenu("AlarmObjectPool/本地告警对象池")] /// /// 本地告警对象池 /// public class AlarmObjectPool : MonoBehaviour { public static AlarmObjectPool instance; #region 池对象操作 //-------预制体------- /// /// 报警预制体 /// //public GameObject item_prefab; //-------池对象------- /// /// 报警 /// public Queue alarm_item_pool = new Queue(); /// /// 按钮 /// public Queue