2017年11月30日
摘要: 文章连接: http://gad.qq.com/article/detail/26927 在Unity中,Batch(批处理)一般是指进过打包之后的Draw call 绘制100万个物体,每个物体10个三角形 与 绘制10个物体,每个物体100万个三角形,那个效率更快;后者更快 每一次Btach都是 阅读全文
posted @ 2017-11-30 11:05 tianjiuwan 阅读(447) 评论(0) 推荐(0)
摘要: 文章地址:http://gad.qq.com/article/detail/33934 1:[AddComponentMenu("参数1,参数2")] 参数1 Unity编辑器 Component菜单下面的菜单名字,参数2 继承Component的类 2:[RequireComponent(type 阅读全文
posted @ 2017-11-30 10:23 tianjiuwan 阅读(171) 评论(0) 推荐(0)