Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[unity] webgl wasmbigint 支持 #64

Open
mingxxming opened this issue Jul 19, 2024 · 1 comment
Open

[unity] webgl wasmbigint 支持 #64

mingxxming opened this issue Jul 19, 2024 · 1 comment

Comments

@mingxxming
Copy link

unity 2023.2.20.f1c1 支持wasmbigint了。 但是puerts初始化异常
Tencent/puerts#1798

@mingxxming
Copy link
Author

SetGlobalFunction: function (isolate, nameString, v8FunctionCallback, jsEnvIdx, callbackidx) {
callbackidx = callbackidx == undefined ? Number(jsEnvIdx >>32n) : callbackidx;
const name = engine.unityApi.UTF8ToString(nameString);
library_1.global[name] = engine.makeCSharpFunctionCallbackFunction(true, v8FunctionCallback, callbackidx);
},

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant