U3D中定时器函数 InvokeRepeating(函数名,隔多少时间后调用,每次调用间隔时间)
获取球体范围内的碰撞体
Physics.OverlapSphere(起始点,半径);
U3D中定时器函数 InvokeRepeating(函数名,隔多少时间后调用,每次调用间隔时间)
获取球体范围内的碰撞体
Physics.OverlapSphere(起始点,半径);
service-command-mediator-view
尽量不要使用数据库主键自动增长,高并发的情况下会出现ID重复,而且这样的话,因为数据库本身是单点的,不可以拆库
单例模式
private static UIManager _instance;
public static UIManager Instance{
get{
if (_instance == null)
_instance = new UIManager();
return _instance;
}
}
### StrangeIoC介绍(MVCS)
- 在github上或者AssetsStore上引入
DI依赖注入
MVC设计模式
不要为了装逼使用设计模式
1、规范自己的代码
2、
[MenuItem("test/test1")]
输出到目录的作用
http://blog.csdn.net/huang9012/article/details/44308881
4:35
context 语境
Context 环境 进行绑定。
dispatcher 派发器
重复的代码做成工具。