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

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

781. [LayaAirIDE3]2d相机打包后问题 [ 72%]

...e;     private deadZone: number = 45;     private isEnabled: boolean = true;      onAwake() {         this.createJoystick();         this.bindEvents();                 // 监听全局事件         Laya.stage.on("DIALOG_SHOW", this, this.disable);         Laya.stage.on...

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

782. laya白名单资源5个以下有效 [ 72%]

... 1 个回复 Laya_zhang 赞同来自: 你把laya.wxmini.js中这个改为true(MiniAdpter.AutoCacheDownFile = true)就可以了,这个本来应该是默认开启的,后面也会修改这里,感谢反馈 2021-08-13 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该...

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

783. IOS打开游戏会关闭后台其他软件播放的音乐 [ 72%]

...sionCategoryAmbient error:nil]; [[AVAudioSession sharedInstance] setActive:true error:nil]; 2019-08-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 loew 赞同来自: 后续解决方案:把以下代码提前...

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

784. laya.ui.ViewStack_API3.0 [ 72%]

...变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事件检测...

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

785. Image设置skin的Bug [ 72%]

...,然后快速关闭界面,Image被 destroy(destroyChild: boolean = true): void {         super.destroy(true);         this._bitmap && this._bitmap.destroy();         this._bitmap = null;     }   2,当前资源加载完成后,回调设置皮肤资...

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

786. 弹出框无法正常显示,见demo [ 72%]

...回复 bpmf_d 赞同来自: // var pop = new PopupDialog(); // pop.popup(true,true);把上面的代码改成下面的试试 Laya.Scene.open("PopupDialog.scene"); 2019-05-16 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 无名 相关问...

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

787. 怎么让laya h5自动适应手机横竖屏? [ 72%]

...根据手机方向旋转屏幕 。 @param autoOrients 是否自动旋转 true 旋转;false 不旋转 IFlash.setAutoOrients(true);//是否自动旋转 2015-12-04 1 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 arvin0 相关问题 看了...

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

788. laya.ui.UIUtils_API3.0 [ 72%]

...eters target: Sprite 目标显示对象。 Default value isGray: boolean = true 如果值true,则添加灰度滤镜,否则移除灰度滤镜。 Returns void Static toColor toColor(color: number): string Defined in laya/ui/UIUtils.ts:37 转换uint类型颜色值为字符型颜色值。 Parameters...

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

789. 为啥我在批量removeself 会报错卡死 [ 72%]

... []; if(selectImg != null) { selectImg.removeSelf(); } this.mouseEnabled = true; if(this.visible == false) { this.visible = true; } super.removeSelf(); if(itemCountTx != null) { itemCountTx.removeSelf(); } return this; }   2017-11-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找...

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

790. laya.d3.core.MeshSprite3D_API3.0 [ 72%]

...s:310 inheritdoc override Parameters Default value destroyChild: boolean = true Returns void destroyChildren destroyChildren(): void Inherited from Node.destroyChildren Defined in laya/display/Node.ts:211 销毁所有子对象,不销毁自己本身。 Returns void event event(type: string, data?: ...

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