![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
unity
栾城
努力写一个引擎
展开
-
unity简单服务器和客户端
unity简单服务器和客户端服务器目的在服务器收到客户端消息时返回一条消息服务器搭建流程1.创建一个服务器实例 Socket2.创建一个IPAdress并为IPAdress添加地址3.创建一个IPendPoint,并为IPEndPoint添加IPAdress和端口4.为Socket绑定IPEndPoint5.循环监听端口 6.收到消息并反馈代码Console.WriteLine("原创 2017-07-10 10:16:46 · 5300 阅读 · 0 评论 -
获得Animator当前播放的AnimationClip
AnimatorClipInfoDescriptionInformation about clip being played and blended by the Animator.获得Animator的当前AnimationClip和混合动画的信息VariablesclipReturns the animation clip played by原创 2017-06-08 20:50:14 · 5602 阅读 · 0 评论 -
unity C#将excel解析为json
unity C#将excel解析为json本文将会使用到4个插件:Excel.dll , ICSharpCode.SharpZipLib.dll , SimpleJson.cs , System.Data.dll .参考连接:http://www.xuanyusong.com/archives/2429 http://www.cnblogs.com/singledigit/p/62原创 2017-07-10 10:59:07 · 616 阅读 · 0 评论 -
Unity android调试
Android的两种调试方法1.使用MonoDelevelop断点调试1.将手机连接局域网1.使用数据线连接主机2.在cmd界面中输入 adb tcpip 55552.出现 restarting in TCP mode port:5555即为成功3.输入adb connect DEVICEIPADDRESS(为手机在局域网中的ip地址)(在此步骤前,最好是ping 一下地址,检查一下地址是否原创 2017-08-08 15:03:41 · 551 阅读 · 0 评论 -
Unity中InSpector重写问题
unity中使用inspector的重写问题原创 2017-08-16 15:14:01 · 1520 阅读 · 0 评论