大约有 1,769 项符合查询结果, 库内数据总量为 31,624 项。 (搜索耗时: 0.0056 秒)
Laya_社区(1396) Laya2.0_文档(82) Laya3.0_api(68) Laya2.0_api(57) Laya3.0_文档(54) laya_api(53) Laya_示例(32) Laya2.0_示例(27)
...ding="0,0,1,0"; this.btn.label=val; if(this.lbl==null){ this.lbl=new Laya.Label(val); this.lbl.name="val"; this.lbl.size(Item.width,Item.height); this.lbl.align="center"; this.lbl.valign="bottom"; this.lbl.padding="0,0,1,0"; this.btn.addChild(this.lb...
来源: Laya_社区 发布时间: 20241014
...问题请先登录 发起人 cwugs 相关问题 模型资源释放问题 new Laya.Sprite();绘制图形以后,怎么删除释放资源? 编辑了图片 执行代码说加载不出来资源 这个是怎么回事? 分享:LayaAir下如何获取图集下的小图资源? 请问文档里参考...
来源: Laya_社区 发布时间: 20171116
...0, //G 0, 0, 0, 0, 0, //B 1, 0, 0, 0, 0]; //A var balloon = this.balloon = new Laya.Sprite; balloon.loadImage(RES.balloon); balloon.pos(540,70); balloon.filters = [new Laya.ColorFilter(redMat)]; Laya.stage.addChild(balloon); 附件 : --> 2016-05-25 添加评论 免费帖 --> 分享 微博 QZONE 微...
来源: Laya_社区 发布时间: 20160525
...舞台 Laya.init(1334,750,Laya.WebGL); //创建动画实例 this.roleAni = new Laya.Animation(); //加载动画图集,加载成功后执行回调方法 this.roleAni.loadAtlas("res/atlas/role.atlas",Laya.Handler.create(this,this.onLoaded)); } private onLoaded():void{ //添加到舞台 Laya.stage.ad...
来源: Laya2.0_文档 发布时间: 20210715
...structor() { super(); this.rotation = 90; this.pos(1060, 280); let panel = new Laya.Panel(); panel.size(638, 527); panel.vScrollBarSkin = "CommDialog/vscroll.png"; this.sp_wanfa.addChild(panel); let t = new Laya.Label(); t.width = 638; t.fontSize = 25; t.wordWrap = true; t.color = "#976A4F"; t.overf...
来源: Laya_社区 发布时间: 20180426
...空图片吗? if(!this.lastMakeMc){ //类型小图片 this.lastMakeMc = new Image(); this.collectUIMC.addChild(this.lastMakeMc); this.lastMakeMc.pos(123,68); this.lastMakeMc.size(32,32); }else{ this.lastMakeMc.skin = "face/type"+type+".png"; } if(type == -999){ this.lastMakeMc.dispose(); } 2018-06...
来源: Laya_社区 发布时间: 20180623
...到另外一个按钮单击也会触发他的 双击事件. 附件 : --> new1.rar 2020-02-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 yanbuyun 赞同来自: 已解决!修改下面图片中的位置: 2020-02...
来源: Laya_社区 发布时间: 20200226
...问题请先登录 发起人 xueLayaBox 爱学习 相关问题 两个对象new了一个相同的对象,调用第一个的一个方法,走进了第二方法里 sprite旋转以后,但是原来碰撞检测rect没有旋转 请问有没有方法能够获取“鼠标是否处于按下状态”? Di...
来源: Laya_社区 发布时间: 20180418
... 要回复问题请先登录 发起人 yan4234043 相关问题 两个对象new了一个相同的对象,调用第一个的一个方法,走进了第二方法里 请问有没有方法能够获取“鼠标是否处于按下状态”? Layabox 2.0 bate5 运行编译之后 bundle.js 文件里面没...
来源: Laya_社区 发布时间: 20171219
...tAngle = this.owner.transform.rotationEuler.y; this.owner.transform.rotate(new Vector3(0, angle - this.lastAngle, 0), false, false) 打印出来看到y方向角度一直在变。 如果直接赋值到rotationEuler就没问题 // this.owner.transform.rotationEuler = new Vector3(-90, angle, 0); 附...
来源: Laya_社区 发布时间: 20190716