ConfigCblReactionSetting.cs 767 B

123456789101112131415161718192021222324252627282930313233
  1. using System;
  2. using UnityEngine;
  3. public class ConfigCblReactionSetting : MonoBehaviour
  4. {
  5. public ConfigCblReactionSetting.Buttons highlightHeart;
  6. public ConfigCblReactionSetting.Buttons highlightHide;
  7. public ConfigCblReactionSetting.Buttons runnyNoseEffect;
  8. public ConfigCblReactionSetting.Buttons saladEffect;
  9. public ConfigCblReactionSetting.Buttons sweatEffect;
  10. public ConfigCblReactionSetting.Buttons breatheEffect;
  11. [Serializable]
  12. public class Buttons
  13. {
  14. public void AddOnSelectEvent(EventDelegate.Callback callBack)
  15. {
  16. EventDelegate.Add(this.buttonOn.onSelect, callBack);
  17. EventDelegate.Add(this.buttonOff.onSelect, callBack);
  18. }
  19. public UIWFTabPanel tabPanel;
  20. public UIWFTabButton buttonOn;
  21. public UIWFTabButton buttonOff;
  22. }
  23. }