在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.不透明度 当我们要将两个半透的纹理贴图到一个材质球上的时候就遇到混合的问题,由于前面的知识我们已经知道了片段 ...
随机推荐
- PeopleReady--办公学习类App产品
PeopleReady是能使人(公司或组织里的员工)快速Ready(经验+知识)的学习系统.对员工的好处是:- 可以迅速Ready,尽快符合岗位要求,尽快有Performance,尽快对公司有价值,从 ...
- 轻松学习Ionic (一) 搭建开发环境,并创建工程
1.准备工作 下载 Node.js(下载包),WebStorm(IDE,编写代码,浏览器调试),JDK(webstorm 运行环境),Android SDK (Android编译) 不 ...
- 过滤textarea
Function UBBFilter(ByVal reString) Dim Str:Str=reString If Not IsNull(Str) Then Str = Replace(Str, & ...
- 新建的linux虚拟机找不到eth0解决办法
新建的linux虚拟机通过 vi /etc/sysconfig/network-scripts/ifcfg-eth0进行配置: 再用ifconfig查看ip竟然没有eth0,只有lo和virbr0 其 ...
- C# IO操作(四)大文件拷贝(文件流的使用)、文件编码
大文件拷贝(文件流的使用).文件编码 首先说一下大文件拷贝和文件流,因为计算机的内存资源是有限的,面对几个G甚至更大的文件,需要通过程序来完成拷贝,就需要用到文件流(因为我们无法做到把文件一 ...
- ###《Effective STL》--Chapter1
点击查看Evernote原文. #@author: gr #@date: 2014-09-12 #@email: forgerui@gmail.com Chapter1 容器 Topic 4: 调用e ...
- IOS 高级开发 KVC(二)
前一篇博客最后介绍了KVC 再json 转模型时遇到一些问题.今天接着来介绍KVC 的其他用法.其实我们在一开始的时候就一直再强调命名的重要性.命名规范是KVC 存活的基础.如果没有这个条件支撑,那么 ...
- android体系架构
android体系架构总结: android体系架构分为四层 第一层:应用层:applications 第二层:开发层 第三层:
- Custom Action : dynamic link library
工具:VS2010, Installshield 2008 实现功能: 创建一个C++ win32 DLL的工程,MSI 工程需要调用这个DLL,并将Basic MSI工程中的两个参数,传递给DLL, ...
- n个骰子的点数
把n个骰子扔在地上,所有骰子朝上的一面的点数之和为s.输入n,打印出s的所有可能的值和出现的概率. 解法一:基于递归求骰子点数. /////////////////基于递归求骰子点数///////// ...