import { _decorator, Component, Node } from 'cc'; import GBaseUI from '../gcommon/GBaseUI'; import { UIButton } from '../gcommon/UIButton'; const { ccclass, property } = _decorator; @ccclass('about_view') export class about_view extends GBaseUI { @property(Node) btn_close: Node = null; @property(Node) btn_update: Node = null; start() { UIButton.BindClick(this.btn_close,()=>{ this.closeUI() },this) UIButton.BindClick(this.btn_update,()=>{ },this) } update(deltaTime: number) { } }