大约有 4,103 项符合查询结果, 库内数据总量为 31,629 项。 (搜索耗时: 0.0065 秒)
Laya_社区(3324) Laya2.0_文档(296) Laya_示例(141) Laya2.0_示例(117) Laya3.0_文档(116) Laya3.0_api(94) Laya2.0_api(9) laya_api(6)
...ublic function getChildAt(index:int):Node { return this._children[index] || null; } 请提供不一样的demo 2019-02-13 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 友人A 相关问题 TypeS...
来源: Laya_社区 发布时间: 20190129
...maths.Rectangle(0, 0, 0, loginUI.bbbar.height) Game.timer.loop("progress", this, function() { //console.log("loginUI.bar.value = ", loginUI.bar.value); loginUI.bbbar.viewport.width = loginUI.bbbar.viewport.width + 0.2 //console.log("loginUI.bbbar.viewport.width = ", loginUI.bbbar.viewport.width); },...
来源: Laya_社区 发布时间: 20170913
...re(aniMode:int = 0):Skeleton { return new Skeleton(this, aniMode); } 看这个, 第二个翅膀用1 2018-12-06 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 @DT_ 相关...
来源: Laya_社区 发布时间: 20181205
...台上面移除掉所有对象,并且置为null 莫名其妙的报错,this.getStyle()是null 打包apk之后,突然报一个错误, Cannot read property 'createTexture' of null。明明没有加载图片,为啥执行到了这里。 Error processing "launch": Error: 找不到文件: null ...
来源: Laya_社区 发布时间: 20200202
... bitmapFont.loadFont("../../../../res/bitmapFont/test.fnt",new Handler(this,onFontLoaded, [bitmapFont])); } private function onFontLoaded(bitmapFont:BitmapFont):void { bitmapFont.setSpaceWidth(10); Text.registerB...
来源: Laya_社区 发布时间: 20170629
...载 Laya.BaseMaterial.load("res/skyBox2/skyBox2.lmat",Laya.Handler.create(this,function(mat) { var skyRenderer = camera.skyRenderer; //创建天空盒的mesh skyRenderer.mesh = Laya.SkyBox.instance; //设置天空盒材质 skyRenderer.material = mat; })); ``` (图1)
来源: Laya2.0_文档 发布时间: 20210715
...载 Laya.BaseMaterial.load("res/skyBox2/skyBox2.lmat",Laya.Handler.create(this,function(mat) { var skyRenderer = camera.skyRenderer; //创建天空盒的mesh skyRenderer.mesh = Laya.SkyBox.instance; //设置天空盒材质 skyRenderer.material = mat; })); ``` (图1)
来源: Laya2.0_文档 发布时间: 20210714
...p://212.xx.xx.xx/"; Laya.loader.load("res/atlas/comp.atlas",Handler.create(this,loadComplete)); loadComplete(){显示自己的ui}; 项目设置选择不校验合法域名。(我没有配置域名,用IP可以吗?) 发现comp.atlas是加载下来了,图片不行,但是没有ui。怎么搞...
来源: Laya_社区 发布时间: 20190116
怎么对动画进行毎帧侦听? ani.on(Laya.Event.COMPLETE, this, _OnComplete); function _OnComplete() { var bounds = ani.getGraphicBounds(); console.log(bounds.width); console.log(bounds.height); } 这样的话获取动画宽高 还是只会取到第一帧宽高 并没有办...
来源: Laya_社区 发布时间: 20170704
...94632691ru.png@120w.png",0,0, 60,60); statusBar.x = 20; statusBar.y = -70; this.addChild(statusBar); 如何通过动态事件更换Sprite图片? 2017-01-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueyi...
来源: Laya_社区 发布时间: 20170112