大约有 11 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0040 秒)
...OCUS, this, () => { _sound.play(0); }); …… Copyright ©Layabox 2025 all right reserved,powered by LayaAir Engine更新时间: 2025-10-10 16:28:01 img{cursor:pointer}
来源: Laya3.0_文档 发布时间: 20251010
...s.push(Laya.loader.load(url)); tasks.push(Laya.loader.load(url2)); Promise.all(tasks).then((res:Array<any>)=> { //用于异步加载 }); 1.4 Texture和Texture2D的问题 同一个资源地址,无论是加载Texture还是Texture2D,他们在内存中都只有一份,但可以获取不同...
来源: Laya3.0_文档 发布时间: 20251010
...a?: boolean, hdrEncodeFormat?: HDREncodeFormat, } Copyright ©Layabox 2025 all right reserved,powered by LayaAir Engine更新时间: 2025-10-10 16:28:00 img{cursor:pointer}
来源: Laya3.0_文档 发布时间: 20251010
...件(png/jpg)打包。目的是遇到不支持压缩格式的系统时,fallback到源文件。 四、项目编译 进入上面app构建器构建出来的Linux项目工程目录,执行下面的命令进行编译。 ./build.sh 执行命令后,可执行文件被写入install_cmake/bin目录。...
来源: Laya3.0_文档 发布时间: 20251010
...Laya.Browser.onChrome) { console.log("Chrome"); } Copyright ©Layabox 2025 all right reserved,powered by LayaAir Engine更新时间: 2025-10-10 16:28:00 img{cursor:pointer}
来源: Laya3.0_文档 发布时间: 20251010
...场景,不包括对话框,如果关闭对话框,请使用Dialog.closeAll() * 【注意】被关闭的场景,如果没有设置autoDestroyAtRemoved=true,则资源可能不能被回收,需要自己手动回收 */ static closeAll(): void { 4,关闭后调用的生命周期方法 /** * 关...
来源: Laya3.0_文档 发布时间: 20251010
...File:ZipFile; 手动更新dcc缓存的功能。 interface AppCache{ ... delAllCache():void; /** * 更新dcc中的一个文件 * @param nameid 更新的文件,自己计算。 * 路径规则:/,表示app根目录。例如:hashstr('/index.html'), 不要带参数,如果带参数的话-- hashs...
来源: Laya3.0_文档 发布时间: 20251010
...2,方法 abort() 如果请求已经被发送,则立刻中止请求。 getAllResponseHeaders() 返回所有响应头信息(响应头名和值), 如果响应头还没接受,则返回null。 getResponseHeader() 返回指定的响应头的值, 如果响应头还没被接受,或该响应头不存在,...
来源: Laya3.0_文档 发布时间: 20250104
...{ colaStarArr[h] = 0; } } }; return aStarArr; } } Copyright ©Layabox 2022 all right reserved,powered by LayaAir Engine更新时间: 2023-03-03 17:33:44 img{cursor:pointer}
来源: Laya3.0_文档 发布时间: 20230303
...方式有两种: 使用numItems重新设置数量。 GList.refreshVirtualList。 不允许使用addChild或removeChild对虚拟列表增删对象。如果要清空列表,必须要通过设置numItems=0,而不是removeChildren。 虚拟列表支持可变大小的item,可以通过两种方式...
来源: Laya3.0_文档 发布时间: 20251128