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

Issue makeDynCall #21

Open
w3leee opened this issue Aug 18, 2024 · 1 comment
Open

Issue makeDynCall #21

w3leee opened this issue Aug 18, 2024 · 1 comment

Comments

@w3leee
Copy link

w3leee commented Aug 18, 2024

Starting with Unity 2021, we changed the way to use makeDynCall. https://docs.unity3d.com/2021.3/Documentation/Manual/web-interacting-browser-example.html

Update Runtime.dynCall("viii", webSocketState.onMessage, [ instanceId, buffer, dataBuffer.length ]);
to {{{ makeDynCall('viii', 'webSocketState.onMessage') }}}(instanceId, buffer, dataBuffer.length);

@nyalpin
Copy link

nyalpin commented Sep 23, 2024

thanks!

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

2 participants