大约有 274 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0060 秒)
...rpk到手机上就出问题了,main.ls是unity导出来的空场景 Laya.loader.create(`LayaScene_main/Conventional/main.ls`, Laya.Handler.create(this, (scene: Laya.Scene3D)=>{ Laya.stage.addChild(scene); })); 附件 : --> myLaya.zip 2019-09-06 添加评论 免费帖 --> 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20190906
... text_info = cell.getChildByName("text_des") as Laya.Text; let i18n = Laya.loader.getRes("config/i18n.json"); text_info.text = i18n[`tips_text$text_i18n$${1101 + index}`][ConfigInfo.lang] } public setCurPage(index: number) { if (this.m_index != index) { for (let i = 1; i < 7; i++) { let skin = "u...
来源: Laya_社区 发布时间: 20171202
...encoded'); xhr.once(Laya.Event.COMPLETE, this, this.completeHandler, [url, loader]); xhr.once(Laya.Event.ERROR, this, this.errorHandler); console.log("-----------------send------------------", url); xhr.send(url, "", "get", "arraybuffer"); 2018-07-04 添加评论 免费帖 --> 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20180704
...Children():void { super.createChildren(); this.createView(Laya.loader.getRes("test/TestPage.json")); this.loadUI("test/TestPage"); } 2. 在编辑器生成代码的时候怎么添加自定义的操作? 比如我想同时生成一个UI资源引用的配置文件要怎么做 2017-1...
来源: Laya_社区 发布时间: 20171229
... text_info = cell.getChildByName("text_des") as Laya.Text; let i18n = Laya.loader.getRes("config/i18n.json"); text_info.text = i18n[`tips_text$text_i18n$${1101 + index}`][ConfigInfo.lang] } public setCurPage(index: number) { if (this.m_index != index) { for (let i = 1; i < 7; i++) { let skin = "u...
来源: Laya_社区 发布时间: 20181112
...进行进度值传参 dd.loading(50); } //加载引擎需要的资源 Laya.loader.load([{url: "res/atlas/comp.json", type: Loader.ATLAS}], Handler.create(this, onLoaded)); } 这里的dd=__JS__("window.loadingView"); 换成 ts 怎么写 Apple • 2018-04-16 16:22 直接 Laya.Brows...
来源: Laya_社区 发布时间: 20180416
... text_info = cell.getChildByName("text_des") as Laya.Text; let i18n = Laya.loader.getRes("config/i18n.json"); text_info.text = i18n[`tips_text$text_i18n$${1101 + index}`][ConfigInfo.lang] } public setCurPage(index: number) { if (this.m_index != index) { for (let i = 1; i < 7; i++) { let skin = "u...
来源: Laya_社区 发布时间: 20180724
...组件均已创建完毕,此方法只执行一次 onAwake(): void { Laya.loader.load(this.skins).then(() => { this.createBtn(); this.createvbox(); // 添加VBox组件 this.owner.addChild(this.vbox); }); } // 创建Button组件 private createBtn(): void { this.btn1 = new Laya.Button(this.skins);...
来源: Laya3.0_文档 发布时间: 20251010
...组件均已创建完毕,此方法只执行一次 onAwake(): void { Laya.loader.load(this.skins).then(() => { this.createBtn(); this.createHbox(); // 添加HBox组件 this.owner.addChild(this.hbox); }); } // 创建Button组件 private createBtn(): void { this.btn1 = new Laya.Button(this.skins);...
来源: Laya3.0_文档 发布时间: 20251010
...: 不经过Sprite3D.instantiate,直接addchild,this.scene2.addChild(Laya.loader.getRes("res/test.lh")),就没问题 @Laya_Aaron 2018-08-02 0 4 分享 微博 QZONE 微信 家民 赞同来自: 这个问题一直都还存在吗??? 2020-08-27 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 ...
来源: Laya_社区 发布时间: 20180801