03 2023 档案

摘要: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 天分丶张三 阅读(22) 评论(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 天分丶张三 阅读(45) 评论(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 天分丶张三 阅读(35) 评论(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 天分丶张三 阅读(25) 评论(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 天分丶张三 阅读(16) 评论(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 天分丶张三 阅读(154) 评论(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 天分丶张三 阅读(44) 评论(0) 推荐(0) 编辑
摘要:using System;using System.Collections;using System.Collections.Generic;using UnityEngine;/// <summary>/// 消息中心/// 主要是为了解除耦合性 /// </summary>public clas 阅读全文
posted @ 2023-03-21 14:28 天分丶张三 阅读(44) 评论(0) 推荐(0) 编辑
摘要:using System.Collections;using System.Collections.Generic;using UnityEngine;/// <summary>/// 泛型单利 /// </summary>/// <typeparam name="T"></typeparam>// 阅读全文
posted @ 2023-03-21 14:25 天分丶张三 阅读(20) 评论(0) 推荐(0) 编辑
摘要://轮转图效果↑ using System.Collections;using System.Collections.Generic;using UnityEngine;using UnityEngine.EventSystems;using UnityEngine.UI;using DG.Twee 阅读全文
posted @ 2023-03-19 12:07 天分丶张三 阅读(27) 评论(0) 推荐(0) 编辑
摘要:需要Cinemachine相机,选CM FreeLook //代码 using System.Collections;using System.Collections.Generic;using UnityEngine; public class CameraMovement : MonoBehav 阅读全文
posted @ 2023-03-10 18:35 天分丶张三 阅读(37) 评论(0) 推荐(0) 编辑
摘要:框选物品人物等等 1,需要设置的东西 选择这个模型并且 关闭Fill Center 直接就出现中空矩形,代码写好挂上即可 代码 using System.Collections;using System.Collections.Generic;using UnityEngine; public cl 阅读全文
posted @ 2023-03-10 16:38 天分丶张三 阅读(91) 评论(0) 推荐(0) 编辑
摘要:选倒数第二个↑ 此处是监听 挂载发射东西的身上 比如角色(此处是Cinemachine相机) 选6D 在球球上选这个脚本 并在齿轮选6D 震动频率 数值越高震动越猛 效果 球球掉落碰到地板 直接地震 阅读全文
posted @ 2023-03-08 18:49 天分丶张三 阅读(35) 评论(0) 推荐(0) 编辑
摘要://图一效果 图二使用方法 拖入即可 或者给指定目录下对应预制体 using System.Collections;using System.Collections.Generic;using UnityEngine;using UnityEditor; public class PlayerPic 阅读全文
posted @ 2023-03-07 08:15 天分丶张三 阅读(28) 评论(0) 推荐(0) 编辑
摘要:效果,(此处使用了轮转图,随笔里面记的有,可以查看之前写的) 1,换装代码 using System.Collections;using System.Collections.Generic;using UnityEngine; public class ChangeOfOutfit : MonoB 阅读全文
posted @ 2023-03-05 10:57 天分丶张三 阅读(34) 评论(0) 推荐(0) 编辑
摘要:以上是效果展示 1,柏林噪声算法做地图代码 using System.Collections;using System.Collections.Generic;using UnityEngine;using UnityEngine.UI; public class GridMap : MonoBeh 阅读全文
posted @ 2023-03-03 13:48 天分丶张三 阅读(261) 评论(0) 推荐(0) 编辑
摘要:图片 效果 代码 using System.Collections;using System.Collections.Generic;using UnityEngine;using UnityEngine.UI; public class CreatTerrtin : MonoBehaviour{ 阅读全文
posted @ 2023-03-02 08:30 天分丶张三 阅读(101) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示