12345678910111213141516171819202122232425262728293031323334 |
- using Core.Language;
- using Excel2Json;
- namespace Fort23.Mono
- {
- [UIBinding(prefab = "ShopBtnWidget")]
- public partial class ShopBtnWidget : ItemWidgetBasic
- {
- public ShopGroupConfig ShopGroupConfig;
- private void Init()
- {
- }
- public override void AddEvent()
- {
- }
- public override void DelEvent()
- {
- }
- public override void AddButtonEvent()
- {
- base.AddButtonEvent();
- }
- public void CustomInit(ShopGroupConfig shopGroupConfig)
- {
- this.ShopGroupConfig = shopGroupConfig;
- Text_Name.text = LanguageManager.Instance.Text(ShopGroupConfig.shopName);
- }
- }
- }
|