在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.不透明度 当我们要将两个半透的纹理贴图到一个材质球上的时候就遇到混合的问题,由于前面的知识我们已经知道了片段 ...
随机推荐
- fail-fast机制
在JDK的Collection中我们时常会看到类似于这样的话: 例如,ArrayList: 注意,迭代器的快速失败行为无法得到保证,因为一般来说,不可能对是否出现不同步并发修改做出任何硬性保证.快速失 ...
- SQL server 数据库日志文件过大清空日志文件
SQL2008:'在SQL2008中清除日志就必须在简单模式下进行,等清除动作完毕再调回到完全模式. USE [master] GO ALTER DATABASE DBName SET RECOVER ...
- 数据读取器对象SqlDataReader与数据适配器对象SqlDataAdapter的使用
一.数据读取器对象SqlDataReader的使用 如何执行有查询结果集的select语句. 1.SqlDataReader对象的作用:当包含select语句的SqlCommad对象 ...
- [转]如何学好windows c++编程 学习精髓(收集,整理)
以下是很多VC爱好者的学习经历,希望对大家有所帮助: 我记得我在网上是这么说的:先学win32的SDK,也就是API, 再学MFC,这么一来呢,就先有个基础,MFC是API的封装, 如果API用的熟了 ...
- eclipse 好用的插件安装地址集合【持续更新】
1.PropertiesEditor (编辑properties文件的插件): http://propedit.sourceforge.jp/eclipse/updates/ 2.Aptana Stu ...
- TCP/IP三次握手
题目: TCP建立连接的过程采用三次握手,已知第三次握手报文的发送序列号为1000,确认序列号为2000,请问第二次握手报文的发送序列号和确认序列号分别为 1999,999 1999,1000 999 ...
- iOS RunTime的简单使用
1.根据指定规则根据runtime进行页面选择跳转 背景:要根据后台返回的数据 进行选择要跳转到哪一个ViewController // 这个规则肯定事先跟服务端沟通好,跳转对应的界面需要对应的参数 ...
- ESP8266开发课堂之 - 建立一个新项目
项目架构 ESP8266项目开发并非使用IDE自动管理工程文件,而是使用了诸多第三方程序如Python,以及使用了Makefile管理依赖与控制编译,所以项目的创建与日常维护较为复杂,本篇将详述创建一 ...
- wifidog编译到openwrt
首先敲一下 cd 命令,定位到自己的用户目录, 然后 mkdir openwrt 新建一个openwrt文件夹,然后开始装openwrt的编译用到的工具, sudo apt-get install g ...
- Linux C 程序 基础(FOUR)
1.标识符:C语言本身不限制变量长度,但是某些编译器会限制变量长度,命名最好不要超过8位. 以数字开头,保留字,*,空格非法 2.关键字:类型说明符,int , 语句定义符,if el ...