【游戏技术群】959392658  【游戏出海群】12067810
游戏蛮牛 手机端
开启辅助访问
 找回密码
 注册帐号

扫一扫,访问微社区

首页   >   博客   >  18803836360
18803836360 个人分类:c# 238 2018-12-21 00:04

ascll 好像不支持中文的解析 客户端 csharpcode: using UnityEngine; using System.Collections; //引入库 using System.Net; using System.Net.Sockets; using System.Text; using System.Threading; using UnityEngine; public class UdpClient : MonoBehaviour { string editString = "hello ...

18803836360 个人分类:网络 142 2018-12-20 21:18

客户端服务端,接受与发送的端口号相互对应即可 csharpcode: using UnityEngine; using System.Collections; //引入库 using System.Net; using System.Net.Sockets; using System.Text; using System.Threading; using System.Collections.Generic; using System; public class UdpClient : Mon ...

18803836360 个人分类:网络 225 2018-12-20 21:15

客户端代码 csharpcode: using UnityEngine; using System.Collections; //引入库 using System.Net; using System.Net.Sockets; using System.Text; using System.Threading; using System.Collections.Generic; using UnityEngine.UI; public class UdpClient : MonoBehaviour { string editStr ...

18803836360 个人分类:小点 174 2018-12-14 10:49

ArgumentException: The Assembly System.Windows.Forms is referenced by NPOI ('Assets/Plugins/NPOI.dll'). But the dll is not allowed to be included or could not be found. UnityEditor.AssemblyHelper.AddReferencedAssembliesRecurse (System.String assemblyPath, System.Collections.Generic.List`1 already ...

18803836360 个人分类:unity基础篇 245 2018-11-27 09:31

Unity 自带的联网功能 在物体上添加networkmanager,会自动生成Lan host 本地既是客户端又是服务器 同宿舍需要其他人的 ip 第二个是链接服务器端(同步次数低会显得卡顿),首先得有打开的服务器 通过 networkmanager ,选定要生成的 player 新建一个 build 文件夹(与 ass ...

返回顶部