![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
网络
ThreePointsHeat
这个作者很懒,什么都没留下…
展开
-
Unity使用UDP实现局域网通信
废话不多少上代码。。。下面是客户端代码:using UnityEngine;using System.Collections;using System;using System.Net;using System.Net.Sockets;using System.Text;using System.Threading;using System.Net.NetworkInformation;public class UDPClient : MonoBehaviour{ pu原创 2020-08-15 11:47:49 · 2859 阅读 · 3 评论 -
Untiy WebGL与Http服务器通信
1;什么是Unity webGLwebGL 的编译选项允许unity发布像使用了HTML5和webGL渲染API技术来使unity程序可以跑在浏览器中的javascript 程序。想要编译和测试WebGL程序,只需要在Build Playersetting里选择WebGL编译平台即可。2:unity是怎么样发布为webGl程序的为了运行webgl,需要我们的所有代码都是采用JavaScript编写,unity使用emscripten编译器工具链交叉编译unity运行时的代码(C和C++)为asm..转载 2020-08-12 17:46:18 · 979 阅读 · 0 评论