大约有 596 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0063 秒)
...true; this.playVideo(); }); hls.on(HLS.Events.ERROR, (event, data) => { console.log("HLS加载失败"); }); hlsxx = hls;//方便销毁用hlsxx.destroy(); }else if(videoTexture.canPlayType("m3u8")){ this.playVideo(); videoTexture.element.pause(); videoTexture.element.src = m3u8url; videoTexture.el...
来源: Laya_社区 发布时间: 20250908
...sponse:\n" + xhr.responseText); var data = JSON.parse(xhr.responseText); //console.log(data); if (data.result_status == 1 && data.top_list) { WxRankManage._top_list = data.top_list; //对排行数据进行处理 //wb.EventManager.dispatchCustomEvent(wb.HTTPRE, xhr.responseText); } } }; } var...
来源: Laya_社区 发布时间: 20180807
...andler.create(this,loadMap_1_OK)); } private function loadMap_1_OK():void{ console.log("地图三加载完成"); } } } 2017-01-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 182*****369 赞同来自: 源码如...
来源: Laya_社区 发布时间: 20170105
...数据 list.dataSource = data; } private onSelect(index: number): void { console.log("当前选择的索引:" + index); } } import Box = laya.ui.Box; import Image = laya.ui.Image; import Label = Laya.Label; export class ListDataSourceItem extends Box { public static WID: number = 200; public stati...
来源: Laya_社区 发布时间: 20180410
...= "gameover") { this.onGameOver(); } } } private onGameOver(): void { console.log("结束游戏...");} 附件 : --> 2018-05-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 4 个回复 Laya_Aaron 赞同来自: 有dmeo ...
来源: Laya_社区 发布时间: 20180524
...is,this.showMyfamMenu); _proto.showMyfamMenu = function(){ console.log(1) if(!this.famlilyMune.isActive){ // //Laya缓动动画——操作对新-属性列表-执行时间-动画效果-回调 Laya.Tween.to(this.famlilyMune,{rotation:0},...
来源: Laya_社区 发布时间: 20170301
...,function(scene:Laya.Scene3D){ Laya.stage.addChild(scene) as Laya.Scene3D; console.log("加载3D场景") //添加照相机 var camera: Laya.Camera = (scene.addChild(new Laya.Camera(0, 0.1, 1000))) as Laya.Camera; camera.transform.translate(new Laya.Vector3(0, 3, 3)); camera.transform.rotate(new Laya...
来源: Laya_社区 发布时间: 20190426
...有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 导微信小程序报错window.focus is not a function 请教下微信小游戏的内存和数据缓存? 问题状态 最新活动: 2018-01-22 11:56 浏览: ...
来源: Laya_社区 发布时间: 20180120
...到2.2.0 beta3后,原有的排行榜功能出现了显示问题,查看console应该是开放域没有找到文件。 微信开发工具: 手机调试控制台: 附件 : --> 2019-08-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相...
来源: Laya_社区 发布时间: 20190814
...se); //0.1秒后删除 Laya.timer.once(100, null, Wipe); function Wipe() { console.log(other._owner); //移除自己 other._owner.removeSelf(); return; } } else { var move1 = new Laya.Vector3(0.02, 0, 0); var move2 = new Laya.Vector3(-0.02, 0, 0); Laya.timer.once(0, null, Right); Laya.timer.once(50,...
来源: Laya_社区 发布时间: 20181017