上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 24 下一页
摘要: 材质上使用的贴图: 效果:实现该纹理在屏幕上的滚动 代码: 需要注意:纹理的寻址模式应该设置为 重复寻址模式(Repeat) 阅读全文
posted @ 2018-10-25 12:05 小·糊涂仙 阅读(569) 评论(0) 推荐(0)
摘要: 1 public static bool ContainsChinese(string text) 2 { 3 if (string.IsNullOrEmpty(text)) 4 return false; 5 string pattern = "[\u4e00-\u9fbb]"; 6 ... 阅读全文
posted @ 2018-10-18 11:50 小·糊涂仙 阅读(333) 评论(0) 推荐(0)
摘要: 1 using System; 2 using UnityEngine; 3 4 public enum ETimerType 5 { 6 CommonFormat, // 78 77 76 75 ... 7 TimeFormat, //以时间格式显示倒计时 8 } 9 10 //自定义时间 11 public cl... 阅读全文
posted @ 2018-10-17 11:10 小·糊涂仙 阅读(402) 评论(0) 推荐(0)
摘要: using UnityEngine; /// /// NGUI中 鼠标划出屏幕后,停止对 UIDragScrollView 的 press /// public class CheckIsDragOverUI : MonoBehaviour { UIDragScrollView dragSV = null; void Start() { if (n... 阅读全文
posted @ 2018-09-29 11:47 小·糊涂仙 阅读(258) 评论(0) 推荐(0)
摘要: 1、稳定排序和不稳定排序 相等的两个元素在排序前后的相对位置不发生变化称之为稳定排序,否则,是不稳定排序。 2、内排序和外排序 排序的过程中,待排序的记录全部在内存中称之为内排序,否则称之为外排序。 而数据结构中涉及的排序基本都指内排序。 3、影响内排序性能的主要因素: 时间性能、辅助空间、算法本身 阅读全文
posted @ 2018-08-06 21:45 小·糊涂仙 阅读(199) 评论(0) 推荐(1)
摘要: 首先,总结两个简单的方法,实现 秒 与 日期 的相互转换: 假如有字符串 : ”2018-07-11 00:00:00“,使用 System.DateTime.Parse() 转换后的结果默认是 12 时计时法,结果: 7/11/2018 12:00:00 AM 阅读全文
posted @ 2018-07-10 16:07 小·糊涂仙 阅读(226) 评论(0) 推荐(0)
摘要: 大话数据结构上的说明: 网络博文的说明: 阅读全文
posted @ 2018-07-10 14:29 小·糊涂仙 阅读(335) 评论(0) 推荐(0)
摘要: 工程目录结构: common.h: common.c: String.h: String.c: main.c: 阅读全文
posted @ 2018-07-09 21:09 小·糊涂仙 阅读(220) 评论(0) 推荐(0)
摘要: 工程目录结构图: common.h: common.c: LinkQueue.h: LinkQueue.c: main.c: 阅读全文
posted @ 2018-07-03 16:06 小·糊涂仙 阅读(220) 评论(0) 推荐(0)
摘要: 工程目录结构图: common.h: common.h: Queue.h: Queue.c: main.c: 阅读全文
posted @ 2018-07-02 23:13 小·糊涂仙 阅读(474) 评论(0) 推荐(0)
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 24 下一页