大约有 495 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0045 秒)
... 赞同来自: var handler : laya.utils.Handler = Laya.Handler.create(this, this.onGetStartScene); Laya.Scene.open("test/TestScene.scene", true, null, handler )在回调里加3D模型就显示正常了。 2020-01-15 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 ...
来源: Laya_社区 发布时间: 20200115
...ure) => { let sp = new Laya.Sprite(); sp.texture = res; sp.pos(0, 200); this.addChild(sp); });无法正常显示 检查发现 qg.downloadFile 报 error { "errCode": -3, "statusCode": 404, "errMsg": "com.nearme.instant.loopj.android.http.HttpResponseException"...
来源: Laya_社区 发布时间: 20250818
...usic/Music_start.mp3", Laya.Handler.create(this, this.onLoadFinished)); } onLoadFinished() { Laya.SoundManager.playMusic("res/music/Music_start.mp3", 1); } } new GameMain(); -------------------------------------------------------...
来源: Laya_社区 发布时间: 20170105
... 提交 3 个回复 Laya_Aaron 赞同来自: button.on(Laya.Event.CLICK, this, function(event:Laya.Event){ console.log("点击到了UI"); event.stopPropagation(); }); 完整代码 2018-05-30 0 17 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 你这个问题描述的很明确,很好,这个...
来源: Laya_社区 发布时间: 20180529
...相关的链接 提交 2 个回复 189*****192 赞同来自: 183*****291 this.phoneNum.restrict = "0-9"; // 只能输入数字 this.phoneNum.maxChars= "11";// 最多11 2017-06-16 1 0 分享 微博 QZONE 微信 Monica - 知识达人 赞同来自: 给数字设置个正则(限制只能输入数字...
来源: Laya_社区 发布时间: 20170616
...g\npm\node_modules\layacmd\node_modules\@types' npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\itadmin3\AppData\Roaming\npm-cache\_logs\2017-10-27T02_56_ 14_026Z-debug.log 2017-10-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀...
来源: Laya_社区 发布时间: 20171027
...目 LoaderPolicy.setup(URLResolver.solvePath("files.fst?"), Handler.create(this, function xload() : void { //无法播放 Laya.loader.load(URLResolver.solvePath("config.xml"), Handler.create(this, onConfigLoaded), null, Loader.XML); //直接调用可以正常播放 //onConfigLoaded(null); })); ...
来源: Laya_社区 发布时间: 20171115
关于在List中数据修改后UI无法更新的问题 this.ScrDList.array=[]; var btnitem=ScData2[itemNum]; btnitem.item.label="11111"; ScData2[itemNum]=btnitem; btnitem.item.label="2222"; ScData2.push(btnitem); this.ScrDList.array=ScData2; //list中添加删除项都可以更新,唯独修改数...
来源: Laya_社区 发布时间: 20170823
... Laya.loader.load(resUrl+'bin/res/atlas/dice.json', Laya.Handler .create(this, this.init), null, Laya.Loader.ATLAS); 这个json提示跨域了,怎么解决好 2017-07-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 4 个...
来源: Laya_社区 发布时间: 20170719
...p(); dialog.btn_question_dialog_next.on(Laya.Event.CLICK, this, onNext); dialog.radioGroup_question.labels = "如果资源未加载,则先加载资源,\n加载完成后应用于此对象。,"+"如果资源未加载,则先加载资源,\n加载完成后应用于此对象。,"+...
来源: Laya_社区 发布时间: 20180718