摘要:
Rigidbody with multiple colliders adding colliders changes the center of mass and rotation behaviour of a rigidbody. To set those manualy to the center of the object use:void Start(){ rigidbody = G... 阅读全文
摘要:
SVN同步、cleanup都会出现下面的提示: svn: E155017: Can't install '*' from pristine store, because no checksum is recorded for this file svn报错:“Previous operation has not finished; run 'cleanup' if it was interrupt... 阅读全文
摘要:
Xcode 10 Archive Unity5.x 导出工程时电脑卡死。解决办法:Targets - Build Settings - Debug Information Format 设置成DWARF。对比Unity4.7.2导出工程,可以发现此版本的导出工程不会导致Archive 时电脑卡死! 阅读全文
摘要:
引言 Unity 官方从 Unity 2017.1 版本开始,开源了引擎和编辑器的C#源码(源码地址:UnityCsReference),但核心的 C/C++ 部分源码并未开源。 编译环境 网上主要的源码有两个版本 Unity 4.3.1f1 和 Unity 4.7.1f1 ,但其实基本都是 4.3.1 的版本,这里以 Unity 4.3 为例进行源码编译,但编译之前需要安装一些工具软件: ... 阅读全文
摘要:
Unity shader error: “Too many texture interpolators would be used for ForwardBase pass” 解决方法:CGPROGRAM 下加一行:#pragma target 4.0示例如下: Ref: https://www.cnblogs.com/alps/p/7101092.html 阅读全文