using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; namespace EnhancedUI.EnhancedScroller { public class MarketLeftTypeCell : CellView { [SerializeField] Text m_TypeTxt; [SerializeField] Image m_TypeBtnImg; public void Display(string _type,bool _select) { m_TypeTxt.text = _type; m_TypeBtnImg.SetSprite(_select ? "ComposeFirstClassChoosebtn" : "ComposeFirstClassNormalbtn"); } } }