大约有 1,604 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0083 秒)
...域 var bound:Laya.Rectangle = this.body.getBounds(); //this.pos(100,0); console.log(-bound.width/2 + " --- "+ -bound.height/2); } onPlayComplete():void{ } } 请问为啥bound.width bound.heigh这是0? 2018-04-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 ...
来源: Laya_社区 发布时间: 20180427
... ani.once(Laya.Event.LOADED,null,function(ani1){ console.log(ani1.getGraphicBounds()); }); 这样写的话监听不到 2017-06-28 0 1 分享 微博 QZONE 微信 cuixueying 赞同来自: 你用Laya.timer.once加个延迟看下呢? 2017-06...
来源: Laya_社区 发布时间: 20170628
...特定角度下显示错误 提示错误在laya.core.js里 laya如何重写console.log 打印错误跟信息到自己写的日志面板上 ui分离模式首次加载布局错误问题 spine动画转换失败,加载错误:导出二进制数据出错:writeUint8 error - Out of range261, 有谁知道什...
来源: Laya_社区 发布时间: 20170214
...aya.Stat.show(0, 0); Laya.stage.on(Laya.Event.RESIZE, Laya.stage, ()=>{ console.log(111) Laya.stage.width = 600 * Laya.Browser.pixelRatio; }) } } new GameMain(); 2018-05-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 ...
来源: Laya_社区 发布时间: 20180525
...his.root.addChild( roleAni ); roleAni.pivotY = roleAni.getBounds().height; console.log("---> ", roleAni.getBounds() ); 打印为 ---> Rectangle {x: 0, y: 0, width: 0, height: 0}修改anchorY值无效 2017-08-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...
来源: Laya_社区 发布时间: 20170824
...有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 创建动效模板 可能存在bug 需要用SoundChannel的play()方法,报错说不存在play()方法? 尽量保证同一个面板中的所有资源用一...
来源: Laya_社区 发布时间: 20170721
...有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 一个时间轴动画里创建的多个动画,怎么分别调用?如图 请问下loader如何强制加载一个文件,避免浏览器的缓存 H5动画...
来源: Laya_社区 发布时间: 20170915
... } else { Laya.stage.removeChild(scene3D); } console.log(str); }); 每次删除scene3D后又被添加进来了。不知道什么原因,是stage中的scene不能被删除吗? 2017-10-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...
来源: Laya_社区 发布时间: 20171016
...绘 sharedCanvas” 我的代码如下: if (message.cmd == "render") { console.log("重置共享数据域"); let sharedCanvas = Laya.Browser.window.sharedCanvas; sharedCanvas.width = 0; sharedCanvas.height = 0; // let tempMatrix = message.matrix; // let matrix = new Laya.Matrix(); // matrix.a = te...
来源: Laya_社区 发布时间: 20180710
... let innerBuild:any = IEditorEnv.BuildTask.start("web") console.log(innerBuild.config)//这里返回的是undefined innerBuild.config.enableVersion = false;//这个地方会报错 return innerBuild.waitForCompletion(); } } cmd中执行命令:"C...
来源: Laya_社区 发布时间: 20251015