Commit 0a84505c authored by Tt's avatar Tt

双指缩放部分代码整理

parent eefb3126
This diff is collapsed.
......@@ -648,7 +648,7 @@ let pg = {
});
})
},
getAudioClip(audio_url) {
getAudioClip(audio_url):Promise<cc.AudioClip> {
return new Promise((resolve, reject) => {
if (!audio_url) return resolve(null);
cc.assetManager.loadRemote(audio_url, (err, audioClip: any) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment