大约有 3,603 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0086 秒)
Laya_社区(2675) Laya3.0_api(265) Laya2.0_文档(227) Laya2.0_api(113) laya_api(98) Laya3.0_文档(97) Laya_示例(83) Laya2.0_示例(45)
...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
... 1 个回复 Laya_zhang 赞同来自: 你把laya.wxmini.js中这个改为true(MiniAdpter.AutoCacheDownFile = true)就可以了,这个本来应该是默认开启的,后面也会修改这里,感谢反馈 2021-08-13 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该...
来源: Laya_社区 发布时间: 20210813
...sionCategoryAmbient error:nil]; [[AVAudioSession sharedInstance] setActive:true error:nil]; 2019-08-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 loew 赞同来自: 后续解决方案:把以下代码提前...
来源: Laya_社区 发布时间: 20190815
...变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事件检测...
来源: Laya3.0_api 发布时间: 20231115
...,然后快速关闭界面,Image被 destroy(destroyChild: boolean = true): void { super.destroy(true); this._bitmap && this._bitmap.destroy(); this._bitmap = null; } 2,当前资源加载完成后,回调设置皮肤资...
来源: Laya_社区 发布时间: 20191024
...回复 bpmf_d 赞同来自: // var pop = new PopupDialog(); // pop.popup(true,true);把上面的代码改成下面的试试 Laya.Scene.open("PopupDialog.scene"); 2019-05-16 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 无名 相关问...
来源: Laya_社区 发布时间: 20190114
...根据手机方向旋转屏幕 。 @param autoOrients 是否自动旋转 true 旋转;false 不旋转 IFlash.setAutoOrients(true);//是否自动旋转 2015-12-04 1 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 arvin0 相关问题 看了...
来源: Laya_社区 发布时间: 20151204
...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
... []; 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
...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