![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C#
racerun
这个作者很懒,什么都没留下…
展开
-
WaitTimeManagerDemo
WaitTimeManager Demo原创 2022-11-29 16:18:15 · 384 阅读 · 0 评论 -
Csharp反射实例化
原创 2021-03-08 16:09:48 · 471 阅读 · 0 评论 -
BaseSingleMono
public class BaseSingleMono<T> :MonoBehaviour where T:MonoBehaviour{private static T instance;public static GetInstance(){returninstance;}protect virtual void Awake(){instance = this as T}}public class GameManager :BaseSi...原创 2020-10-08 23:07:08 · 66 阅读 · 0 评论 -
BaseSingle <T> where T:new()
public class BaseSingle<T> where T:new(){private static T instance;public static GetInstance(){if(instance == null){instance = new T();}return instance;}}public class GameManager :BaseSingle<GameManager>{}原创 2020-10-08 23:04:48 · 141 阅读 · 0 评论 -
<T> where T :ModelBase
public class ModelBase {public int ID { get; set; }public ModelBase(){}public ModelBase(int id){this.ID = id;}}---------------------------------------------------------------------------------------public class BaseProxy <T>..原创 2020-10-04 22:55:45 · 218 阅读 · 0 评论