auto_airdropView.ts 933 B

12345678910111213141516171819202122232425262728293031
  1. const { ccclass } = cc._decorator;
  2. @ccclass
  3. export default class auto_airdropView extends cc.Component {
  4. airdropView: cc.Node;
  5. mask: cc.Node;
  6. bg: cc.Node;
  7. btn_get: cc.Node;
  8. icon_get: cc.Node;
  9. btn_refrsh: cc.Node;
  10. icon_refresh: cc.Node;
  11. close: cc.Node;
  12. content: cc.Node;
  13. time: cc.Node;
  14. public static URL:string = "db://assets/resources/prefab/Interface/airdropView.prefab"
  15. onLoad () {
  16. this.airdropView = this.node
  17. this.mask = this.airdropView.getChildByName("mask");
  18. this.bg = this.airdropView.getChildByName("bg");
  19. this.btn_get = this.bg.getChildByName("btn_get");
  20. this.icon_get = this.btn_get.getChildByName("icon_get");
  21. this.btn_refrsh = this.bg.getChildByName("btn_refrsh");
  22. this.icon_refresh = this.btn_refrsh.getChildByName("icon_refresh");
  23. this.close = this.bg.getChildByName("close");
  24. this.content = this.bg.getChildByName("content");
  25. this.time = this.bg.getChildByName("time");
  26. }
  27. }