ShengShiConditionWidget.cs 618 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. using System.Linq;
  2. using Excel2Json;
  3. using Fort23.UTool;
  4. namespace Fort23.Mono
  5. {
  6. [UIBinding(prefab = "ShengShiConditionWidget" )]
  7. public partial class ShengShiConditionWidget : 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(AccountFileInfo.EventConditionData eventConditionData)
  22. {
  23. Text_Name.text = EventHelper.GetTaskMessage(eventConditionData) ;
  24. }
  25. public void CustomInit(string tips)
  26. {
  27. Text_Name.text = tips ;
  28. }
  29. }
  30. }