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

大约有 2,372 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0058 秒)

921. 微信小游戏开放域不能使用Tab组件和Scorllbar? [ 71%]

...以使用没问题,到了开放域,会提示 lose skin res/vscroll$bar.png lose skin res/tab.png 请问这怎么回事?? 同个目录下的其他图片也可以使用 2018-07-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接...

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

922. 创建材质(ActionScript-3D基础(AS3)-LayaAir3D之Material材质) [ 71%]

...BlinnPhongMaterial = new BlinnPhongMaterial(); Texture2D.load("res/layabox.png", Handler.create(this, function(tex:Texture2D):void { //纹理加载完成后赋值 material.albedoTexture = tex; })); //将材质赋值给自定义模型 box.meshRenderer.material = material; ``` ![](img/1.png)(图1) 当...

来源: Laya2.0_文档 发布时间: 20210715

923. drawToCanvas 截屏 以后外发光会变黑。 [ 71%]

...前只有发光滤镜 官方提供的进度条示例 只能设置progress.png的九宫, 里面的progress$bar.png 无法设置,然而拉长以后效果简直无法直视 如何给Sprite的graphics绘制的线条添加发光滤镜? 问题状态 最新活动: 2017-09-22 11:44 浏览: 816 关注:...

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

924. 图文混排font标签配对的问题 [ 71%]

...pendHTML("<font color='#fff9c2'>111<img src='MORNUI_BiaoQing/bq01.png'/>222</font><br>"); 直接写这个 会完全混乱掉 显示222图片 如果<font color='#fff9c2'>111</font><img src='MORNUI_BiaoQing/bq01.png'/><font color='#fff9c2'>222</font&g...

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

925. 2.0IDE设计模式下,界面开不起来 [ 71%]

...是将颜色混合起来吗 UI编辑界面中的Graphics comp下的button.png第一次点击进入另一个界面,再在这个界面下点击时点击事件不生效? 小米快游戏发布运行不起来 开启一个项目 切换到编辑模式界面 界面一片空白 设计模式下发布之...

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

926. progressbar设置皮肤后, 马上destroy会报bug [ 71%]

...: void { this._bg.skin = this._skin; this._bar.skin = this._skin.replace(".png", "$bar.png"); this.callLater(this.changeValue); this._sizeChanged(); this.event(Event.LOADED); }加载过程中, 组件执行了destroy()方法后,  this._bg.skin = this._skin;// 这行会报错 2020-01-08 添加评论 ...

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

927. List翻页效果 [ 71%]

...Array = ; for (let i = 1; i < 7; i++) { imgArray.push(`ui/bg_help_0${i}.png`) } this.list_rule.array = imgArray; } public updateItem(cell: Laya.Box, index: number): void { let img_rule = cell.getChildByName("img_rule") as Laya.Image; img_rule.skin = cell.dataSource let text_info = cell.getChildBy...

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

928. 一篇了解所有的LayaAir文本组件(TypeScript-LayaAir基础篇(TS)-文本) [ 71%]

...60像素大小,采用simHei字体。如下图所示: ![图2](img/1-3-2.png) 值为`60px simHei italic` 增加了斜体效果。如下图所示: ![3](img/1-3-3.png) 值为`bold 60px simHei italic` 增加了文本加粗效果。如下图所示: ![4](img/1-3-4.png) > Tips: > > - 大小与字体...

来源: Laya2.0_文档 发布时间: 20210715

929. 多行输入文本组件 · LayaAir3.0文档 · LAYABOX [ 71%]

...erflow = "scroll"; //文本溢出 this.txtarea.skin = "atlas/comp/textarea.png"; //皮肤 this.txtarea.borderColor = "#f6ff03" //边框颜色 this.txtarea.scrollType = Laya.ScrollType.Vertical; //滚动方式 this.txtarea.vScrollBarSkin = "atlas/comp/vscroll.png"; //滚动条皮肤 } } 开发者注...

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

930. Laya.Utils.getQueryString 中文乱码 [ 71%]

...amp;roomId=1&userName=如来&uid=1&headImg=weiguang/usericon/1.png.jpg&posId=0", 没有经过 escape 编码所以出来是乱码  å¦‚来 用 console.log(escape("如来")); 方法先编码 然后把编码后的字符串 替换连接参数中的中文 如来 就可以了 如...

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