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

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

461. UI弹窗 · LayaAir3.0文档 · LAYABOX [ 47%]

...); } onDestroy(): void { if (this.dialog) { this.dialog.close(); } } } Copyright ©Layabox 2022 all right reserved,powered by LayaAir Engine更新时间: 2023-03-03 17:33:52 img{cursor:pointer}

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

462. 1.7版本要初始化后有些代码才能用了 [ 47%]

...a.init(800,600); //test.text = new laya.display.Text(); // in this line is right test.text.text = "dsafdsdsada"; test.text.color = "#ff0000"; Laya.stage.addChild(test.text); </script> 2017-03-02 0 4 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录...

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

463. WebSocket connection to 'ws://192.168.0.8:8102/' failed: Invalid frame header [ 47%]

... payload length into consideration. – Cyclonecode Jul 7 '15 at 10:22 Right, of course, so i need to use the next two (or eight) bytes to store the length instead – BenJacob Jul 7 '15 at 10:25 If the length is between 15 and 65535 bytes then your will have to add a two byte extended lengt...

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

464. 微信小游戏Worker使用 · LayaAir3.3 · 引擎文档 · LAYABOX [ 47%]

...需求来扩展音频、网络连接、本地文件处理等功能。 Copyright ©Layabox 2025 all right reserved,powered by LayaAir Engine更新时间: 2025-01-03 16:42:22 img{cursor:pointer}

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

465. 音频 · LayaAir3.3 · 引擎文档 · LAYABOX [ 47%]

...stage.on(Laya.Event.FOCUS, this, () => { _sound.play(0); }); …… Copyright ©Layabox 2025 all right reserved,powered by LayaAir Engine更新时间: 2024-09-10 16:27:13 img{cursor:pointer}

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

466. laya.ui.Component [ 47%]

...轴心点会影响对象位置,缩放中心,旋转中心。Sprite  right : Number 从组件右边到其内容区域右边之间的水平距离(以像素为单位)。 Component rotation : Number旋转角度,默认值为0。以角度为单位。Sprite  scaleX : Number[override] X轴缩...

来源: laya_api 发布时间: 20170929

467. UI模式下Dialog标签嵌套RadioGroup会导致编辑器卡死 [ 46%]

...left_1.png" editorInfo="compId=29"/> <Image y="338" x="604" var="headRight" skin="setting/server_run_right.png" editorInfo="compId=27"/> </Dialog>   Dialog作为最层 元素 2017-02-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...

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

468. laya.ui.AutoBitmap_API3.0 [ 46%]

... textAlign: string 文本对齐方式,可选值:"left","center","right"。 lineWidth: number 镶边线条宽度。 borderColor: string 定义镶边文本颜色。 Returns FillTextCmd fillText fillText(text: string | WordText, x: number, y: number, font: string, color: string, textAlign: stri...

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

469. 原生平台通信 · LayaAir3.3 · 引擎文档 · LAYABOX [ 46%]

... "async message from platform"); } }); return conchMain(argc, argv); } Copyright ©Layabox 2025 all right reserved,powered by LayaAir Engine更新时间: 2025-02-14 17:54:48 img{cursor:pointer}

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

470. 竖屏游戏实现背景缩放铺满全屏,UI相对高度等比较缩放,UI位置始终按照竖屏比例显示在屏幕中间 [ 46%]

...都设置为1334*750,然后设置给UI页面设置相对布局(left,right,top,bottom),最后在代码中设置适配模式SCALE_FIXED_WIDTH !

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