welfare_view.ts 507 B

123456789101112131415161718192021222324
  1. import { _decorator, Component, Node } from 'cc';
  2. import GBaseUI from '../gcommon/GBaseUI';
  3. import { UIButton } from '../gcommon/UIButton';
  4. const { ccclass, property } = _decorator;
  5. @ccclass('welfare_view')
  6. export class welfare_view extends GBaseUI
  7. {
  8. @property(Node) btn_close:Node = null
  9. @property(Node) node_select_fuli:Node = null
  10. start() {
  11. UIButton.BindClick(this.btn_close,()=>{
  12. this.closeUI()
  13. },this)
  14. }
  15. update(deltaTime: number) {
  16. }
  17. }