Unity 4.2å‘布带æ¥äº†ä¸€ç³»åˆ—或大或å°çš„æ›´æ–°ï¼Œå¢žåŠ å…è´¹Windows 8/Phoneçš„å‘å¸ƒé€‰é¡¹ï¼Œå¢žåŠ å…费版功能ç‰é‡è¦çš„å°±ä¸æ了,官方的更新页é¢æœ‰å¤§å—介ç»ã€‚大致看了一é详细的更新列表åŽï¼Œåœ¨è¿™é‡Œåˆ—举一些我感觉ä¸é”™æˆ–期待已久的新特性,由于目å‰ä¸»è¦åšiOSå’ŒWebplayer,所以其他的特性没关注:
Platform switching, player building and asset importing can be cancelled now! How cool is that?
节çœæ—¶é—´ã€‚
Custom GameView resolutions & aspect ratios. Custom settings are saved per project for easy sharing through version control (ProjectSettings/GameViewSizes.asset).
之å‰åœ¨Windows下åšç«–版iOS应用的时候就特别希望å¯ä»¥è‡ªå·±è®¾ç½®å¤šç§å±å¹•æ¯”例,现在有了,而且还å¯ä»¥é€šè¿‡ç‰ˆæœ¬åº“åŒæ¥ã€‚
Preset Libraries: You can now save the following types as presets:
- Curves in the Curve Editor and Particle System Curve Editor.
- Gradients in the Gradient Editor.
- Colors in the Color Picker.
- Create new libraries either as personal libraries (saved in preferences) or shared libraries (saved in the project folder).
曾ç»æƒ³ç€è‡ªå·±åšä¸€å¥—这个功能,还没åšå®˜æ–¹çš„就出æ¥äº†ï¼Œå®žç”¨åº¦æžé«˜ï¼Œç‰¹åˆ«æ˜¯å¯¹äºŽGUI的管ç†ã€‚
Added a Quad primitive 😉
终于有官方的æ£æ–¹å½¢é¢ç‰‡äº†ï¼ŒåšåŸºäºŽ3D Meshçš„ç•Œé¢æœ€å¸¸ç”¨çš„就是Quad,从官方Quadçš„è½´å‘设定æ¥çœ‹ï¼Œå®ƒå®Œå…¨å°±æ˜¯ä¸ºGUI而准备的。
Memory Profiler: Now shows the objects that have references to another loaded object. This can help pinpoint why a given object is in memory.
性能优化的过程å¯ä»¥æ›´é€æ˜Žä¸€äº›äº†
Texture importer now has “Alpha is Transparency” setting, which does color dilation to fix edge artifacts on semitransparent textures. It is enabled by default for GUI textures.
终于ä¸ç”¨åœ¨Photoshop里åšdilation了,设计师æ交的é€æ˜ŽèƒŒæ™¯GUI稿终于å¯ä»¥ç›´æŽ¥ç”¨äº†ã€‚
iOS: Added CrashReporter API for crash detection and extraction (requires Unity Pro).
å¯ä»¥æ›´å¥½çš„处ç†å´©æºƒé”™è¯¯å¹¶ä¸”进行汇报和检测了,游æˆå´©æºƒçœŸçš„是让玩家感觉éžå¸¸æ²®ä¸§å’Œæ— 助的体验。
iOS: Now you can setup iOS PlayerSettings, texture import overrides and build iOS AssetBundles from Windows Editor. Building an actual iOS player still requires Mac OS X & Xcode.
对于“Windowså¼€å‘+Macå‘布â€çš„å¼€å‘者是一大ç¦éŸ³å•Šã€‚
Editor: Add MeshRenderer component dependency for TextMesh component.
本æ¥å°±è¯¥æœ‰çš„ä¸œè¥¿ï¼ŒçŽ°åœ¨åŠ è¿›æ¥å¯ä»¥é€šè¿‡è„šæœ¬å¯¹TextMeshåšæ›´å¤šæ“作了。
Font colors are now applied as vertex colors, instead of by setting the color on the material. This makes it work better with <color> markup tags in rich text strings. The color property in the font importer has been removed, and instead there are now color properties on the GUIText and TextMesh components to let you set the color of text objects per instance instead of per font.
å†ä¹Ÿä¸ç”¨å¤åˆ¶ä¸€å †ä¸åŒTint Colorçš„å—体æ质了(看ç€å¿ƒçƒ¦ï¼Œå…³é”®æ˜¯æ— 法Dynamic Batching),也ä¸ç”¨ä¾é Rich Text Tag(<color></color>)æ¥ä¸ºæ–‡å—设置颜色了(手写tagç¹çæ— æ³•ç»´æŠ¤ï¼‰ï¼Œéšæ„通过Color Picker控制颜色,而且ä¸ç ´åDynamic Batchingï¼å…¶å®žæœ¬è¯¥å¦‚æ¤ã€‚