using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; namespace Snxxz.UI { public class BossFirstBloodCell : CellView { [SerializeField] Image m_Select; [SerializeField] Image m_NPCIcon; [SerializeField] Button m_FuncBtn; public Button funcBtn { get { return m_FuncBtn; } } public void Display(int index) { } public void ShowIcon(int _npcId, bool isSelect) { m_Select.SetActive(isSelect); m_NPCIcon.SetActive(true); var npcConfig = NPCConfig.Get(_npcId); m_NPCIcon.SetSprite(npcConfig.HeadPortrait); } } }