备份CatanBuilding瘦身独立工程
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
using asap.core;
|
||||
using GameCore;
|
||||
using TMPro;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
public class EventPartnerMainPanelMatchTip : MonoBehaviour
|
||||
{
|
||||
[SerializeField] private TMP_Text text;
|
||||
[SerializeField] private Animator animator;
|
||||
[SerializeField] private Image iconHead;
|
||||
public void Show(string namePartner,string iconPartner, string nameComponent)
|
||||
{
|
||||
text.text = LocalizationMgr.GetFormatTextValue("UI_EventPartnerFishbowlPanel_25", namePartner, nameComponent);
|
||||
GContext.container.Resolve<IUIService>().SetHeadImage(iconHead, iconPartner);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user