
分类目录归档:Unity3D

Unity3D 2018打开某项目时报错:"The imported type `System.Xml.Linq.XElement' is defined multiple times"。
错误原因:在项目中引用了多次同一个DLL类库。此处错误的类库名为System.Xml.Linq.dll。
解决方法:在Unity3D项目目录Assets中找到System.Xml.Linq.dll,将这些多余.... Read More >
2019
03-12
03-12
Unity3D 中Start()和Awake()方法有什么区别
Start和Awake方法的区别和使用
1. Awake
Awake is called when the script instance is being loaded.
Awake方法在脚本实例正在被加载的时候调用
Awake方法在脚本的生命周期中只调用一次
Awake方法会在所有object都初始化后调用,所以不用担心object还没有加载出来,GameObject的find方法可以找到引.... Read More >
2019
02-26
02-26
什么是Physics Material 2D(2D物理材质)

2019
02-26
02-26
MaterialPropertyBlock
2019
02-26
02-26
git命令大全
1.获取本地不存在的远程分支,并且自动关联:2.当出现 “Please move or remove them before you can switch branches”,时,使用: 继续阅读
Read More >2019
02-26
02-26
Unity 移动平台自己编写Shader丢失问题
2019
02-26
02-26
Unity报与System.IO相关的错误
比如这个: Type `System.IO.FileInfo' does not contain a definition for `OpenText' and no extension method `OpenText' of type `System.IO.FileInfo' could be found 继续阅读
Read More >2019
02-26
02-26
什么是Rigidbody 2D(2D刚体)
2019
02-26
02-26
(转)坐标 旋转 计算

原文链接:http://blog.csdn.net/Tangyongkang/article/details/5484636http://blog.sina.com.cn/s/blog_3fd642cf0101cc8w.html 继续阅读
Read More >