大约有 1,141 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0048 秒)
Laya_社区(992) Laya3.0_api(66) Laya_示例(33) Laya2.0_示例(32) Laya2.0_文档(6) laya_api(4) Laya3.0_文档(4) Laya2.0_api(4)
... 我这样载入场景问题出现在哪呢?? 模型资源释放问题 graphics alpha 问题 (此问题已经无效) IDE创建的UI 层级问题 问题状态 最新活动: 2017-05-09 22:07 浏览: 1362 关注: 4 人 PYS_Goon • 2017-05-10 10:10 对于timer的使用是建议全都使用Laya....
来源: Laya_社区 发布时间: 20170509
...= 0; j < this.MapColNum; j++){ var box = new laya.display.Sprite(); box.graphics.drawRect(0, 0, 30, 30, null, "#e6e4ef", 1); box.x = i * 30; box.y = j * 30; boxSp.addChild(box); } } boxSp.cacheAs = "bitmap"; this.addChild(boxSp); } boxSp.cacheAs = "bitmap"; 如果去掉这句话可以显示 是...
来源: Laya_社区 发布时间: 20161008
...回调时间 求教: soundManager如何停止正在播放的背景音乐 graphics alpha 问题 写了个边缘光的自定义shader,有很多问题,帮忙看一下 问题状态 最新活动: 2017-08-11 20:47 浏览: 1222 关注: 2 人 fc. • 2019-04-04 17:22 那如果在app里面的小游戏...
来源: Laya_社区 发布时间: 20170811
....height = GameMain._height; this.mapBg.x = 0; this.mapBg.y = 0; this.mapBg.graphics.fillTexture(texture, 0, 0, GameMain._width, GameMain._height); this.map.addChild(this.mapBg); 问题已经解决:当被填充的图片被打包进图集的话,会有此问题 解决办法就是,需要重...
来源: Laya_社区 发布时间: 20170903
...态更换SkinedMeshSprite3D对象,替换后,对象缩小了 用sprite.graphics绘制一个矩形 这个矩形对象不能获得鼠标事件的么? 关于3D克隆同样显示对象DrawCall优化问题。 问题状态 最新活动: 2019-10-27 22:29 浏览: 3412 关注: 7 人 源 • 2018-11-07 1...
来源: Laya_社区 发布时间: 20180803
...ge.ALIGN_MIDDLE; var sp; for(var i=0;i<5;i++){ sp=new Laya.Sprite(); sp.graphics.drawRect(0,0,50,50,"red"); sp.y = i*60; sp.index=i; sp.size(50,50); sp.on(Laya.Event.CLICK,this, function (e) { alert(e.target.index); },[{target:sp}]) Laya.stage.addChild(sp); } 2017-02-21 1 0 分享 微博 QZONE...
来源: Laya_社区 发布时间: 20170221
...问题 有元件支援视频流渲染吗? Image元件读不了资料流 graphics alpha 问题 问题状态 最新活动: 2019-07-23 15:20 浏览: 1170 关注: 1 人
来源: Laya_社区 发布时间: 20190723
...节点2 的,不需要=通过GetChildByName方法的。(因为节点2是Graphics组件,所以无法直接设置var属性来在UI脚本里获取。。。) 附件 : --> 2019-09-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链...
来源: Laya_社区 发布时间: 20190907
...APK之后在手机上就连接不上socket mask在layaplayer中有问题 graphics alpha 问题 问题状态 最新活动: 2017-06-23 18:01 浏览: 1627 关注: 2 人 cuixueying • 2017-06-23 11:11 还有,layaAir的swc,你如果是发布js项目,只需要引入playerglobal.swc即可,另外...
来源: Laya_社区 发布时间: 20170622
... constructor() { super(); var _fish: Laya.Sprite = new Laya.Sprite() _fish.graphics.drawRect(this.are.x, this.are.y, this.are.width, this.are.height, "#00ff00"); _fish.x = 300 _fish.y = 200 this.addChild(_fish); Laya.timer.loop(100, this, function () { console.log(_fish.x, _fish.y, _fish.width, _fis...
来源: Laya_社区 发布时间: 20180315