当前位置:网站首页>[cocos creator] get the resource UUID
[cocos creator] get the resource UUID
2022-07-03 07:53:00 【Braised fairy grass milk tea】
let url = audioName;//resources The path under the folder
cc.loader.loadRes(url, cc.AudioClip, (err, clip: cc.AudioClip) => {
if (err || !clip) {
return;
}
const uuid = cc.assetManager.utils.getUuidFromURL(clip.nativeUrl);//uuid
const path = cc.assetManager.utils.getUrlWithUuid(uuid, {
isNative: true, nativeExt: ".mp3" });// Native platform address
console.log(">>path" + path);
});
边栏推荐
- Redis profile
- PDO and SDO concepts
- Project experience sharing: handwritten Chinese character recognition based on Shengsi mindspire
- Go language foundation ----- 08 ----- interface
- 输入三次猜一个数字
- [MySQL 12] MySQL 8.0.18 reinitialization
- opensips与对方tls sip trunk对接注意事项
- Huawei s5700 switch initialization and configuration Telnet, SSH user methods
- Go language foundation ----- 18 ----- collaboration security, mutex lock, read-write lock, anonymous lock, sync Once
- 基于RNA的新型癌症疗法介绍
猜你喜欢

Unity XR实现交互(抓取,移动旋转,传送,射击)-Pico

Oracle queries grouped by time

An article for you to understand - Manchester code
![[MySQL 14] use dbeaver tool to remotely backup and restore MySQL database (Linux Environment)](/img/38/3435d353e50b19fe09c8ab9db52204.png)
[MySQL 14] use dbeaver tool to remotely backup and restore MySQL database (Linux Environment)

vcs import src < ros2. Repos failed

Professor Zhang Yang of the University of Michigan is employed as a visiting professor of Shanghai Jiaotong University, China (picture)

Technical dry goods | Bert model for the migration of mindspore NLP model - text matching task (2): training and evaluation

Research shows that breast cancer cells are more likely to enter the blood when patients sleep

PAT甲级 1027 Colors in Mars

EtherCAT state machine transition (ESM)
随机推荐
Docker installs MySQL and successfully uses Navicat connection
HarmonyOS第三次培训笔记
Differences between tp3.2 and tp5.0
技术干货|关于AI Architecture未来的一些思考
密西根大学张阳教授受聘中国上海交通大学客座教授(图)
register关键字
华为交换机Console密码重置、设备初始化、默认密码
研究显示乳腺癌细胞更容易在患者睡觉时进入血液
MAE
go语言-循环语句
PHP common sorting algorithm
基于RNA的新型癌症疗法介绍
OSPF experiment
[at] ABC 258g - triple Reach - violence
Go language foundation ----- 10 ----- string related operations (operation function, string conversion)
UA camouflage, get and post in requests carry parameters to obtain JSON format content
Microsoft Security Response Center
什么是数据类型?数据类型有什么用?
haproxy+keepalived搭建01
[MySQL 14] use dbeaver tool to remotely backup and restore MySQL database (Linux Environment)