
Unity3D
文章平均质量分 92
矢口
这个作者很懒,什么都没留下…
展开
-
Unity3D基础知识梳理
转自Unity3D基础知识梳理美术部分: Unity的话主要还是分两块吧,第一块是美术(自己都不懂~这里允许我稍微带过一下吧~),美术的话主要包括3d模型、材质、纹理(贴图)这几部分吧,当然你也可以说还有shader(着色器),Unity本身拥有几十种shader,也可以根据自己的需要使用shaderLab语言来编写shader,这个对我来说相当有难度,所以一般只用Un转载 2017-06-17 17:41:15 · 540 阅读 · 0 评论 -
Unity3D - RigidBody vs Collider
转自RigidBody vs ColliderYou can indeed have a collider with no rigidbody. If there's no rigidbody then Unity assumes the object is static, non-moving. Unity does not bother testing for collisions转载 2017-07-06 17:04:44 · 384 阅读 · 0 评论 -
Unity3D - Transform.TransformPoint VS TransformDirection
转自Transform.TransformPoint VS TransformDirectionThat's the tricky part of Vector3's, they can store any 3 component value. So in this case, the values returned mean different things but you转载 2017-07-06 15:10:40 · 902 阅读 · 0 评论 -
Unity3D中使用git
参考自How to use Git for Unity source control?1.首先在项目根目录新建一个.gitignore文件,可以从https://github.com/github/gitignore/blob/master/Unity.gitignore 这里获取2.然后在Unity3D中进行设置:For versions of Unity 3D转载 2017-06-30 10:24:36 · 1473 阅读 · 0 评论 -
Unity3D中的阴影设置
转自 Unity 3D中的阴影设置 在Unity 3D中,经常需要用到光照阴影,即Directional Light的Shadow,Shadow分为Hard Shadow和Soft Shadow。区别是Soft Shadow的阴影边缘比较平滑,接近真实,但是性能消耗大于Hard Shadow。 Lightmapping有3种选择:实时光照阴影(RealTimeOnly)、场景转载 2017-05-26 16:33:34 · 6663 阅读 · 0 评论 -
Unity3D - Animation System Overview
转自Animation System OverviewAnimation System OverviewUnity has a rich and sophisticated animation system (sometimes referred to as ‘Mecanim’). It provides:Easy workflow and setu转载 2017-08-02 21:05:38 · 649 阅读 · 0 评论 -
Unity3D - Auto Layout
转自Auto LayoutAuto LayoutThe Rect Transform layout system is flexible enough to handle a lot of different types of layouts and it also allows placing elements in a complete free转载 2017-07-25 16:38:15 · 491 阅读 · 0 评论 -
Unity3D之Mecanim动画系统学习笔记(九):Blend Tree(混合树)
转自Unity3D之Mecanim动画系统学习笔记(九):Blend Tree(混合树)认识Blend Tree我们在Animator Controller中除了可以创建一个State外还可以创建一个Blend Tree,如下:那么我们看下新创建的Blend Tree和State有什么区别:唯一的区别就是Montion指向的类型变成了Blen转载 2017-08-01 11:12:19 · 1039 阅读 · 1 评论 -
Unity3d - 为何需要Time.deltaTime
初学Unity3D,第一次接触Time.deltaTime这个变量,以下是个人的一些理解,如有错误,欢迎拍砖。先说下Unity3d脚步中常用的两个方法:Update():每帧被调用一次FixedUpdate():每隔Time.fixedDeltaTime被调用一次。Time.fixedDeltaTime默认是0.02s,可以通过Edit->ProjectSettings->Ti...原创 2017-06-18 17:48:23 · 20001 阅读 · 0 评论 -
Unity3D中手机陀螺仪的使用
转自Unity3D中手机陀螺仪的使用使用手机陀螺仪,可以获取手机的3D姿态,这在开发中是很有用的。当然现在的手机内置的陀螺仪都是比较廉价的,精度不高,但是作为实验设备看看效果还是可以的。本文将给出调用手机陀螺仪的简单方法。 首先,我们需要在场景中添加大量方块,作为观察对象。 控制陀螺仪的脚本:[csharp]转载 2017-06-02 11:14:48 · 5880 阅读 · 0 评论 -
Unity3D - Creating and Using Materials
转自Creating and Using MaterialsCreating and Using MaterialsTo create a new Material, use Assets->Create->Material from the main menu or the Project View context menu.By default,转载 2017-07-24 12:06:04 · 778 阅读 · 0 评论