- 博客(4)
- 收藏
- 关注
转载 获取本地IP地址
using System.Net; using System.Net.NetworkInformation; using System.Net.Sockets; using UnityEngine; public class IPManager { public static string GetIP(ADDRESSFAM Addfam) { //Return null if ADDRESSFAM...
2019-01-17 18:52:06
1035
转载 TCP Socket通信
直接代码 可用 服务端 using System; using System.Collections.Generic; using System.Net; using System.Net.NetworkInformation; using System.Net.Sockets; using System.Text; using System.Threading; using UnityEngi...
2019-01-17 18:50:20
361
转载 Unity PC端 移动端(安卓)读取 Xml文件
搜集整理 public static XmlDocument LoadXML(string _xmllodepath)//PC { XmlDocument doc = new XmlDocument(); doc.Load(Application.streamingAssetsPath + _xmllodepath); return doc; } /// <summ...
2019-01-17 16:44:21
923
转载 unity C# RGB值转Lab值
unity C# RGB值转Lab值 上网搜集资料 整理 输入RGB的值 返回 一个lab的集合 static float Gamma(float x) { return x > 0.04045f ? Mathf.Pow((x + 0.055f) / 1.055f, 2.4f) : x / 12.92f; } public static float[] rgb2lab(float ...
2018-12-26 15:23:01
1050
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人