大约有 380 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0053 秒)
Laya_社区(345) Laya3.0_文档(11) Laya2.0_文档(7) Laya3.0_api(5) Laya2.0_示例(4) Laya_示例(4) laya_api(2) Laya2.0_api(2)
...取地图属性不能获取到 编辑器下HtmlDIVElement属性能否支持style选项设置 问题状态 最新活动: 2018-11-08 17:42 浏览: 1885 关注: 1 人 泡面 • 2019-06-19 14:51 大佬 你的ide里面的prefab 类型的数组怎么定义的 建章 • 2018-11-08 17:48 好吧 只能自...
来源: Laya_社区 发布时间: 20181108
....stage.clientScaleX; var frameHeight = 1280 * Laya.stage.clientScaleY; var styleStr = "position: absolute; left: {0}px; top: {1}px; z-index: 100009;";//laya 的index是100000 var str = styleStr.format((laya.utils.Browser.width - frameWidth) * 0.5, (laya.utils.Browser.height - frameHeight) * 0.5); th...
来源: Laya_社区 发布时间: 20170415
...d(snapshot); //隐藏游戏画布 document.getElementById("layaContainer").style.display = "none"; 大致过程如上述。在手机微信浏览器中运行游戏,到分数结算界面,然后进行截屏,方便玩家长按保存、发送。分享。 在IPHONE,某些华为手机上没啥问...
来源: Laya_社区 发布时间: 20180112
...tils { // TODO: add number formatting options /** Formats a String in .Net-style, with curly braces ("{0}"). Does not support any * number formatting options yet. */ public function formatString(format:String, ...args):String { for (var i:int=0; i<args.length; ++i) format = format.replace(new Reg...
来源: Laya_社区 发布时间: 20170525
layacmd使用ui命令,读取文件D:\s3mh5_client\laya\pageStyles.xml出错 报错信息: D:\s3mh5_client>layacmd ui argv: [ 'C:\\Program Files\\nodejs\\node.exe', 'C:\\Users\\XXX\\AppData\\Roaming\\npm\\node_modules\\layacmd\\ProjectExpor tTools\\LayaAirCmdTool.max.js', 'D:\\s3mh5_cli...
来源: Laya_社区 发布时间: 20171028
... '_tf' of null [Error] TypeError: null is not an object (evaluating 'this._style._tf') Uncaught TypeError: Cannot read property 'indexCount' Uncaught TypeError: Cannot read property 'LayaMotionState' of undefined 问题状态 最新活动: 2019-01-14 15:45 浏览: 1726 关注: 4 人
来源: Laya_社区 发布时间: 20190114
...例中的代码本身是这样子的: <body> <div id="qrcode" style="width:100px; height:100px; margin-top:15px;"></div> <script type="text/javascript"> var qrcode = new QRCode(document.getElementById("qrcode"), { width : 100, height : 100 }); function makeCode (_qrchr) { q...
来源: Laya_社区 发布时间: 20170817
...layabox.com/question/4533 问过,使用Laya.Render._mainCanvas.source.style来设置canvas的属性,这个方法可以,不会发生偏移,但是无法放到我要的位置啊,具体请看图,这问题搞了2天了,求指导 附件 : --> 2017-05-18 添加评论 免费帖 --> 分享 ...
来源: Laya_社区 发布时间: 20170518
... Laya.Browser.pixelRatio); var canvas = Laya.Render._mainCanvas; var canvasStyle = canvas.source.style; canvasStyle.transform = canvasStyle.webkitTransform = canvasStyle.msTransform = canvasStyle.mozTransform = canvasStyle.oTransform = ""; }此问题已经告知微信技术,微信技术已确定...
来源: Laya_社区 发布时间: 20210924
...tp-equiv='Cache-Control' content='no-siteapp' /> </head> <body style='margin:0;overflow:none;overflow-x:hidden;overflow-y:hidden;background-color: #000;'> <script src='LayaSample.max.js' loader='laya'></script> </body> </html> 背景没有赋值成黑色 2017-0...
来源: Laya_社区 发布时间: 20170711