大约有 827 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0042 秒)
Laya_社区(668) Laya2.0_文档(61) Laya_示例(34) Laya3.0_文档(30) Laya2.0_示例(30) Laya3.0_api(3) Laya2.0_api(1)
...解决 Ignored attempt to cancel a touchmove event with cancelable=false, for example because scrolling is in progress and cannot be interrupted. 附件 : --> 2020-05-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回...
来源: Laya_社区 发布时间: 20200512
...events some optimizations, (3) set Module.TOTAL_MEMORY to a higher value before the program runs, or (4) if you want malloc to return NULL (0) instead of this abort, compile with -s ABORTING_MALLOC=0 "). Build with -s ASSERTIONS=1 for more info. 代码: this.m_scene = Laya.loader.getRes(this....
来源: Laya_社区 发布时间: 20190730
...报undefined错误 /** * @internal * 清掉播放完成的音频 * @param force 是否强制删掉所有的声音channel */ private _onAniSoundStoped(force: boolean): void { for (let len = this._soundChannelArr.length, i = 0; i < len; i++) { let channel = this._soundChannelArr[i]; if (channel.isS...
来源: Laya_社区 发布时间: 20230727
... has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https. 我也根据提示退出chrome进程启动了,没用啊。。。求你们用mac多搞搞..希望哪位有经验教育一下我谢谢。。。。 ...
来源: Laya_社区 发布时间: 20191113
...rivate function createCity(worldMapData:Object):void { var itemObj:Object; for(var i:int = 0 ; i < worldMapData.items.length ; i++) { itemObj = worldMapData.items[i]; var city:City = new City(); city.x = itemObj.x; city.y = itemObj.y city.staticData = itemObj; city.mouseEnabled = true; _container...
来源: Laya_社区 发布时间: 20180327
... var toPlays; toPlays = this.__toPlays; len = toPlays.length; var tParams; for (i = 0; i < len; i++) { tParams = toPlays[i]; if (tParams[2]) { if (!(tParams[2]).isStopped) { this.play(tParams[0], tParams[1], tParams[2]); } else { tParams[2].audioBuffer = this.audioBuffer; } } } this.__toPlays.len...
来源: Laya_社区 发布时间: 20201014
...leng:int = heros.length; var item:HeroResolveItem; var heroInfo:SHeroInfo; for (var i:int = 0; i < leng; i++) { heroInfo = heros[i]; if (_heroItemList[i] == null) { item = new HeroResolveItem(this.onSelectedHeroChange); _heroItemList[i] = item; } _heroItemList[i].init(heroInfo); panelHeroInfo.add...
来源: Laya_社区 发布时间: 20170321
...DBArr:Array = null;//位图源 var tex:Texture = Laya.loader.getRes(_url); for (var i:int = 0; i < list1["oriBDPos"].length; i++ ) { var g:Graphics = new Graphics(); var t:Texture = Texture.createFromTexture(tex, posObj.x, posObj.y, posObj.w, posObj.h); g.drawTexture(t, 0, 0); oriDBArr[i] = g; ...
来源: Laya_社区 发布时间: 20170224
...?我是这样解决的 2020-07-24 0 0 分享 微博 QZONE 微信 young for your 赞同来自: 先发布(菜单中选择 项目->发布)会生成 release\web 然后 构建 资源路径选择 xxxxxxxx\release\web 2020-08-11 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折...
来源: Laya_社区 发布时间: 20200721
...我建一个简单demo是可行的,,可是我放到自己项目中; for(var i =0 ;i < 10 ; i++) { score_data.push({ju_num:{text:i},score1:{text : i}}); } this.score_list.dataSource = score_data; this.score_list.vScrollBarSkin = "";(如果不加滚动条,是能显示出来值...
来源: Laya_社区 发布时间: 20170405