摘要: 用C#的this关键字,对Unity中的Transform类进行扩展的一个实例: 这里的扩展方法一般用来查找模型具体骨骼。 阅读全文
posted @ 2018-03-24 16:35 小·糊涂仙 阅读(840) 评论(0) 推荐(0) 编辑
摘要: 单例基类 public class CSingletonBase { public static TYPE Singleton { get { return m_singletion; } set { m_singletion = value; } } private st... 阅读全文
posted @ 2018-03-24 15:02 小·糊涂仙 阅读(140) 评论(0) 推荐(0) 编辑
摘要: using System; public delegate void LogHandle(Object log); public class PlayerHandle { public static LogHandle DebugHandle; public static LogHandle War 阅读全文
posted @ 2018-03-24 14:36 小·糊涂仙 阅读(157) 评论(0) 推荐(0) 编辑