HeroAttributeWidget.cs 607 B

1234567891011121314151617181920212223242526272829
  1. namespace Fort23.Mono
  2. {
  3. [UIBinding(prefab = "HeroAttributeWidget")]
  4. public partial class HeroAttributeWidget : UIComponent
  5. {
  6. private void Init()
  7. {
  8. }
  9. public override void AddEvent()
  10. {
  11. }
  12. public override void DelEvent()
  13. {
  14. }
  15. public override void AddButtonEvent()
  16. {
  17. }
  18. public void CustomInit(string name,string currentValue,string nextValue)
  19. {
  20. Text_Name.text = name;
  21. Text_Value.text = currentValue;
  22. Text_NextValue.text = nextValue;
  23. }
  24. }
  25. }