在Unity中高效工作(上)
原地址:http://www.unity蛮牛.com/thread-19974-1-1.html
。欢迎大家多多评论呦。
Unity is an extremely powerful game engine with the capabilities to tackle just about any game project you may have in mind, whether it’s a 2D side-scroller for the desktop or a 3D mobile game. As you start to work more in Unity, you’ll find ways to speed up your workflow and techniques to help you create even better games. Unity’s main draw is its toolset to design beautiful 2D and 3D games which are easily portable to mobile platforms, making it the staple game engine for many mobile developers.
Unity是个功能极其强大的游戏引擎,可以解决几乎所有你能想想象到的游戏项目,无论它是一个2D横向卷轴的桌面还是3D手机游戏。当你开始用Unity来工作,你会想方设法加快您的工作流程和技术,以帮助您创建更加优秀的游戏。Unity的主要吸引力在于,它用来设计卓越的2D和3d游戏的工具,这些工具很容易移植到移动平台,使其成为许多移动开发商的主要游戏引擎。
As mobile hardware increases, so does the level of graphics being implemented into the games. However, there are still very strict limitations of mobile platforms vs. consoles. This article gives you some helpful tips for working more productively in Unity and ways to keep the level of detail in your games up while still cutting back on processing power.
随着手机硬件的增加,更复杂的图形技术也被添加到游戏当中。然而,对于移动平台上的游戏,仍然有非常严格的限制。本文为您提供了一些建议,例如如何使Unity更有效率的工作,以及如何在削减了处理能力的情况下,依然保持你的游戏水平。
Working with 3D Applications
用3D应用工作
As you may already be aware Unity doesn’t have very powerful level or asset creation tools. The best workflow to take with Unity is to create all your assets and levels in a 3D application like Maya or 3ds Max. Luckily, Unity supports integration of just about every major 3D application, so you won’t be hard-pressed to work in software you aren’t comfortable with.
Unity并没有非常强大的水平或资源创建工具,这毋庸置疑。对于Unity而言,最好的工作流程是用3D应用程序来创建自己的资源以及图层,如Maya或3ds Max。幸运的是,Unity支持几乎所有主流的3D应用程序的集成,这样你就不会捉襟见肘地用那些让你不舒服的软件来工作。
Unity and other 3D applications are integrated nicely so the asset creation and modification can go much smoother. Scaling of assets can be done very easily. If you find the mesh you brought in is way too big you can go back to the file in your 3D application, scale it down to the correct size, save over the file and the asset in Unity will automatically get updated.
Unity和其它3D应用程序很好地集成,因此资源的创建和修改可以顺利得多。资源的缩放可以很容易地完成。如果你发现你制作的网格太大了,你可以回到3D应用程序中对该文件进行修改,将它缩小到正确的大小,保存在文件中,而该资产在Unity将自动得到更新。
As you start importing your meshes into Unity, a great workflow is to always import the texture first. Unity sees it’s in there and, when the mesh is brought in, the texture will automatically get applied to the mesh. Of course, having to assign a texture back onto the mesh in Unity doesn’t seem like a big problem, but finding places where you can speed up your workflow even just a little is always beneficial.
当您开始输入你的网格到Unity中,一个伟大的工作流程是:总是先导入纹理。Unity看到它在那里后,当网格被带进来,纹理将自动应用到网格。当然,将纹理安置在Unity的网格中,似乎并不是很困难,但是能找到一个可以加快您的工作流程的地方,哪怕只是一点点也总是有益的。

