12345678910111213141516171819202122232425262728293031323334 |
- using Excel2Json;
- using Fort23.UTool;
- namespace Fort23.Mono
- {
- [UIBinding(prefab = "DaiJinJuanWidget")]
- public partial class DaiJinJuanWidget : UIComponent
- {
- private void Init()
- {
- }
- public override void AddEvent()
- {
- }
- public override void DelEvent()
- {
- }
- public override void AddButtonEvent()
- {
- }
- public void CustomInit(int itemId)
- {
- ItemConfig itemConfig = ConfigComponent.Instance.Get<ItemConfig>(itemId);
- if (itemConfig.associateID == 9)
- {
- Text_Count.text = $"x{itemConfig.associateVlaue[1]}";
- }
- }
- }
- }
|