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

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

721. [LayaAirIDE3]资源导入时启用纹理压缩设置项不存在 [ 74%]

...微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 谷主 赞同来自: 没有这个选项了。可以使用插件完成。https://www.layaair.com/3.x/do ... %2586 2024-07-02 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题...

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

722. laya.ui.TextArea_API3.0 [ 74%]

...ea.wordWrap = true;//设置 textArea 的文本自动换行。 textArea.x = 100;//设置 textArea 对象的属性 x 的值,用于控制 textArea 对象的显示位置。 textArea.y = 100;//设置 textArea 对象的属性 y 的值,用于控制 textArea 对象的显示位置。 textArea.width = 300...

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

723. 如何判断物体是否出了屏幕,用坐标计算吗 [ 74%]

如何判断物体是否出了屏幕,用坐标计算吗 2017-08-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: 是的,判断物体是否在舞台上,if(obj . x<0||obj.y<0...

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

724. sound manager在MOUSE_OVER事件中无法播放 [ 74%]

... private setup(): void {             var gap: number = 10;              //创建一个Sprite充当音效播放按钮             var soundButton: Sprite = this.createButton("播放音效");             soundButton.x = (Laya.stage.width ...

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

725. 关于这个timer我的跑的快在 自己出完牌之后没有人比我的牌大了。可是我的牌还是出不去 [ 74%]

...er; this.turnNumber; if (this.lastPaixing != "") { if ( this.turnNumber == 1) { NTS = 8; NTE = 5; } if ( this.turnNumber == 2) { NTS = 12; NTE = 9; } if (this.turnNumber== 3) { NTS = 16; NTE = 13; } this.SortToOut(this.turnNumber); console.log(this.nextTurn); if (this.isAbleToOut) { this.computerOut...

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

726. laya.ui.Tree [ 74%]

...d Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX轴锚点,值为0-1Component anchorY : NumberY轴锚点,值为0-1Component  array : Array 列表数据源,只包含当...

来源: laya_api 发布时间: 20170929

727. 水平翻转 图片位置不变 pivot需要设置为多少呢 [ 73%]

...翻转 图片位置不变 pivot需要设置为多少呢 为什么scaleX = -1;水平翻转 图片的位置怎么偏移了 怎么保持位置不变呢 2017-01-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixue...

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

728. laya.ui.Image [ 73%]

... 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值...

来源: Laya2.0_api 发布时间: 20190513

729. getGraphicBounds() 的问题 [ 73%]

...变了    再次使用  getGraphicBounds 时 是个错误的值 2017-11-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 ymsdandan 赞同来自: 建议您发个demo过来 2017-11-09 0 0 分享 微博 QZON...

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

730. laya.ui.DialogManager [ 73%]

... 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并且不会随着绘制内容...

来源: Laya2.0_api 发布时间: 20190513