摘要: using System.Collections;using System.Collections.Generic;using UnityEngine; public class Player : MonoBehaviour{ void Update() { Setfpos(); } public 阅读全文
posted @ 2023-04-05 20:02 天分丶张三 阅读(21) 评论(0) 推荐(0) 编辑
摘要: using System.Collections;using System.Collections.Generic;using UnityEngine; public class GameManager : MonoBehaviour{ // Start is called before the f 阅读全文
posted @ 2023-03-27 20:06 天分丶张三 阅读(20) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections;using System.Collections.Generic;using System.Linq;using System.Net.Sockets;using UnityEngine; public class NetC 阅读全文
posted @ 2023-03-27 20:05 天分丶张三 阅读(34) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks; namespace FWQ1{ class MsgId { public s 阅读全文
posted @ 2023-03-27 20:02 天分丶张三 阅读(32) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks; namespace FWQ1{ class Program { static 阅读全文
posted @ 2023-03-27 19:58 天分丶张三 阅读(23) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Net;using System.Net.Sockets;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tas 阅读全文
posted @ 2023-03-27 19:56 天分丶张三 阅读(14) 评论(0) 推荐(0) 编辑
摘要: 服务器 端口号必须和服务器一致不然无法链接 using System;using System.Net;using System.Net.Sockets;using System.Collections.Generic;using System.Linq;using System.Text;usin 阅读全文
posted @ 2023-03-27 19:55 天分丶张三 阅读(76) 评论(0) 推荐(0) 编辑
摘要: 效果 代码: using System.IO;using System.Collections;using System.Collections.Generic;using UnityEngine;using UnityEditor;using Newtonsoft.Json; /// <summa 阅读全文
posted @ 2023-03-22 14:16 天分丶张三 阅读(39) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections;using System.Collections.Generic;using UnityEngine;/// <summary>/// 消息中心/// 主要是为了解除耦合性 /// </summary>public clas 阅读全文
posted @ 2023-03-21 14:28 天分丶张三 阅读(38) 评论(0) 推荐(0) 编辑
摘要: using System.Collections;using System.Collections.Generic;using UnityEngine;/// <summary>/// 泛型单利 /// </summary>/// <typeparam name="T"></typeparam>// 阅读全文
posted @ 2023-03-21 14:25 天分丶张三 阅读(16) 评论(0) 推荐(0) 编辑