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

webgl 要怎么支持socket 希望有大佬解惑 #1109

Open
junkfoodyang opened this issue Dec 29, 2023 · 1 comment
Open

webgl 要怎么支持socket 希望有大佬解惑 #1109

junkfoodyang opened this issue Dec 29, 2023 · 1 comment

Comments

@junkfoodyang
Copy link

#if (!UNITY_SWITCH && !UNITY_WEBGL) || UNITY_EDITOR
[MonoPInvokeCallback(typeof(LuaCSFunction))]
internal static int LoadSocketCore(RealStatePtr L)
{
return LuaAPI.luaopen_socket_core(L);
}
#endif

安卓平台要转webgl 现在这个不支持

@chexiongsheng
Copy link
Collaborator

h5出于安全压根就不让用socket。

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