大约有 13 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0042 秒)
...:Laya.ClassUtils.regClass("BaseScene",base.BaseScene);VSCode右键script文件夹创建MyScene.ts文件并创建类继承自CustomScene。 MyScene.tsimport { ui } from "../ui/layaMaxUI"; export default class MyScene extends ui.CustomSceneUI{ constructor(){ super(); console.log(this.txt_hello.text)...
来源: Laya_社区 发布时间: 20200827
...: 不需要,Code.js里有一模一样的代码的,拷贝过去了,lib文件夹可以全删了 Prajna • 2018-07-04 18:07 Aaron你把你的代码 能发我一份吗?我参考一下,刚加上了bytebuffer.js的代码 效果一样 Prajna • 2018-07-04 18:07 是不是我开启了 版本控...
来源: Laya_社区 发布时间: 20180704
...求 http.send("resources/data.txt", "", "get", "text");//需要在resources文件夹下新建一个data.txt文件 //设置完成事件,添加回调方法 http.once(Laya.Event.COMPLETE, this, this.completeHandler); //设置错误事件,添加回调方法 http.once(Laya.Event.ERROR, this, this.err...
来源: Laya3.0_文档 发布时间: 20250104