大约有 1,546 项符合查询结果, 库内数据总量为 30,910 项。 (搜索耗时: 0.0063 秒)
...text = new Laya.Context(); } private onloadswf():void { // console.log("ssss"); // let mc:Laya.MovieClip = Laya.loader.getRes("res/swf/star.swf"); // Laya.stage.addChild(mc); } } } new laya.Loader_MultipleType(); 2018-02-03 添加评论 免费帖 --> 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20180203
...里把解码的数据控制台打印,看看结果 console.log(message); // ... do something with message // If your application uses length-delimited buffers, there is also encodeDelimited and decodeDelimited. } } ...
来源: Laya_社区 发布时间: 20170216
... = div.contextWidth; if(div.contextWidth > 200) div.contextWidth = 200; console.log(div.contextWidth); paopao.y = gRoomView.chatBox.height; paopao.imgSayBg.height = div.contextHeight + 26; paopao.imgSayBg.width = div.contextWidth + 60; paopao.height = paopao.imgSayBg.height + 50; paopao.width = p...
来源: Laya_社区 发布时间: 20170911
...ks let prevTasks = ""; if (global.publish) { prevTasks = ["loadConfig"]; } console.log("jsroads------prevTasks:" + JSON.stringify(prevTasks)); //使用browserify,转换ts到js,并输出到bin/js目录 gulp.task("compile", "", function () { // 发布时调用编译功能,判断是否点击了...
来源: Laya_社区 发布时间: 20181221
...onError); this.mFactory.loadAni(this.mAniPath); } private onError():void { console.log("error"); } private parseComplete():void { //创建模式为1,可以启用换装 this.mArmature = this.mFactory.buildArmature(1); this.mArmature.x = this.mStartX; this.mArmature.y = this.mStartY; this.mArmature....
来源: Laya2.0_示例 发布时间: 20250228
... { cell.setImg(cell.dataSource); } private onSelect(index: number): void { console.log("当前选择的索引:" + index); } } import Box = Laya.Box; import Image = Laya.Image; class Item extends Box { public static WID: number = 373; public static HEI: number = 85; private img: Image; constructor(...
来源: Laya2.0_示例 发布时间: 20250228
... { cell.setImg(cell.dataSource); } private onSelect(index: number): void { console.log("当前选择的索引:" + index); } } import Box = Laya.Box; import Image = Laya.Image; class Item extends Box { public static WID: number = 373; public static HEI: number = 85; private img: Image; constructor(...
来源: Laya_示例 发布时间: 20250228
...onError); this.mFactory.loadAni(this.mAniPath); } private onError():void { console.log("error"); } private parseComplete():void { //创建模式为1,可以启用换装 this.mArmature =this.mFactory.buildArmature(1); this.mArmature.x = this.mStartX; this.mArmature.y = this.mStartY; //mArmature.scal...
来源: Laya2.0_示例 发布时间: 20250228
... 微信 cuixu_xucui 赞同来自: 还是内存爆炸呀 if(this._texture){ console.log("this._texture.destroy"); this._texture.destroy(); this._texture = null; } if(this._htmlC){ this._htmlC.destroy(); } this._htmlC = this.zoomBox.drawToCanvas(RouletteTableScene.ZOOM_W, RouletteTableScene.ZOOM_TARGE...
来源: Laya_社区 发布时间: 20170822
...de') as Laya.VideoNode; Laya.stage.on(Laya.Event.MOUSE_DOWN,this, ()=>{ console.error('Laya.Event.MOUSE_DOWN'); video.play(); }); 很简单的结构,只有在微信上播放不了 1677851971用户 • 2024-03-16 19:56 测试可以播放了,就是手机微信上视频播放明显卡顿,不...
来源: Laya_社区 发布时间: 20230825