xLua
xLua copied to clipboard
webgl 要怎么支持socket 希望有大佬解惑
#if (!UNITY_SWITCH && !UNITY_WEBGL) || UNITY_EDITOR [MonoPInvokeCallback(typeof(LuaCSFunction))] internal static int LoadSocketCore(RealStatePtr L) { return LuaAPI.luaopen_socket_core(L); } #endif
安卓平台要转webgl 现在这个不支持
h5出于安全压根就不让用socket。