using asap.core; using cfg; using GameCore; using TMPro; using UnityEngine.UI; public class BuffInfoPopup_2 : BuffInfoPopup { public Image text_info_image; public TMP_Text text_info_text; protected override void SetBuffPanel(FishBuff buff) { IUIService uiService = GContext.container.Resolve(); uiService.SetImageSprite(text_info_image, buff.RemarkIcon[0]); text_info_text.text = LocalizationMgr.GetText(buff.RemarkDesc_l10n_key); } }