摘要: 使用 TypeScript​ 当你需要在项目中使用 TypeScript 时,一般会遇到无法正常使用 utools 的 API 的情况。 因此 uTools 官方推出了完整的类型定义文件,这份类型文件完整的列举了目前 utools 对象下所有的 API,并会根据版本的迭代同步更新。 utools-a 阅读全文
posted @ 2025-01-03 16:48 多见多闻 阅读(42) 评论(0) 推荐(0)
摘要: 1、按钮点击事件 this.node.on(Input.EventType.MOUSE_UP,this.onButonClick, this); 2、构建发布web-mobile,取消插屏,设置首scene场景。 与 this.node.on(Input.EventType.MOUSE_UP, th 阅读全文
posted @ 2025-01-03 08:21 多见多闻 阅读(74) 评论(0) 推荐(0)