NodeButtonData.cs 429 B

123456789101112131415161718192021222324252627282930
  1. using System;
  2. public class NodeButtonData
  3. {
  4. public NodeButtonData(IOnaholeNodeButton button, Action enterEvent)
  5. {
  6. this.button = button;
  7. this.enterEvent = enterEvent;
  8. }
  9. public NodeButtonData()
  10. {
  11. }
  12. public OnaholeNodeButton.SelectType selectType
  13. {
  14. get
  15. {
  16. return this.button.selectType;
  17. }
  18. set
  19. {
  20. this.button.selectType = value;
  21. }
  22. }
  23. public IOnaholeNodeButton button;
  24. public Action enterEvent;
  25. }