using System.Collections.Generic; using cfg; using UnityEngine; using UnityEngine.UI; using GameCore; using UnityEngine.AddressableAssets; using asap.core; using Game; public class OnFishLoadEvent { public OnFishLoadEvent(GameObject fish, string fishName) { this.fish = fish; this.fishName = fishName; } public GameObject fish; public string fishName; } public class FishCardReviewPopupPanel : MonoBehaviour { public Button btn_mask; public Button btn_close; private RectTransform content; public PanelScroll panelScroll; public GameObject cardItem; public Button btn_left; public Button btn_right; public GameObject btn_left_icon; public GameObject btn_left_icon_gray; public GameObject btn_right_icon; public GameObject btn_right_icon_gray; public float speed = 0.5f; public List fishCardItemData = new List(); private Dictionary fishAvatar = new Dictionary(); private Dictionary fishPrefabs = new Dictionary(); List fishNameList = new List(); float itemWidth; bool isShow = false; int index = 0; public List fishDatas; //创建一个实例 public static FishCardReviewPopupPanel Instance; void Awake() { btn_mask = transform.Find("mask").GetComponent