Use Alpha Render Mode
使用阿尔法渲染模式
The different render modes in Unity can be found in your scene view toolbar with the most common one being RGB. This allows you to see all of the colors and lights in your level. As you work you’ll probably find yourself using this default one the most and maybe even exclusively. But it’s important for you to know the other render modes and how they can help you optimize your game.
Unity有不同的渲染模式,你可以在场景视图工具栏中,最常见的一种RGB中找到它们。这可以从你的视角看到所有的颜色和灯光。当你工作时,你可能会发现,自己最常使用默认的模式,甚至根本不用其他模式。但是了解其他的渲染模式也是非常重要的,它们可以帮助您优化游戏。
For example, if you switch over to the Alpha render mode, it will change your entire level to white, meaning your game level is only displaying the alpha channel. This allows you to see areas that aren’t completely closed off, like gaps in geometry or your level, which would be nearly impossible to see in the RGB render mode. Take for instance, if a section on your level isn’t connected properly, it’ll show up as a dotted black line, which stands out like a sore thumb in contrast to the white. The extra visibility allows you to go in and fix these issues very quickly.
例如,如果你切换到Alpha渲染模式,它会将您的整个级别更改为白色,这意味着你的游戏图层只显示Alpha通道。这可以让你看到不完全封闭的领域,如几何形状或你的水平的差距,这将是在RGB渲染模式下,几乎无法看到的。我举个例子,如果你的部分图层连接不准确,它会显示成黑色虚线,就像立起来的拇指一样,和白色形成鲜明对比。但额外的可见性,可以使您快速解决这些问题。
译文:蛮牛译馆 - 私の友达
转载注明出处!!!
在Unity中高效工作(上)的更多相关文章
- 在Unity中高效工作(下)
原地址:http://www.unity蛮牛.com/thread-20005-1-1.html Tips for Creating Better Games and Working More Eff ...
- 骨骼动画的原理及在Unity中的使用
制作骨骼动画 我们看看这几步操作后,我们得到了那些数据: 1.每个皮肤顶点的初始世界坐标. 2.每个骨骼关节顶点的初始世界坐标. 3.每个顶点被骨骼顶点的影响信息. 4.骨骼如何移动. 骨骼动画原理 ...
- 【《Effective C#》提炼总结】提高Unity中C#代码质量的21条准则
作者:Williammao, 腾讯移动客户端开发工程师 商业转载请联系腾讯WeTest获得授权,非商业转载请注明出处. 原文链接:http://wetest.qq.com/lab/view/290.h ...
- 【《Effective C#》提炼总结】提高Unity中C#代码质量的22条准则
引言 原则1尽可能地使用属性而不是可直接访问的数据成员 原则2偏向于使用运行时常量而不是编译时常量 原则3 推荐使用is 或as操作符而不是强制类型转换 原则4 推荐使用条件属性而不是if条件编译 原 ...
- 【转】Effective C#观后感之提高Unity中C#代码质量的21条准则
转自:http://blog.csdn.net/swj524152416/article/details/75418162 我们知道,在C++领域,作为进阶阅读材料,必看的书是<Effectiv ...
- Unity Shader入门精要学习笔记 - 第16章 Unity中的渲染优化技术
转自冯乐乐的 <Unity Shader 入门精要> 移动平台的特点 为了尽可能一处那些隐藏的表面,减少overdraw(即一个像素被绘制多次),PowerVR芯片(通常用于ios设备和某 ...
- Unity中使用WebView
Unity中使用WebView @(设计) 需求,最近游戏中需要引入H5直播页面和更新比较频繁的赛事页面,需求包括:加密传参数.和Unity交互,在Unity框架下其实有几种方案: 内置函数Appli ...
- 【原创翻译】初识Unity中的Compute Shader
一直以来都想试着自己翻译一些东西,现在发现翻译真的很不容易,如果你直接把作者的原文按照英文的思维翻译过来,你会发现中国人读起来很是别扭,但是如果你想完全利用中国人的语言方式来翻译,又怕自己理解的不到位 ...
- 解读Unity中的CG编写Shader系列七(不透明度与混合)
转自http://www.itnose.net/detail/6098539.html 1.不透明度 当我们要将两个半透的纹理贴图到一个材质球上的时候就遇到混合的问题,由于前面的知识我们已经知道了片段 ...
随机推荐
- [记录]calculate age based on date of birth
calculate age based on date of birth know one new webiste:eval.in run php code
- webbroswer 后台注入脚本 的方法
HtmlElement script = webBrowser.Document.CreateElement("script"); script.SetAttribute(&quo ...
- PHP之文件目录基础操作
我们知道,临时声明的变量是保存在内存中的,即便是静态变量,在脚本运行完毕后也会被释放掉,so,想长久保存一个变量的内容,方法之一就是写到文件中,放到硬盘或服务器上,为此文件操作就必须很熟悉. 1.文件 ...
- JAXB - Annotations, Annotations for Enums: XmlEnum, XmlEnumValue
An enum type is annotated with XmlEnum. It has an optional element value of type java.lang.Class whi ...
- Python(2.7.6) copy - 浅拷贝与深拷贝
Python 标准库的 copy 模块提供了对象拷贝的功能. copy 模块中有两个函数 copy 和 deepcopy,分别支持浅拷贝与深拷贝. copy_demo.py import copy c ...
- J2EE项目应用开发过程中的易错点
场景一 实体类型与数据库类型不一致,在进行条件查询过程中不走索引 分析 字段值类型和数据库定义的字段类型不一致时,MySQL就会在内部做数据转化, 它的处理行为就会和我们期望的有些不一样,当我们使用整 ...
- JQuery里的原型prototype分析
在 JavaScript 中,每个函数对象都有一个默认的属性 prototype,称为函数对象的原型成员,这个属性指向一个对象,称为函数的原型对象,当我们每定义了一个函数的时候,JavaScript ...
- SQL日期操作及只获取日期的方法
datepart()函数的使用 * datepart()函数可以方便的取到时期中的各个部分*如日期:2006-07--02 18:15:36.513* ...
- 如何从零开始实现一个soa远程调用服务基础组件
说起soa远程调用基础组件,最著名的莫过于淘宝的dubbo了,目前很多的大型互联网公司都有一套自己的远程服务调用分布式框架,或者是使用开源的(例如dubbo),或者是自己基于某种协议(例如hessia ...
- 暑假集训(2)第六弹 ----- Frosh Week(UVA11858)
H - Frosh Week Crawling in process... Crawling failed Time Limit:1000MS Memory Limit:32768KB ...