| 12345678910111213141516171819202122 |
- /*
- * @Author: mojunshou 1637302775@qq.com
- * @Date: 2025-03-19 17:46:09
- * @LastEditors: mojunshou 1637302775@qq.com
- * @LastEditTime: 2025-03-19 18:01:56
- * @Description: 用户协议和隐私协议点击事件
- */
- import { _decorator, EventTouch } from 'cc';
- import { GameComponent } from "db://oops-framework/module/common/GameComponent";
- const { ccclass, property } = _decorator;
- /** 显示对象控制 */
- @ccclass('ClickEventHandler')
- export class ClickEventHandler extends GameComponent {
- onClicked(eventTouch: EventTouch, param: string) {
- console.log("onClicked", param);
- }
- }
|