about_view.ts 587 B

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