using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class LineObjectPool : MonoBehaviour { public static LineObjectPool Instance; private void Awake() { Instance = this; } #region 池对象操作 //-------预制体------- /// /// 线缆预UI制体 /// public GameObject line_item_prefab; /// /// 线缆组UI预制体 /// public GameObject line_group_item_prefab; /// /// 线缆预UI制体(右) /// public GameObject line_item_prefab_right; //-------池对象------- /// /// 线缆池对象 /// public Queue line_item_pool = new Queue(); /// /// 线缆组池对象 /// public Queue line_group_item_pool = new Queue(); /// /// 巡检图片对象池 /// public Queue