• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 2,110 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0080 秒)

311. HtmlDivElement的innerHTML属性BUG [ 80%]

...yle.color = "#ffffff"; Laya.stage.addChild(htmlDiv); htmlDiv.innerHTML = "<font color='#00ff00'>宝石1<br/>宝石2</font>";用了1.7.17版本测试,未解决,麻烦官方测试下。 附件 : --> Client.zip 2018-04-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...

来源: Laya_社区 发布时间: 20180419

312. 分享个用美术资源做位图文本的方法。。。 [ 80%]

... if(!v || v == ""){ return; } // 移除上次绘制的内容 for(var k=0;k<this.numChildren;k++){ Laya.Pool.recover("sprite",this._childs[k]); } this.removeChildren(); var charTotal: number = v.length; var charSps: any = ; for(var i=0;i<charTotal;i++){ var targetChar = v.substr(i,1); var charD...

来源: Laya_社区 发布时间: 20161014

313. 开放数据域组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 80%]

...setUserCloudStorage方法支持一次传递多组数据 for (let i = 0; i < 5; i++) { //每项数据都是一个包含 key 和 value 两个属性的对象。 let KVData = { key: "test" + i, value: "" + i * 1000, } KVDataList.push(KVData); } /** * KVDataList:KV 数据列表 * success:接口调...

来源: Laya3.0_文档 发布时间: 20251010

314. ios旋转问题 [ 80%]

...r(height / ratio); } if (height > 1280) height = 1280; else if (height < 960) height = 960;*/ var browerRatio:Number = width / height ; if( height != 1136 ) { // w 640 // h 1136 var ratioW:Number = height / 1136 ; height = 1136 ; width = Math.floor( width / ratioW ) ; } if( width < 640 ) { ...

来源: Laya_社区 发布时间: 20170828

315. 预加载进入游戏界面 [ 80%]

...链接 提交 2 个回复 w1114367261 赞同来自: /**          * <p>加载资源。资源加载错误时,本对象会派发 Event.ERROR 事件,事件回调参数值为加载出错的资源地址。</p>          * <p>因为返回值为 LoaderManager 对象本身,...

来源: Laya_社区 发布时间: 20180418

316. laya.d3.component.AttachPoint [ 80%]

...w Inherited Public Properties PropertyDefined By  attachBones : Vector.<String>挂点骨骼的名称。AttachPoint destroyed : Boolean[read-only] 获取是否已销毁。 Component3D enable : Boolean 获取是否启用。 Component3D id : int[read-only] 获取唯一标识ID。 Component3...

来源: laya_api 发布时间: 20170929

317. 用的2.0.0beta2,为什么发布为小游戏不会生成code.js? [ 80%]

...  2.文档里的小游戏示例是基于1.7.20.2的,index.html里可以<script src="../src/LayaUISample.js"></script>引用主逻辑。而在2.00版自带的小游戏示例里发布后没有code.js是没法在微信工具里跑起来, 我自己尝试这样引入主逻辑的话<sc...

来源: Laya_社区 发布时间: 20180923

318. TS项目,index.html 里面的js代码如何调用项目里面的函数,window.addEventListener 在ts项目里面该怎么写 [ 80%]

...项目,index.html 里面的js代码如何调用项目里面的函数, <script>         function setVersion()         {             //如何调用TS项目里面的类的函数         }     </script> 2: <script>         window.addEvent...

来源: Laya_社区 发布时间: 20180202

319. laya.display.cmd.DrawRoundRectCmd_API3.0 [ 80%]

... DrawRoundRectCmd Index Properties fillColor height lb lineColor lineWidth lt percent rb rt width x y ID Methods getBoundPoints recover Properties fillColor fillColor: any Defined in laya/display/cmd/DrawRoundRectCmd.ts:43 填充颜色,或者填充绘图的渐变对象。 height height: number Def...

来源: Laya3.0_api 发布时间: 20231115

320. Html组件不支持<a>标签的么? [ 80%]

Html组件不支持<a>标签的么? Html组件不支持<a>标签的么? 2018-09-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_XS 赞同来自: htmldivelement类,支持的功能有限,...

来源: Laya_社区 发布时间: 20180907