大约有 194 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0056 秒)
...法开启角度指示器 var render = LayaRender.create( { engine: engine, container: gameWorld, width: stageWidth, height: stageHeight, options: { wireframes: true, showAngleIndicator: true //无法开启 } }); 哎,为什么你们习惯要开发者上传Demo给你们发现问题呢?自己开...
来源: Laya_社区 发布时间: 20180120
...blur(); if (Render.isConchApp) input.setPos(-10000, -10000); else if (inputContainer.contains(input)) inputContainer.removeChild(input); } } } 执行此方法的时候小键盘不出来 求教各位大佬是什么原因, AS语言,VIVO小游戏 2019-10-10 添加评论 免费帖 --> 分享 ...
来源: Laya_社区 发布时间: 20191010
...margin: 1em; background-color: #fdd; color: black"> <h3>This page contains the following errors: </h3> <div style="font-family:monospace;font-size:12px">error on line 1 at column 53: attributes construct error </div> <h3>Below is a rendering of the page up to the fir...
来源: Laya_社区 发布时间: 20171130
... { engine: engine, // container: gameWorld, options: { width: stageWidth, height: stageHeight, wireframes: true, pixelRatio: window.devicePixe...
来源: Laya_社区 发布时间: 20180120
...码如下,可是这个页面无法显示 ,且一直报错,"This page contains the following errors:error on line 1 at column 7: internal error: detected an error in element contentBelow is a rendering of the page up to the first error." (function() { var Stage = Laya.Stage; var Text = Laya.T...
来源: Laya_社区 发布时间: 20171113
...onent addComponentInstance addLayer bubbleEvent callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestro...
来源: Laya3.0_api 发布时间: 20231115
...复 米粒 赞同来自: 大光电KID 看源码解决了!如果改变layaContainer的位置后导致点击偏移,可以改源码: laya.core.js第12581行 this._point.setTo(e.pageX || e.clientX,e.pageY || e.clientY); 改为 this._point.setTo((e.pageX || e.clientX)-Browser._contai...
来源: Laya_社区 发布时间: 20170518
...界面,一般使用模板函数来构建 let template = ` <view id="container"> <text id="testText" class="redText" value="hello canvas"></text> </view> `; // 以键值对的形式定义开放数据域的样式和布局 let style = { container: { width: 400, height: 200, ba...
来源: Laya3.0_文档 发布时间: 20251010
...功能同Laya.timer.clearTimer()。 Node clone():Node 克隆。 Sprite3D contains(node:Node):Boolean 当前容器是否包含指定的 Node 节点对象 。 Node depth():Number 获取地形Z轴长度。 Terrain destroy(destroyChild:Boolean = true):void[override] 销毁此对象。destroy对象...
来源: Laya2.0_api 发布时间: 20190513
...onent addComponentInstance addLayer bubbleEvent callLater clearTimer clone contains convertScreenCoordToOrthographicCoord destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf normalizedViewportPointT...
来源: Laya3.0_api 发布时间: 20231115