大约有 1,013 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0240 秒)
...e.addChild(rg); return rg; } private onSelectChange(index: number): void { console.log("你选择了第 " + (index + 1) + " 项"); } } } new laya.UI_RadioGroup();package { import laya.display.Stage; import laya.ui.RadioGroup; import laya.utils.Handler; import laya.webgl.WebGL; public class UI_RadioG...
来源: Laya_示例 发布时间: 20251219
...est/1.png" ||data.url == "test/2.png"||data.url == "test/3.png"){ mark ++; console.log("------data.url:" + JSON.stringify(data.url)); if(mark == 4)//确认数据全部接收后 Laya.loader.load(["res/atlas/test.atlas", "test/1.png", "test/2.png", "test/3.png"],Laya.Handler.create(this,this.onComplet...
来源: Laya_社区 发布时间: 20190307
..._", _super); var _proto = Load_.prototype; _proto.run_Fast = function () { console.log("逻辑处理"); } return Load_; })(Laya.Sprite);我的代码,但是下面的继承位置Laya.Sprite这里不写会报错,我想请教下,我这个类仅有算法,应该怎么样写。 2018-07-05 添加评...
来源: Laya_社区 发布时间: 20180705
...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.s...
来源: Laya_示例 发布时间: 20251219
...}); var dataTexture = Laya.DataTexture2D.create(imageData.data, 512, 128); console.log("data:" + imageData.data.length); sprite3DMat.diffuseTexture = dataTexture; sprite3D.meshRender.material = sprite3DMat; } //绘制文字到canvas,判断换行位置,和设置canvas高度 public canva...
来源: Laya_社区 发布时间: 20180814
...a.Ease.cubicIn,null,(i+1)*400); } point.visible=false; point.alpha = 0; // console.log(line); Laya.Tween.to(point,{x:point.x,y:point.y,alpha:1,update:Laya.Handler.create(point,function(){ this.visible = true; })},800,Laya.Ease.backOut,null,i*400); if(i%2==1 && i!=9){ point.x-=200; }else{ poi...
来源: Laya_社区 发布时间: 20180118
...有输出报错,自己的项目也没有日志中也没有update里面的console.下面是demo跟截图 附件 : --> coin_scroll_vivo.rar 2019-11-30 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 7 个回复 kylin 赞同来...
来源: Laya_社区 发布时间: 20191130
...leInput = Laya.Browser.document.getElementById('file'); fileInput.click(); console.log(fileInput);//input#file } } new GameMain();在laya里无法触发浏览器<input type="file" id="file">文件上传框? 附件 : --> html-upload.rar 2017-05-11 添加评论 免费帖 --> 分享 微博 QZON...
来源: Laya_社区 发布时间: 20170511
...this.__mouseMove); this.bmp.on(Laya.Event.MOUSE_UP, this, this.__mouseUp); console.log(this.pos0.x); } __mouseMove(e:Event){ this.pos1.x=this.bmp.mouseX this.pos1.y=this.bmp.mouseY; if(Utils3D.getThis.getDistance(this.pos0,this.pos1)>10){ this.bmp.graphics.drawLine(this.pos0.x,this.pos0.y,this.po...
来源: Laya_社区 发布时间: 20170831
...in.scene"); } onEnable() { console.log('init'); } } /**This class is automatically generated by LayaAirIDE, please do not make any modifications. */ class GameConfig { static init() { //...
来源: Laya_社区 发布时间: 20201110