mirror of
https://github.com/wechat-miniprogram/minigame-tuanjie-transform-sdk.git
synced 2025-11-13 20:05:55 +08:00
Added _JS_Sound_GetPosition() dummy to unity-audio.js to fix missing function error starting from Unity 2022.3.57f1 and later
Fixed https://github.com/wechat-miniprogram/minigame-unity-webgl-transform/issues/961 Same error occurred on Unity 6000 as well.
This commit is contained in:
parent
207766f6db
commit
d8d70a93de
@ -1265,4 +1265,7 @@ export default {
|
||||
}
|
||||
return WEBAudio.audioContext.sampleRate;
|
||||
},
|
||||
_JS_Sound_GetPosition() {
|
||||
return 0;
|
||||
},
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user