DaoYouaaFfixWidget.cs 613 B

1234567891011121314151617181920212223242526272829303132333435
  1. using Core.Language;
  2. using Excel2Json;
  3. using Fort23.UTool;
  4. namespace Fort23.Mono
  5. {
  6. [UIBinding(prefab = "DaoYouaaFfixWidget" )]
  7. public partial class DaoYouaaFfixWidget : UIComponent
  8. {
  9. private void Init()
  10. {
  11. }
  12. public override void AddEvent()
  13. {
  14. }
  15. public override void DelEvent()
  16. {
  17. }
  18. public override void AddButtonEvent()
  19. {
  20. }
  21. public void CustomInit(int configId)
  22. {
  23. daolvSkill daolvSkill = ConfigComponent.Instance.Get<daolvSkill>(configId);
  24. Text_Name.text = LanguageManager.Instance.Text(daolvSkill.name);
  25. Icon_Weiyi.gameObject.SetActive(daolvSkill.type == 1);
  26. }
  27. }
  28. }