摘要: private static T ins; public static T Ins { get { if(ins == null) { ins = new T(); } return ins; } } 阅读全文
posted @ 2023-02-08 11:29 梦凡尘_mzz 阅读(27) 评论(0) 推荐(0)
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks; namespace _Test_{ internal class MessM 阅读全文
posted @ 2023-02-08 11:24 梦凡尘_mzz 阅读(72) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2022-12-05 21:48 梦凡尘_mzz 阅读(32) 评论(0) 推荐(0)
摘要: 1.把人物预制体放到场景上,再拖成新的预制体,然后删除不必要的身体部件,做成新的身体部件 2.一个按钮,调用一下方法,把参数(1.身体部位,2.部位的数)传过去 3.这个方法稍微难点,下面有一版简单的 二 . 第二种方法,简单点 阅读全文
posted @ 2022-11-25 14:37 梦凡尘_mzz 阅读(62) 评论(0) 推荐(0)
摘要: w :宽, h:高 , x:代表x轴, z:代表z轴 ,y:代表:y轴 using System.Collections;using System.Collections.Generic;using UnityEngine;using UnityEngine.UI; public class Map 阅读全文
posted @ 2022-11-17 18:04 梦凡尘_mzz 阅读(31) 评论(0) 推荐(0)
摘要: 2. 加小地图 图片像素不要超过65000, 超过的进行分割!否则会报65000的错误 阅读全文
posted @ 2022-11-17 18:00 梦凡尘_mzz 阅读(128) 评论(0) 推荐(0)
摘要: 手写DoTween //不建议使用 使用DoTween后 选中的图片让图片显示在首位 选中的图片让图片显示在首位 图片预制体上 阅读全文
posted @ 2022-11-15 09:34 梦凡尘_mzz 阅读(46) 评论(0) 推荐(0)
摘要: 3D带惯性带对齐 阅读全文
posted @ 2022-11-14 18:30 梦凡尘_mzz 阅读(55) 评论(0) 推荐(0)
摘要: 需要在2D物体上加上碰撞框, 相机上加上 阅读全文
posted @ 2022-11-14 13:11 梦凡尘_mzz 阅读(29) 评论(0) 推荐(0)
摘要: using System.Collections;using System.Collections.Generic;using UnityEngine;using UnityEngine.UI;using System.Linq; public class LeoMap : MaskableGrap 阅读全文
posted @ 2022-11-11 20:12 梦凡尘_mzz 阅读(40) 评论(0) 推荐(0)