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

大约有 1,626 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0103 秒)

351. laya.utils.Utils [ 72%]

...出的坐标X值、Y值、ScaleX值、ScaleY值。 Utils  getQueryString(name:String):String[static] 获得URL参数值 Utils  getTransformRelativeToWindow(coordinateSpace:Sprite, x:Number, y:Number):Object[static] 获取指定区域内相对于窗口左上角的transform。 Utils  measureText...

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

352. 网络通信 · LayaAir3文档 · LAYABOX [ 72%]

...* 请求进度改变时调度。 * @eventType Event.PROGRESS * */ /*[Event(name = "progress", type = "laya.events.Event")]*/ /** * 请求结束后调度。 * @eventType Event.COMPLETE * */ /*[Event(name = "complete", type = "laya.events.Event")]*/ /** * 请求出错时调度。 * @eventType Event.ER...

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

353. 请求返回的json数据如何根据key获得value的值? [ 72%]

...layabox.com/question/10412 如果不明白 你就试一下   json对象.name 直接就会得到 name的  value 2018-01-12 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 LayaNew11 相关问题 2.0一不小心删了bin目录下的某...

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

354. 协议打包byte出错 [ 72%]

...byte出错 // message request_create{ //          required string name = 1; //角色名 //          required bytes career = 2; //角色职业 //          required bytes sex = 3; //角色性别 // }             if(Msg== null){                 Msg...

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

355. SoundManager.setMusicVolume(0)苹果浏览器不静音! [ 72%]

...: 与内容相关的链接 提交 2 个回复 anghuo 赞同来自: if (cb.name == "musicset")             {                 cb.selected ? SoundManager.setMusicVolume(0) : SoundManager.setMusicVolume(0.5);             }             else if (cb.name == "soundset"...

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

356. laya.components.AnimatorController2D_API3.0 [ 72%]

...2D Index Constructors constructor Properties _id destroyedImmediately lock name url uuid DEBUG Accessors cpuMemory destroyed gpuMemory id obsolute referenceCount cpuMemory gpuMemory Methods _addReference _clearReference _removeReference _setCPUMemory _setCreateURL _setGPUMemory destroy event hasList...

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

357. version management 找图片 [ 72%]

...改引擎资源版本管理的方法,修改成每次访问资源时为 name.png?v=12345的格式,而非name12345.png的格式 2018-11-27 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 123黄 相关问题 请问LayaAir中如何使图...

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

358. UI-Dialog [ 72%]

...ssets[0]); dialog.addChild(bg); var button = new Button(assets[1]); button.name = Dialog.CLOSE; button.pos(DIALOG_WIDTH - CLOSE_BTN_WIDTH - CLOSE_BTN_PADDING, CLOSE_BTN_PADDING); dialog.addChild(button); dialog.dragArea = "0,0," + DIALOG_WIDTH + "," + DIALOG_HEIGHT; dialog.show(); } })();module laya...

来源: Laya_示例 发布时间: 20251209

359. 发布到手机测试微信小游戏,文件大小超过4M怎么办? [ 72%]

...通不过 {     “subpackages”: [         {             “name”: “stage1”,             “root”: “stage1”  //可指定一个目录,根目录下game.js会作为入口文件,目录下所有资源将会统一打包         },          {             ...

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

360. UI-Dialog [ 72%]

...ssets[0]); dialog.addChild(bg); let button = new Button(assets[1]); button.name = Dialog.CLOSE; button.pos(DIALOG_WIDTH - CLOSE_BTN_WIDTH - CLOSE_BTN_PADDING, CLOSE_BTN_PADDING); dialog.addChild(button); dialog.dragArea = "0,0," + DIALOG_WIDTH + "," + DIALOG_HEIGHT; dialog.show(); } } new UI_Dialog(...

来源: Laya2.0_示例 发布时间: 20251209