jifen_rule_view.ts 472 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('jifen_rule_view')
  6. export class jifen_rule_view extends GBaseUI {
  7. @property(Node)
  8. btn_close: Node = null;
  9. start() {
  10. UIButton.BindClick(this.btn_close,()=>{
  11. this.closeUI()
  12. },this)
  13. }
  14. update(deltaTime: number) {
  15. }
  16. }