{"id":546,"date":"2010-10-09T23:39:34","date_gmt":"2010-10-09T23:39:34","guid":{"rendered":""},"modified":"2013-02-27T12:05:17","modified_gmt":"2013-02-27T04:05:17","slug":"546","status":"publish","type":"post","link":"https:\/\/1vr.cn\/?p=546","title":{"rendered":"Unity3\u65b0\u529f\u80fd\u53ca\u6539\u8fdb\u5217\u8868,\u8d28\u7684\u98de\u8dc3,\u52bf\u4e0d\u53ef\u6321!"},"content":{"rendered":"<p>Unity3\u6b63\u5f0f\u53d1\u5e03\u5df2\u7ecf\u8fc7\u53bb\u6709\u4e00\u9635\u5b50\u4e86.\u5f15\u8d77\u7684\u5b66\u4e60\u70ed\u6d6a\u4e5f\u975e\u5e38\u9ad8.<\/p>\n<div align=\"center\"><img decoding=\"async\" src=\"wp-content\/uploads\/attachments\/month_1010\/201010092338532.jpg\" \/><\/div>\n<p>\u65b0\u529f\u80fd\u548c\u6539\u8fdb<\/p>\n<p>\u4e00\u5982\u5f80\u524d,\u6211\u4eec\u589e\u52a0\u4e86\u65b0\u7684\u529f\u80fd\u548c\u4f18\u5316,\u8be6\u60c5\u5982\u4e0b<\/p>\n<p>\u652f\u6301Android:<br \/>\u8fd9\u4e2a\u7248\u672c\u5df2\u7ecf\u652f\u6301Android\u7cfb\u7edf.<br \/>\u4e0d\u8fc7\u8bf7\u6ce8\u610f,\u8fd9\u662f\u4e00\u4e2a\u65e9\u671f\u7684\u7248\u672c,\u5e76\u4e0d\u4ee3\u8868Unity Android\u6700\u7ec8\u7684\u8d28\u91cf.<\/p>\n<p>\u6807\u51c6\u8d44\u6e90:<br \/>\u6807\u51c6\u8d44\u6e90\u5305\u8fdb\u884c\u4e86\u66f4\u4e13\u4e1a\u7684\u5207\u5206\u5206\u7c7b.<br \/>\u65b0\u7684\u56fe\u50cf\u6548\u679c:\u9633\u5149\u8f74\u7ebf(Sun Shafts) (\u53c8\u53eb\u505a\u795e\u5c04\u7ebf(God Rays)); \u52a8\u6001\u9634\u5f71\u6548\u679c(Bloom)\u548c\u955c\u5934\u5149\u6655(Lens Flares); \u865a\u5149(Vignetting) &#038; \u8272\u5dee\u73b0\u8c61(Chromatic Aberration); \u66f2\u7ebf\u989c\u8272\u6821\u6b63(Curve based Color Correction); \u666f\u6df1(Depth of Field); \u5bf9\u6bd4\u5ea6\u589e\u5f3a(Contrast Enhance) (\u53c8\u540d\u9510\u5316\u8499\u7248(Unsharp Mask)); \u51e0\u4f55\u8f6e\u5ed3(Geometry Outline); \u9c7c\u773c\u955c\u5934(Fisheye); \u6c34\u5f69\u6548\u679c(Create Shading).<br \/>\u6539\u8fdb\u7c92\u5b50\u6548\u679c.<br \/>\u65b0\u7684\u53ef\u4ee5\u4e0e\u56fe\u50cf\u6548\u679c\u517c\u5bb9\u7684\u5e26\u6709alpha\u901a\u9053\u7684\u5929\u7a7a\u76d2.<br \/>\u589e\u52a0\u6709\u7528\u7684\u7f16\u8f91\u5668\u5feb\u6377\u952e.<br \/>\u7528Character Motor\u811a\u672c\u6539\u8fdb\u7b2c\u4e00\u4eba\u79f0\u63a7\u5236\u5668.<br \/>\u65b0\u7684CharacterMotor\u811a\u672c\u7528\u4e8e\u89d2\u8272\u63a7\u5236\u5668.<br \/>\u9002\u5f53\u8c03\u6574\u659c\u5761\u548c\u6b65\u4f10\u9632\u6b62\u4e71\u98de.<br \/>\u81f3\u6b64\u591a\u79cd\u8df3\u8dc3\u7ed3\u675f\u540e\u843d\u5730\u7684\u6a21\u5f0f.<br \/>\u53d8\u901f\u8df3\u8dc3\u548c\u5176\u4ed6\u4e00\u4e9b\u6539\u8fdb.<br \/>\u6539\u8fdb\u7684\u901f\u5ea6\u548c\u52a0\u901f\u5ea6\u63a7\u5236.<br \/>\u53ef\u4ee5\u8bbe\u5b9a\u7684\u6ed1\u52a8\u548c\u5782\u76f4\u5f39\u8df3\u503c\u53ef\u4ee5\u9632\u6b62\u722c\u4e0a\u5f02\u5e38\u9661\u5ced\u7684\u8868\u9762.<br \/>\u5b83\u80fd\u7528\u4e8e\u7b2c\u4e00\u4eba\u79f0,\u7b2c\u4e09\u4eba\u79f0,\u4eba\u5de5\u667a\u80fd\u7b49\u7b49.<br \/>\u7f16\u8f91\u5668\u65b0\u529f\u80fd:<br \/>Unity\u4e13\u4e1a\u7248\u6709\u4e86\u4e00\u4e2a\u5168\u65b0\u7684\u89c6\u89c9\u754c\u9762,\u5c31\u662f\u9ed1\u8272\u914d\u8272,\u4f60\u53ef\u4ee5\u5728\u9996\u9009\u9879\u4e2d\u5207\u6362\u5b83.<br \/>\u96c6\u6210\u4e86\u9020\u6811\u5de5\u5177.\u6587\u6863&#8221;<a href=\"http:\/\/unity3d.com\/support\/documentation\/Components\/class-Tree.html\" target=\"_blank\" rel=\"external\">http:\/\/unity3d.com\/support\/documentation\/Components\/class-Tree.html<\/a>&#8220;<br \/>\u901a\u8fc7Beast\u7167\u660e\u7cfb\u7edf\u800c\u96c6\u6210\u7684\u70d8\u7119\u5de5\u5177,\u6587\u6863&#8221;<a href=\"http:\/\/unity3d.com\/support\/documentation\/Manual\/Lightmapping.html\" target=\"_blank\" rel=\"external\">http:\/\/unity3d.com\/support\/documentation\/Manual\/Lightmapping.html<\/a>&#8220;<br \/>\u81ea\u52a8\u521b\u5efa\u5149\u5f71\u56feUV(\u7f51\u683c\u5bfc\u5165\u8bbe\u7f6e)<br \/>\u5730\u5f62\u7cfb\u7edf\u4f7f\u7528\u76f8\u540c\u7684\u89e3\u51b3\u65b9\u6848,\u5f53\u4f7f\u7528\u5929\u5149\u7684\u65f6\u5019\u4f1a\u6709\u5168\u65b0\u6548\u679c.<br \/>\u5df2\u7ecf\u4e0d\u5fc5\u518d\u4f7f\u7528&#8221;Lightmapped&#8221;\u7740\u8272\u5668;\u7167\u660e\u7cfb\u7edf\u53ef\u4ee5\u5904\u7406\u51fa\u53ef\u4ea4\u4e92\u7684\u5149\u5f71\u56fe.\u4ee5\u53ca\u6750\u8d28\u4e0e\u5149\u5f71\u56fe\u6df7\u5408\u7684\u52a8\u6001\u9634\u5f71\u6548\u679c.<br \/>\u5bf9\u8c61\u9009\u62e9\u5668.\u4e0d\u518d\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u4e0b\u62c9\u83dc\u5355,\u800c\u662f\u4e00\u4e2a\u65b0\u7684\u8d44\u6e90\u7a97\u53e3,\u5728\u8fd9\u91cc\u53ef\u4ee5\u9884\u89c8\u5173\u4e8e\u8d44\u6e90\u7684\u4e00\u4e9b\u6837\u5b50\u548c\u4fe1\u606f.<br \/>\u573a\u666f\u89c6\u56fe\u7684\u6539\u8fdb,\u6587\u6863&#8221;<a href=\"http:\/\/unity3d.com\/support\/documentation\/Manual\/Using%20The%20Scene%20View.html\" target=\"_blank\" rel=\"external\">http:\/\/unity3d.com\/support\/documentation\/Manual\/Using%20The%20Scene%20View.html<\/a>&#8220;.<br \/>\u641c\u7d22\u7ed3\u679c\u4f1a\u76f8\u5e94\u7684\u5728\u573a\u666f\u4e2d\u9ad8\u4eae\u663e\u793a.<br \/>\u53ef\u4ee5\u6846\u9009.<br \/>\u53ef\u9009\u4ee5\u9876\u70b9\u4e3a\u5355\u4f4d\u5bf9\u9f50.<br \/>\u53ef\u4ee5\u5c06\u6750\u8d28,\u9884\u8bbe,\u8d34\u56fe\u76f4\u63a5\u62fd\u5165\u573a\u666f\u89c6\u56fe\u5373\u65f6\u9884\u89c8.<br \/>\u6539\u8fdb\u76f8\u673a\u8c03\u6574\u624b\u67c4\u53ca\u589e\u52a0\u4e00\u4e2a\u76f8\u673a\u9884\u89c8\u7a97\u53e3.<br \/>\u6539\u8fdb\u5149\u6e90\u7684\u8c03\u6574\u624b\u67c4.<br \/>\u5c06\u573a\u666f\u5bfc\u822a\u63a7\u5236\u680f\u98ce\u683c\u66f4\u7edf\u4e00\u4e86.<br \/>\u65b0\u7684\u7eb9\u7406\u5bfc\u5165\u8bbe\u7f6e\u5bf9\u8bdd\u6846,\u66f4\u6613\u7528\u7684\u7528\u6237\u754c\u9762\u53ca\u5404\u4e2a\u5e73\u53f0\u7684\u72ec\u7acb\u8bbe\u7f6e.<br \/>\u65b0\u7684\u6784\u5efa\u8bbe\u7f6e\u7a97\u53e3\u4ee5\u66f4\u65b9\u4fbf\u7684\u652f\u6301\u591a\u5e73\u53f0\u53d1\u5e03.<br \/>\u66f2\u7ebf\u5f39\u51fa\u7a97\u53e3:<br \/>\u6709\u4e2a AnimationCurve \u7c7b\u578b\u7684\u811a\u672c\u53d8\u91cf\u663e\u793a\u5728\u68c0\u89c6\u9762\u677f\u4e0a\u4e3a\u4e00\u4e2a\u66f2\u7ebf\u5b57\u6bb5(curve field).<br \/>\u70b9\u51fb\u4e00\u4e2a\u66f2\u7ebf\u5b57\u6bb5\u4f1a\u6253\u5f00\u4e00\u4e2a\u5e26\u6709\u66f2\u7ebf\u7684\u7f16\u8f91\u5668\u7a97\u53e3,\u7c7b\u4f3c\u4e8e\u52a8\u753b\u66f2\u7ebf\u7f16\u8f91\u5668\u90a3\u6837\u7684\u7a97\u53e3.<br \/>\u53ef\u5b9a\u5236\u7684\u66f2\u7ebf\u5b57\u6bb5\u540c\u6837\u80fd\u7528\u5728\u81ea\u5b9a\u4e49\u7f16\u8f91\u5668\u7a97\u53e3.<br \/>\u7f16\u8f91\u5668\u73b0\u5728\u80fd\u68c0\u67e5\u6709\u65b0\u7248\u672c\u65f6\u5019\u901a\u77e5\u7528\u6237.<br \/>\u7eb9\u7406\u538b\u7f29\u73b0\u5728\u4e3a\u591a\u7ebf\u7a0b\u5904\u7406,\u5728\u591a\u6838\u7535\u8111\u4e0a\u5bfc\u5165\u8d34\u56fe\u66f4\u5feb.<br \/>\u8d44\u6e90\u670d\u52a1\u5668\u7a97\u53e3:<br \/>\u5386\u53f2\u8bb0\u5f55\u7a97\u53e3\u5c06\u663e\u793a\u591a\u884c\u6ce8\u91ca,\u800c\u4e0d\u662f\u7b80\u5355\u7684\u63d0\u793a\u8bf4\u660e.<br \/>\u9009\u4e2d\u5386\u53f2\u8bb0\u5f55\u7a97\u53e3\u6548\u679c\u66f4\u597d.<br \/>\u5b9a\u4f4d\u952e(F\u952e)\u5728\u5386\u53f2\u8bb0\u5f55\u7a97\u53e3\u4e2d\u4e5f\u6709\u6548.<br \/>\u53ef\u4ee5\u8bb0\u4f4f\u6bcf\u4e2a\u4e3b\u673a\u7684\u540d\u79f0\u548c\u5bc6\u7801.<br \/>\u5728\u4e0d\u9700\u8981\u5408\u5e76\u7684\u6761\u76ee\u4e2d\u7981\u6b62\u51b2\u7a81\u5408\u5e76\u9009\u62e9\u6309\u94ae.<br \/>\u6539\u8fdb\u7740\u8272\u5668\u7684\u9519\u8bef\u53cd\u9988.\u5728\u9009\u62e9\u7684\u7740\u8272\u5668\u7684\u68c0\u89c6\u7a97\u53e3\u540c\u6837\u663e\u793a\u4e00\u4e2a\u9519\u8bef\u548c\u8b66\u544a\u7684\u5217\u8868.<br \/>\u5728\u66f2\u7ebf\u5f39\u51fa\u7a97\u53e3\u548c\u52a8\u753b\u89c6\u56fe\u6309\u4e0bCtrl\u952e\u4f1a\u5f00\u542f\u6355\u6349\u5200\u7f51\u683c\u529f\u80fd(Mac\u7cfb\u7edf\u4e0b\u662f\u6885\u82b1\u952e).Ctrl\u6216\u6885\u82b1\u952e\u4e0d\u518d\u7528\u4e8e\u589e\u52a0\u9009\u62e9\u952e,\u4f46\u662fShift\u89c1\u4f9d\u65e7\u7528\u5728\u8fd9.<br \/>\u7f16\u8f91\u5668\u7684\u63a7\u5236\u680f\u53f3\u4e0b\u89d2\u4f1a\u663e\u793a\u76ee\u524d\u9519\u8bef\u548c\u8b66\u544a\u7684\u603b\u6570.<br \/>\u6539\u8fdb\u89c6\u97f3\u9891\u7684\u68c0\u89c6\u9762\u677f.<br \/>\u53cc\u51fb * unitypackage\u5c06\u81ea\u52a8\u6253\u5f00Unity\u5e76\u5bfc\u5165.<br \/>\u7f16\u8f91\u5668API\u5df2\u7ecf\u6269\u5c55:\u6587\u6863&#8221;<a href=\"http:\/\/unity3d.com\/support\/documentation\/Scri&#112;tReference\/40_history.html\" target=\"_blank\" rel=\"external\">http:\/\/unity3d.com\/support\/documentation\/Scri&#112;tReference\/40_history.html<\/a>#3.0.0&#8243;<br \/>\u65b0\u589e\u5bf9\u8c61\u7c7b\u578b\u7684\u641c\u7d22\u5c5e\u6027.<br \/>\u73b0\u5728\u80fd\u62d6\u62fd\u4e00\u7ec4Object\u5230\u68c0\u89c6\u9762\u677f\u6dfb\u52a0\u4e3a\u6570\u7ec4.<br \/>\u62d6\u62fd\u7f16\u8f91\u5668\u7a97\u53e3\u65f6\u5019\u66f4\u597d\u7684\u663e\u793a\u4e00\u4e2a\u7f29\u5fae\u56fe\u6548\u679c.<br \/>\u5f53\u8fdb\u884c\u4e00\u4e2a\u957f\u65f6\u95f4\u7684\u64cd\u4f5c\u65f6\u5019\u4f1a\u5728Unity\u56fe\u6807\u4e0a\u663e\u793aygie\u8fdb\u5ea6\u63d0\u793a,Mac\u56fe\u6807\u4e0a,Win7\u7684\u4efb\u52a1\u680f\u4e0a.<br \/>Mac\u7cfb\u7edf\u4e0b\u589e\u52a0\u4e86\u591a\u70b9\u89e6\u6478\u7684\u652f\u6301.\u634f\u7684\u624b\u52bf\u53d8\u5927\u7a97\u53e3,\u8f7b\u626b\u624b\u624b\u52bf\u5207\u6362\u573a\u666f\u89c6\u56fe\u4e2d\u7684\u76f8\u673a.<br \/>\u53ef\u89c6\u5316\u6a21\u5f0f\u73b0\u5728\u4e0d\u505aalpha\u6d4b\u8bd5.Alpha\u6d4b\u8bd5\u5b9e\u9645\u6d88\u8017GPU,\u6240\u4ee5\u548c\u771f\u5b9e\u6d88\u8017\u4e0d\u76f8\u7b26.<br \/>\u52a8\u753b\u7a97\u53e3\u53ef\u4ee5\u663e\u793a\u9884\u8bbe\u597d\u7684\u52a8\u753b\u526a\u8f91,\u53ea\u9700\u8981\u70b9\u4e00\u4e0b\u9884\u8bbe\u7684\u6839\u8282\u70b9\u5bf9\u8c61.<br \/>\u4fdd\u62a4Transform\u7684\u4f4d\u7f6e,\u65cb\u8f6c,\u7f29\u653e,\u9632\u6b62\u8bef\u64cd\u4f5c.<br \/>Build Pipeline:\u53ef\u80fd\u7684\u65f6\u5019\u5c06\u4ece\u8d44\u4ea7\u6587\u4ef6\u5e8f\u5217\u4e2d\u53bb\u9664Typetrees,\u8fd9\u4f7f\u6587\u4ef6\u66f4\u5c0f,\u53ef\u4ee5\u83b7\u5f97\u66f4\u5feb\u7684\u52a0\u8f7d\u65f6\u95f4.<br \/>\u5728\u5c42\u6b21\u89c6\u56fe\u4e2d\u53cc\u51fb\u6e38\u620f\u5bf9\u8c61\u5c06\u5728\u573a\u666f\u89c6\u56fe\u4e2d\u6700\u5927\u5316\u663e\u793a\u8be5\u7269\u4f53.<br \/>\u9000\u51fa\u64ad\u653e\u6a21\u5f0f\u540e\u5c06\u8f6c\u5230\u6700\u540e\u4e00\u4e2a\u6fc0\u6d3b\u7684\u6807\u7b7e\u7a97\u53e3,\u800c\u4e0d\u662f\u4f9d\u65e7\u505c\u7559\u5728\u6e38\u620f\u89c6\u56fe.<br \/>\u5c42\u6b21\u89c6\u56fe\u4e5f\u6709\u4e86\u5de5\u5177\u6761\u4e86.<br \/>\u5728Player\u8bbe\u7f6e\u4e2d\u7684API\u517c\u5bb9\u8bbe\u7f6e\u53ef\u4ee5\u9009\u62e9mono\u914d\u7f6e.\u5982\u679c\u6574\u5408\u7b2c\u4e09\u65b9\u9047\u5230\u517c\u5bb9\u95ee\u9898\u7684\u65f6\u5019\u53ef\u4ee5\u66f4\u6539\u8fd9\u91cc(Webplayer\u4e0a\u8fd8\u4e0d\u80fd\u75282.0).<br \/>Player\u80fd\u8bbe\u7f6e\u9ad8\u5206\u8fa8\u7387\u7684\u56fe\u6807(Windows:256X256\u548c128X128;iOS:114X114).<br \/>\u5728\u9879\u76ee\u548c\u573a\u666f\u4e2d\u641c\u7d22\u7684\u7ed3\u679c\u5c06\u6309\u7167\u5b57\u6bcd\u987a\u5e8f\u6392\u5217.<br \/>\u68c0\u89c6\u9762\u677f\u7684\u9501\u5b9a\u6539\u6210\u4e86\u4e00\u4e2a\u771f\u5b9e\u7684\u6309\u94ae,\u800c\u4e0d\u662f\u9690\u85cf\u5728\u83dc\u5355\u4e2d.<br \/>\u65cb\u8f6c\u5de5\u5177\u73b0\u5728\u5305\u542b\u4e86&#8221;Look At Point&#8221;\u5c5e\u6027,\u515a\u6309\u4e0bShift+Ctrl\u6216Shift+\u6885\u82b1\u952e\u7684\u65f6\u5019\u542f\u7528.<br \/>\u5728\u573a\u666f\u89c6\u56fe\u4e2d\u80fd\u8bd5\u542c\u97f3\u9891.\u573a\u666f\u89c6\u56fe\u7684\u641c\u7d22\u53ef\u4ee5\u5f7b\u5e95\u7684\u8fc7\u6ee4\u97f3\u9891\u6e90.<br \/>\u6dfb\u52a0Webplayer\u6784\u5efa\u6a21\u677f.<br \/>\u73b0\u5728\u53ef\u4ee5\u901a\u8fc7\u547d\u4ee4\u884c\u6765\u66f4\u65b0\u8d44\u6e90\u670d\u52a1\u5668\u7684\u5177\u4f53\u4fee\u6539.<br \/>\u65b0\u7684\u56fe\u5f62\u529f\u80fd:<br \/>\u9759\u6001\u906e\u6321\u5254\u9664(Occlusion Culling)\u73b0\u5728\u4f7f\u7528Umbra sPVS.<br \/>\u96c6\u5408\u4f53\u6574\u5408(Geometry Batching):\u539f\u672c\u53ea\u5728Unity iPhone1.7\u4e0a\u7684\u52a8\u6001\u548c\u9759\u6001\u7684\u51e0\u4f55\u4f53\u6574\u5408\u529f\u80fd\u73b0\u5728\u53ef\u7528\u4e8e\u6240\u6709\u5e73\u53f0.<br \/>\u6e32\u67d3\u65b9\u5f0f:(\u53ef\u4ee5\u5728Player Settings\u6216\u8005\u6bcf\u4e2a\u76f8\u673a\u4e0a\u8fdb\u884c\u9009\u62e9;\u6587\u6863&#8221;<a href=\"http:\/\/unity3d.com\/support\/documentation\/Manual\/RenderingPaths.html\" target=\"_blank\" rel=\"external\">http:\/\/unity3d.com\/support\/documentation\/Manual\/RenderingPaths.html<\/a>&#8220;)<br \/>\u9012\u5ef6\u7167\u660e(Deferred Lighting).\u5728\u9012\u5ef6\u6e32\u67d3\u65b9\u6848\u4e2d\u5b9e\u65f6\u706f\u5149\u6570\u91cf\u5c31\u4e0d\u7528\u5c0f\u5fc3\u7ffc\u7ffc\u7684\u7528\u4e86.\u7167\u660e\u7684\u6d88\u8017\u4ec5\u5728\u5b83\u53d1\u751f\u4f5c\u7528\u7684\u50cf\u7d20\u8303\u56f4\u5185.\u6240\u4ee5\u4f60\u53ef\u4ee5\u5728\u573a\u666f\u4e2d\u7528\u5f88\u591a\u5c0f\u706f\u6ce1.<br \/>\u70b9\u4eae\u9876\u70b9(Vertex Lit).\u8fd9\u5c06\u4f7f\u6240\u6709\u7740\u8272\u5668\u548c\u706f\u5149\u7528\u56fa\u5b9a\u5728\u6bcf\u4e2a\u9876\u70b9\u4e0a\u7167\u660e.\u8fd9\u4e2a\u6548\u7387\u5f88\u5feb;\u4e3b\u8981\u662f\u5728\u79fb\u52a8\u5e73\u53f0\u6216\u8005\u4e2d\u4f4e\u7aef\u8bbe\u5907\u4e0a\u4f7f\u7528.<br \/>\u5feb\u901f\u6e32\u67d3(Forward)\u7167\u6bd4Unity2.x\u8fdb\u884c\u4e86\u8f83\u5927\u7684\u66f4\u6539.\u89c1\u4e0b\u6587\u56fe\u5f62\u6e32\u67d3\u90e8\u5206.<br \/>\u8868\u9762\u7740\u8272\u5668-\u4e00\u4e2a\u66f4\u7b80\u5355\u7684\u7740\u8272\u5668\u7f16\u5199\u65b9\u6cd5.\u6211\u4eec\u6ca1\u6709\u5199\u5173\u4e8e\u5b83\u7684\u6587\u6863,\u4f60\u8981\u76f8\u4fe1\u6211\u4eec,\u5b83\u771f\u7684\u5f88\u6613\u7528!<br \/>\u901f\u5ea6\u4e0a\u6211\u4eec\u4f18\u5316\u4e86\u6e32\u67d3\u4ee3\u7801,\u76f8\u540c\u7684\u573a\u666f\u8bbe\u7f6e\u4e0b,\u6bd4Unity2.6\u5feb\u4e8620~50%.<br \/>\u7528\u4e8eiOS\u548cAndroid\u7684OpenGL ES 2.0,\u4f60\u53ef\u4ee5\u7ed9\u5bf9\u8c61\u7528\u7740\u8272\u5668,\u540e\u671f\u5904\u7406\u6548\u679c\u7b49\u7b49.<br \/>Cg\/HLSL\u7740\u8272\u5668\u548cUnity3\u8868\u9762\u7740\u8272\u5668\u5c06\u88ab\u7f16\u8bd1\u6210GLSL\u540e\u7528\u5230\u573a\u666f\u4e2d.GLSL\u5c06\u88ab\u8fdb\u4e00\u6b65\u7684\u4f18\u5316,\u56e0\u4e3a\u79fb\u52a8\u5e73\u53f0\u7684\u6280\u80fd\u8fd8\u4e0d\u80fd\u5f88\u597d\u7684\u4f18\u5316\u7740\u8272\u5668.<br \/>\u5f53\u7136,\u7531\u4e8e\u79fb\u52a8\u5e73\u53f0\u8fd8\u4e0d\u662f\u5341\u5206\u5f3a\u5927.\u5728\u53ef\u80fd\u7684\u60c5\u51b5\u4e0b\u4f60\u5e94\u8be5\u4f7f\u7528OpenGL EL 1.1.<br \/>Particle Rotation: Particle.rotation, Particle.angularVelocity and respective properties in ParticleEmitter. <br \/>Soft Particles! When you use Deferred Lighting and have Soft Particles on in Quality Settings, particles will fade out close to intersections with the scene. All built-in Particle shaders (except VertexLit) support this. <br \/>Shadowing improvements: use native shadow maps on Direct3D (faster, less memory, native filtering); much reduced self-shadowing artifacts; Soft shadows support for Point lights; much less &#8220;shadow halos&#8221; around objects for directional light soft shadows; optimized shadows for Forward rendering path (shares depth buffer with main rendering); optimized shaders for directional light shadows. <br \/>Terrain: Added slider (under Terrain Settings) to control detail object density. <br \/>Vertex shaders for Shader Model 3.0 on Direct3D9 and GLSL on OpenGL can read from textures. <br \/>Skybox is rendered after opaque geometry. Improves performance if your application is fillrate bound. <br \/>Separate Alpha Blending: use Blend ColorSrc ColorDest, AlphaSrc AlphaDest in ShaderLab. <br \/>In-editor visualization on which objects would use which rendering paths (green\/yellow\/red for deferred\/forward\/vertexlit). <br \/>#pragma glsl for compiling Cg\/HLSL shaders into GLSL instead of ARB assembly programs on OpenGL. <br \/>Compiling shaders to #pragma target 3.0 allows 512 texture indirections on OpenGL (up from 4). <br \/>Development standalone players on Windows have Direct3D PIX events; useful if you use PIX, Intel GPA or other graphics performance tools. <br \/>Fog just works on Direct3D with Shader Model 3.0 shaders, on OpenGL with GLSL and on OpenGL ES 2.0. Additionally, there&#8217;s no need to write #pragma fragmentoption ARB_fog_exp2 in your shaders anymore; just remove that line. <br \/>CameraDepthTexture modes can be combined if you want to get both depth &#038; depth+normals textures. <br \/>It is possible to forcibly disable Anisotropic filtering on a texture, even when Quality Settings have anisotropic on all textures. Just set anisotropic slider on the texture to zero. <br \/>Uniformly scaled objects will no longer be pre-scaled before rendering &#8211; instead uniform scale is now natively supported by the renderer. <br \/>Cg\/HLSL VPOS (pixel position) pixel shader input semantic is supported now. <br \/>Terrain: Expose detail resolution per patch; previously was hardcoded to 8. <br \/>Terrain: Improved performance of painting textures &#038; detail objects. <br \/>Asset Pipeline Improvements:<br \/>Upgraded to FBX SDK 2011.2. <br \/>Import support for stepped and linear keys for position curves; improved compression and curve fitting for position curves. <br \/>Settings for allowed animation compression error in mesh importer. <br \/>Implemented support for importing 1 unit in 3dsmax as 1 unit in Unity (the default is 1 cm in 3dsmax as 1 unit in Unity). <br \/>Implemented import of tangent space from FBX, .max, .mb and .ma files. <br \/>Switched Cinema4D import process to work in background mode. <br \/>Support for Cinema4D R11 on Mac OS X. <br \/>Support for FBX2010 format when exporting from Cinema4D. <br \/>Audio Improvements:<br \/>Filter components: Reverb, Echo, Distortion, Chorus, High- and Low-pass. Can be applied to each audio source or globally to the listener. <br \/>Reverb Zones: Apply reverb to main audio output, when the listener is within zone(s) defined by a position and min\/max radii. <br \/>Live output and spectrum data access from each audio source or globally from the listener. <br \/>Tracker\/Mod file support. <br \/>Sample-accurate synching. Sources played in the same frame are always started at the exact same point in time. Sources can be delayed and played in the future on an exact sample accurate boundary with .Play(int64 delay). <br \/>Surround sound (7.1, 5.1, 4.0, ProLogic DTS) support. <br \/>Attenuation curves for volume, spread, panning and lowpass filter factors. <br \/>Doppler factor per audio source. <br \/>AudioSource prioritization. <br \/>iOS latency settings. Choose between Default, Best Performance, Good Latency and Best Latency. <br \/>Asset memory is freed after loading audio data. <br \/>Physics Improvements:<br \/>Upgraded PhysX to 2.8.3. <br \/>Cloth and clothing simulation: use the new InteractiveCloth, SkinnedCloth and ClothRenderer components. <br \/>Layer based ignore collisions: use the Physics inspector or Physics.IgnoreCollision(). <br \/>Continuous collision detection, to make sure that fast moving colliders will not pass through other colliders. See Collider.collisionDetectionMode. <br \/>Added Physics.SphereCast() and Physics.CapsuleCast() to implement volume raycasts. <br \/>Added Rigidbody.SweepTest() to check if a Rigidbody would collide with anything if moved into a certain direction. <br \/>New Scripting Features (documentation):<br \/>Mono Develop for script editing and debugging! Documentation. <br \/>Upgrade Mono and C# compiler to Mono 2.6.3. This brings C# 3.5, variable type inference, lambda e&#173;xpressions, LINQ and more. <br \/>New UnityScript compiler: generics, interfaces, structs, type cast operator, anonymous functions\/closures, lambda e&#173;xpressions, function types, type inferred array comprehensions and more. <br \/>New Boo compiler. <br \/>Mono class libraries derived from Silverlight profile for the web player. <br \/>Socket security sandbox implementation. Just like Flash (think crossdomain.xml). <br \/>WWW class security sandbox implementation. Just like Flash (think crossdomain.xml). <br \/>Per-platform script defines. Use UNITY_EDITOR, UNITY_WEBPLAYER, UNITY_IPHONE etc. Documentation. <br \/>Improved UnityScript compilation speed. <br \/>New scripting API functions (documentation). Some highlights: <br \/>WWW.responseHeaders will contain the response headers received from the HTTP server. <br \/>Application.isWebPlayer. <br \/>SystemInfo.graphicsPixelFillrate to query GPU pixel fillrate. Returns fillrate for about a thousand GPUs out there. <br \/>GL.ClearWithSkybox. <br \/>Math functions: MoveTowards to Mathf, Vector2, Vector3, and Vector4; Quaternion.RotateTowards. <br \/>Changed Mathf.Approximately to not only be useful for comparing very small numbers. <br \/>Stacktraces have been prettified, useless information is better stripped from stack traces. <br \/>Other Improvements:<br \/>Web Player: Java and ClickOnce based installer on Windows for true one-click installation process. <br \/>IME input support (for languages like Japanese, which require multiple keypresses to enter a character) on Windows, and in the editor and standalone on the Mac. <br \/>Support for OS font rendering (new &#8220;dynamic&#8221; font rendering mode), to save space in distribution and texture sizes. Textures are generated dynamically to contain the characters which are needed. <br \/>Documentation: scripting examples in UnityScript; C# and Boo. Docs for all platforms merged and platform specific parts toggle-able. <br \/>Web Player: UnityObject.js script makes Web Player embedding easier. <br \/>iOS: Added cpu-waits-gpu metric in internal profiler; useful for tracking down GPU bound applications. <br \/>iOS: Native resolution support for iPhone 4. <br \/>iOS: Improved game build sizes. <br \/>iOS: Unity Remote 2: It is possible to turn off image syncing between editor and device. Useful for input-critical games. <br \/>OS X Web Player: Now supports NPDrawingModelInvalidatingCoreAnimation, as will be required by future versions of Chrome. <br \/>Networking: RakNet upgraded to version 3.732 <br \/>Networking: Connection tester, Network.TestConnection(), now reports your NAT implementation type more accurately. <br \/>Networking: Exposed Network.logLevel so you can change the amount of log output at runtime. <br \/>Networking: Added network GUID, used for NAT punchthrough. <br \/>Bug Reporter: Supports multiple file attachments; trims attached log files if they are too large. <br \/>Some Changes We Did<br \/>We thought you might want to know about them&#8230; Read more in the docs.<\/p>\n<p>Graphics Changes:<br \/>Forward rendering path had lots of changes: <br \/>Most common case (one directional per-pixel light) is drawn in one pass now! (used to be two passes in 2.x) <br \/>Point &#038; Spot light shadows are not supported. Only one Directional light can cast shadows. Use Deferred Lighting path if you need more shadows. <br \/>Most &#8220;Vertex&#8221; lights replaced with Spherical Harmonics lighting. <br \/>Forward rendering path is purely shader based now, so it works on OpenGL ES 2.0, Xbox 360, PS3 (i.e. platforms that don&#8217;t support fixed function rendering). <br \/>Shader &#038; ShaderLab changes: <br \/>If you want to write shaders that fully interact with lighting; it&#8217;s best to use Surface Shaders. <br \/>Unity 2.x per-pixel lit shaders will need to be manually converted to surface shaders or manually fixed. <br \/>Shaders are compiled to more targets by default (e.g. OpenGL ES 2.0); you might hit some places where OpenGL ES 2.0 does not like some Cg\/HLSL constructs. Either fix the offending places, or exclude shader from OpenGL ES 2.0 via #pragma exclude_renderers gles. <br \/>Lots of sanitization to built-in variable names (mostly to accommodate new OpenGL ES 2.0, Xbox 360, PS3 platforms). <br \/>Unity 3.0 will automatically upgrade most of 2.x shaders for syntax changes. This actually modifies your shader files (look for &#8220;Upgrade NOTE&#8221; in your files). <br \/>Normal map compression; just mark texture as Normal Map and will be DXT5nm compressed at decent quality. All shaders need to use UnpackNormal(n) instead of n*2-1. <br \/>Remove concept of &#8220;RECT&#8221; textures. All non-power-of-two RenderTextures are addressed with 0..1 UVs now (just like in D3D9 in Unity 2.x). <br \/>Parallax shaders get height from a separate texture now. <br \/>Self-Illuminated shaders get illumination from a separate texture now. <br \/>Terrain lighting modes (Vertex\/Lightmap\/Pixel) are gone. Terrain is lit just like everything else now. <br \/>When rendering with Shader Replacement, no lighting is ever applied. Skybox, GUI, Halos, Projectors are not rendered. <br \/>Background shader queue is treated like Geometry now (arbitrary sorting, assumed to be opaque). <br \/>OnBecameVisible\/OnBecameInvisible have slight behaviour changes. For example, now they are not called each frame on a shadow caster that is not visible itself. <br \/>Self-Illuminated materials calculate emissive color as (material color * texture * illumination); previously was (texture * illumination). <br \/>Simplified Shadow Bias setting on Lights. <br \/>Depth render textures on D3D9 use native depth buffer. Value distribution changed from linear to z-buffer like (just like in OpenGL). <br \/>Spot lights attenuate exactly like Point lights now. <br \/>Point lights with Cookies actually attenuate now. <br \/>OnRenderObject script callback behaviour changed. Now those callbacks are called after everything is rendered; not at points in the middle of rendering. <br \/>Changed the way the Camera-DepthTexture and Camera-DepthNormalTexture shaders are loaded so that they can be overridden when needed. <br \/>Custom Tree shaders specify their billboard shader via Dependency keyword now (instead of Tag). The billboard shader will be automatically included in the build. <br \/>Screen space coordinates should use float4 on all platforms (used to be V2F_SCREEN_TYPE). When sampling a texture with tex2Dproj, use UNITY_PROJ_COORD macro around it. <br \/>Added WorldSpaceViewDir() and WorldSpaceLightDir() functions to UnityCG.cginc. <br \/>Obscure Graphics Changes That No One Will Probably Notice TM: documentation. <br \/>Renamed the 2.x tree shaders and the 3.x Tree Creator shaders; both are put under &#8220;Nature&#8221; section. <br \/>OnPreCull, OnPreRender, OnPostRender and OnWillRenderObject messages are not sent to disabled behaviors. <br \/>Old Unity 2.x Lightmapped shaders moved under &#8220;Legacy Shaders&#8221; submenu. <br \/>Terrain: Removed the concept of grayscale lighting from terrains. <br \/>Editor Changes:<br \/>Unity Editor on Mac OS X requires Intel-based Mac and OS X 10.5 &#8220;Leopard&#8221; or later. <br \/>Removed Soft Vegetation option from Quality Settings UI. It does nothing in built-in shaders now. <br \/>Separated preferences for 3.x and 2.x editors. <br \/>Removed ancient Dinosaur graphics emulation. <br \/>Moved &#8220;All compile errors must be fixed&#8221; notification to scene view notifications (moved it out of console). <br \/>Made the curve editor send a CurveChangeCompleted event when the curve change has been completed. <br \/>Create New Project dialog now expects user to select an existing, empty folder on the Mac <br \/>Mesh Import option &#8220;Split Tangents&#8221; is on by default. <br \/>Texture Importer: <br \/>Bump maps are now referred to as &#8220;normal maps&#8221; in the editor. <br \/>Normal maps are labelled as &#8220;NM&#8221; in their format. <br \/>PVRTC compression level moved to advanced settings. <br \/>Generating a Cubemap will make the cubemap be the root asset. <br \/>Textures that only use one value across the whole alpha channel and that value is not 1 are marked as needing-alpha-channel. <br \/>The command and control key modifiers in the view tool have been switched on OS X. Now command moves and control zooms. Control still moves on Windows. <br \/>Physics Changes:<br \/>Rigidbody mass is no now longer limited to 10000. <br \/>RaycastCollider is now deprecated. <br \/>Center of gravity and inertia will now always be automatically recalculated when setting or animating collider properties or positions, unless they had been explicitly set from code before. <br \/>Slope limit on character controller now works properly above 45 degrees. When loading old scenes the value will be clamped to 45 degrees to mimic the old behaviour. <br \/>JointDrive.maximumForce will now also be taken into consideration when JointDrive.mode is JointDriveMode.Position. You may need to change your joint setups so that they still work. <br \/>Unity iOS Changes:<br \/>iPhoneStreamingAssets is renamed to StreamingAssets and is now located under the Assets folder (visible from within the Editor). <br \/>Target iOS Version field added to player settings. Now deployment target can be specified separately from active SDK version. <br \/>&#8220;Enable Unity Networking&#8221; flag removed from iOS player settings. Now stripping of networking is handled automatically. <br \/>Most iPhoneInput members moved to Input class. <br \/>Native plugin support added to both Basic and Advanced Unity iOS licenses. <br \/>Added support for iPad \/ iPhone Simulator <br \/>Hardware audio decoder is now shared between audio clips. <br \/>Other Changes:<br \/>Random number generator (Random class) was changed. It is marginally slower, but produces better &#8220;randomness&#8221;, especially in lower bits. Additionally, integer version is not limited to 15 bits range. <br \/>Internal Random number generators (for Particles etc.) are reset after each level load. Now your particles in any level do not depend on what levels were loaded before. <br \/>The default runtime font is now Arial 13, as rendered as a dynamic font on Mac OS X and Windows. <br \/>Scripting: Renamed WWW.data to WWW.text <br \/>Scripting: ScriptableObject derived classes must be instantiated using one of ScriptableObject.CreateInstance overloads. <br \/>Scripting: UnityScript strict mode no longer allows arbitrary downcasts from Object (unless #pragma downcast is used). <br \/>Input: Keyboard on MacOS X will now reflect the behavior on Windows (two separate KeyDown events for key code and character, KeyUp event only for key code). <br \/>Scripting: Removed support for .NET 1.1 profile. <br \/>Scripting: Made previously undocumented GUIClip class internal to UnityEditor. <br \/>Networking: Connection tester now requires 4 public IP addresses to work. <br \/>Here, I Fixed It!<br \/>We fixed some things as well&#8230;<\/p>\n<p>Editor Fixes:<br \/>General: Improved Undo behaviour. <br \/>General: Game View Stats window has more accurate frametime &#038; FPS display. <br \/>General: Don&#8217;t enter Play mode if there are compiler errors. <br \/>General: Debug.LogWarning will not pause the game if console has Error Pause selected. <br \/>General: You can now search for script derived types in the project window (when Type is selected). <br \/>General: Fix newly created materials in project view sometimes having empty names. <br \/>General: Reset menu option is now undoable. <br \/>General: Fixed importing standard packages into projects with non-Latin characters in path on Windows. <br \/>General: Fix occasional exceptions with Undo when asset inspector loses selected assets. <br \/>General: Fix editor window sometimes shrinking into the corner when changing layout presets on Mac OS X. <br \/>General: Fixed a bug where selecting a scriptable object with a missing script reference would result in null reference exceptions <br \/>Crash: Fixed crash when deleting the last item in an array of strings. <br \/>Crash: Fix crash on Windows when undocking Game View. <br \/>Crash: Fix crash caused by EyeDropper picking color on different monitor. <br \/>Crash: Editor is more resilient to missing object references (eg. a Unity iPhone 1.7 upgraded project was crashing the editor on play). <br \/>Inspector: &#8220;Open Compiled Shader&#8221; in Shader Inspector works more predictably and uses text editor chosen in preferences. <br \/>Inspector: Fixed display of boolean arrays. <br \/>Inspector: Fixed Material\/Mesh\/Object previews being affected by scene Fog. <br \/>Inspector: Fix &#8220;Any&#8221; Texture properties in Materials using the wrong GUI style. <br \/>Inspector: Fixed bug where opening a terrain inspector would dirty the terrain causing it to get saved although nothing had changed. <br \/>Asset server: Fix editor hanging on OS X when trying to merge conflicting text assets. <br \/>Asset Server: Fix unable to update when parent of file modified on server is locally deleted. <br \/>Asset Server: Cleaner Diff output when comparing binary files in Asset Server. <br \/>Asset Server: Fixed asset server caching failing in some cases (e.g. when using EditorUtility.CopySerialized). <br \/>Importing: Tangents will be properly handled when mesh compression is enabled. <br \/>Importing: Fixed direct import from Maya 2011. <br \/>Importing: Using TextAsset to store binary data now actually works, as long as your file has the .bytes extension. <br \/>Importing: Cylindrical cubemap projection generation now works. <br \/>Importing: On rare occasions Unity Editor on Windows was throwing &#8216;Writing file error&#8217; while reimporting all assets and anti-virus running in the background. <br \/>Importing: Fix texture object fields in cubemap inspector losing the thumbnail when reimporting. <br \/>Importing: Shader files with uppercase file extensions are properly imported now. <br \/>Importing: Reduced memory usage during texture import. <br \/>Importing: Better memory handling when importing assets, switching scenes, building player. <br \/>Importing: FBX importer gives detailed warnings if it detects problems in the skin of a model. <br \/>Importing: Fixed import of user properties from 3D asset files. <br \/>Importing: Fixed import of multiple animation takes. <br \/>Scene View: The grid is now also shown in Iso mode. <br \/>Scene View: Terrain is selectable in Scene View just like any other object! <br \/>Animation View: Margins are now fixed instead of a percentage. <br \/>Animation View: Improved handling of window resize. <br \/>Animation View: Make create key operations work better for steep curves and disallow it for read-only curves. <br \/>Animation View: Prevent creating keys outside of permitted horizontal range. <br \/>UI: Maximized state of main editor is remembered across sessions on Windows. <br \/>UI: Don&#8217;t show Project Wizard or Welcome Screen if Reimport All was invoked. <br \/>UI: Fix some of context menus not being properly validated (grayed out) on OSX. <br \/>UI: EditorWindow.Notification now properly shows white text. <br \/>UI: Clamp profiler frame selection dragging correctly. <br \/>UI: Fixed animation icons being clipped in the inspector. <br \/>UI: Fixed dragging tab on Windows putting window title bar above the screen top. <br \/>UI: Show error message if -nographics is used without -batchmode. <br \/>UI: In Package Import Dialog selecting checkboxes will now correctly affect child elements. <br \/>UI: Fixed Asset Server tooltips in Overview window getting too large and disappearing too soon. <br \/>UI: Fixed old regression where pressing F to frame selection frames selected object in last active scene view, if active window doesn&#8217;t use frame selection event. <br \/>UI: When editor is processing something on Windows, made utility windows not be on top of all application windows in the system. <br \/>UI: Fix error messages when trying to move file to the same folder via Project view on Windows Vista or 7. <br \/>UI: Fixed icons for sub-assets in search view. <br \/>UI: Show proper cursor when trying to drag files out of Unity Editor on Windows. <br \/>UI: License Info word wraps properly in About Window. <br \/>UI: Fixed the eye dropper color picking tool disabling itself when the mouse is moved too fast. <br \/>UI: Fixed editor not finding GUI styles on computers with some of non-English locales. <br \/>Rendering Fixes:<br \/>Driver workaround: Fixed occasional crash on some Intel graphics cards when shader uses mismatching texture types. <br \/>Driver workaround: Disabled anti-aliasing on Macs (pre-Snow Leopard) with GeForce 7300 graphics cards; occasional driver crashes. <br \/>Driver workaround: Disabled mip-mapped Render Textures on Macs with Intel GMA 950 cards; occasional driver crashes. <br \/>Driver workaround: Fixed garbage on Macs with GeForce 7300 GPUs. Had to disable Deferred Lighting on those cards though. <br \/>Particles: Particle color and UV animation will now be based on the lifetime of each individual particle instead of the max energy set in the emitter. <br \/>Shadows: Spot light shadows fade out correctly on D3D9. <br \/>Shadows: Fixed point light self-shadowing artifacts which were mostly happening on Mac. <br \/>Shaders: Using more than 8 textures in a pixel shader works now! <br \/>Shaders: Nested block comments (\/* foo \/*bar*\/ *\/) are supported now. <br \/>Shaders: Fixed error messages sometimes being printed when both GLSL and non-GLSL shaders are present in the scene. <br \/>Shaders: When there are Direct3D shader assembly errors, print the shader name in the error message. <br \/>Shaders: Fixed instruction count reporting for D3D9 assembly shaders. <br \/>Crash: Fixed crash if accidentally setting invalid shadow cascade count in Quality Settings. <br \/>Crash: Fixed crash when shader has unterminated block comments. <br \/>Crash: Fixed crash when shader tries to fallback to itself. <br \/>Terrain: Fixed various issues with terrain billboards (non-uniform scale, culling, mismatch between root of the billboard and the mesh etc.). <br \/>Terrain: Fixed too aggressive culling of billboarded terrain details. <br \/>Terrain: Fixed terrain blocking MouseDown events from scene view gizmos. <br \/>Terrain: Made it possible to use trees with only one material. <br \/>Terrain: Now actually use the tree cutoff value that is set on the material. <br \/>General: Fixed half-texel offset issues with Graphics.Blit on D3D9. <br \/>General: Removed rect clamping for camera&#8217;s normalized viewport rectangle. <br \/>General: Fixed texture binding on iOS\/Android; textures won&#8217;t become corrupted when loading levels now. <br \/>General: Custom Fonts will now be properly displayed by Unity GUI. <br \/>General: Fixed AABB calculation for just-unloaded Meshes and skinned meshes with no bones. <br \/>Unity iOS Fixes:<br \/>Fixed iPad Simulator 3.2 support <br \/>Fixed stripping issue which caused crashes when coroutines are used. <br \/>Fixed WWW.text and &#8220;Fast but no exception&#8221; problem. <br \/>Fixed a crash when using AnimationCurve property in a script. <br \/>Fixed input processing on iPhone 4 with native resolution. <br \/>Fixed video player orientation on iOS 4. <br \/>Physics Fixes:<br \/>Meshes created with Mesh.CombineMeshes will correctly collide when used with MeshColliders. <br \/>Make WheelHit report correct sidewaysDir. <br \/>Make raycasts work when Time.timescale is zero. <br \/>Kinematic or sleeping rigidbodies will now properly update their internal PhysX state when a parent rigidbody gameObject is moved. <br \/>Collision events are sent more properly now. <br \/>Scripting Fixes:<br \/>WWW.text respects content-encoding specified in HTTP response headers. <br \/>Debug.Log is now thread safe. <br \/>Fixed internal UnityScript compiler error caused by nested arrays. <br \/>Fix crash when opening a project where a script throws an exception in a static constructor. <br \/>Fixed crash caused by untyped or wrongly typed parameter of message handler. <br \/>Fixed crash when DestroyImmediate is called in user code and Unity doesn&#8217;t expect the object to be destroyed. <br \/>Material.CopyPropertiesFromMaterial() now works as expected. <br \/>GameObject.SampleAnimation respects the WrapMode of the clip. <br \/>UnityGUI: Fix GUIUtility.RotateAroundPivot and ScaleAroundPivot using screen space pixels instead of clip space pixels. <br \/>UnityGUI: Fix ScrollViews not properly ignoring DragPerform\/DragUpdated events. <br \/>UnityGUI: GUILayout.Toolbar now correctly calculates toolbar size. <br \/>Fixed a typo bouncyness in Physics Material, now it&#8217;s spelled correctly bounciness. <br \/>Fixed a crash when setting negative values for particle minEnergy, maxEnergy through a script. <br \/>Issue an error when the script class name and file name do not match (after script has been attached). Similarly issue an error if a class was changed to be abstract or was turned into an interface. <br \/>Networking Fixes:<br \/>Timestamps are now correct in received NetworkView RPC messages. <br \/>Network.useNat has been deprecated. It is now set automatically when you Connect (since you can now only connect with NAT punchthrough using a GUID) and is set in the InitializeServer function call explicitly. <br \/>You can now connect using a HostData struct received from the master server (correct method automatically used) and give a connection password when connecting with GUIDs. <br \/>Fix server crash when player with network views disconnects. <br \/>Fix for problem when using Network.Instantiate after loading a new scene. <br \/>Fixed problem with master server not returning local IP addresses when it should (when host\/client are on the same router\/external IP). <br \/>Network.TestConnection() now always returns error status correctly. To restart a test after getting an error it needs to be forced with the appropriate parameter. <br \/>Fixed network scope bug which resulted in state sometimes not being synchronized correctly. <br \/>Other Fixes:<br \/>Fixed saving screenshots to non-ASCII path names. <br \/>Web Player: Fixed some memory leaks. <br \/>Fixed various corner cases in AnimationEvents logic. <br \/>Audio + iOS: Make UnitySetAudioSessionActive(true\/false) actually work. <br \/>Audio: Fix crash when trying to access AudioListener and it doesn&#8217;t exist. <br \/>Player: fix some of movies playback crashing web and standalone players. <br \/>BugReporter: Escape special characters in bug description. <br \/>Web Player: Fixed one frame of garbage showing when going out of fullscreen mode in CoreAnimation plugin on Mac OS X. <br \/>Audio: AudioSources with PlayOnAwake checked, now plays in the first frame (and can be accessed correctly from Start() and Update()). <br \/>Audio: .time &#038; .timeSamples can now be set before playing AudioSource(s) <br \/>Bug Reporter: Do not terminate the if the bug submission fails (Mac). <br \/>Fixed WWW.uploadProgress crashing the web player (this property still is not fully implemented though). <br \/>UnityGUI: Fix Vertical Margin error for GUILayout groups with multiple elements. <br \/>Web Player: Several fixes to make it work better with Google Chrome on Mac OS X. <br \/>Known Issues<br \/>MonoDevelop: Single-stepping outside the control flow of a script while debugging results in decreased performance until normal execution continues. <br \/>A flaw in the way 64 bit Windows OS handle structured exceptions for 32 bit applications can cause crashes in Unity players. The issue may surface, for example, if a player running on a 64 bit Windows causes a NullReferenceException to be thrown, even if the exception is handled. This bug affects all 32 bit applications running on 64 bit Windows, including Microsoft .NET applications.<br \/>A hotfix solving the issue is available on support.microsoft.com, but of course this does not help your end user. Your best bet is to keep your players exception-free (which is always a good idea), at least until the fix is distributed to end users via Windows update. <br \/>Touch.deltaPosition and Touch.deltaTime can be inaccurate on Android. <br \/>Tree Editor Leaves can not be manually rotated. <br \/>Debugger: Does not halt on some exceptions thrown from internal Unity engine code. <br \/>Build Settings Window may not initially react to mouse clicks. Workaround: move\/resize the window. <br \/>Generate Lightmap UVs: the results may be different on mac and windows. If you encounter this problem, please report a bug. <br \/>Generate Lightmap UVs: performance degradation is expected on highly tessellated mesh. This will be fixed in subsequent releases. <br \/>Graphics: Anti-Aliasing does not work with Deferred Lighting. <br \/>Memorable Quotes<br \/>3AM the night before the beta release:<br \/>Joachim: If we do this we should do it right<br \/>Nicholas: This is going to be fun. I&#8217;ve never written threaded code before&#8230;<\/p>\n<p><strong>\u7ffb\u8bd1\u4e2d,\u672a\u5b8c\u6210&#8230;.\u5f85\u7eed&#8230;<\/strong><\/p>\n<p>\u539f\u6587:<a href=\"http:\/\/unity3d.com\/unity\/whats-new\/unity-3\" target=\"_blank\" rel=\"external\">http:\/\/unity3d.com\/unity\/whats-new\/unity-3<\/a><br \/>\u8bd1\u8005:\u5a01\u963f<br \/>\u8f6c\u8f7d\u8bf7\u6ce8\u660e\u6765\u81ea1Vr.Cn.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Unity3\u6b63\u5f0f\u53d1\u5e03\u5df2\u7ecf\u8fc7\u53bb\u6709\u4e00\u9635\u5b50\u4e86.\u5f15\u8d77\u7684\u5b66\u4e60\u70ed\u6d6a\u4e5f\u975e\u5e38\u9ad8. \u65b0\u529f\u80fd\u548c\u6539\u8fdb \u4e00\u5982\u5f80\u524d,\u6211\u4eec\u589e\u52a0\u4e86\u65b0\u7684\u529f\u80fd\u548c &hellip; <a href=\"https:\/\/1vr.cn\/?p=546\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Unity3\u65b0\u529f\u80fd\u53ca\u6539\u8fdb\u5217\u8868,\u8d28\u7684\u98de\u8dc3,\u52bf\u4e0d\u53ef\u6321!<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-546","post","type-post","status-publish","format-standard","hentry","without-featured-image"],"_links":{"self":[{"href":"https:\/\/1vr.cn\/index.php?rest_route=\/wp\/v2\/posts\/546","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/1vr.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/1vr.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/1vr.cn\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/1vr.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=546"}],"version-history":[{"count":1,"href":"https:\/\/1vr.cn\/index.php?rest_route=\/wp\/v2\/posts\/546\/revisions"}],"predecessor-version":[{"id":724,"href":"https:\/\/1vr.cn\/index.php?rest_route=\/wp\/v2\/posts\/546\/revisions\/724"}],"wp:attachment":[{"href":"https:\/\/1vr.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=546"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/1vr.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=546"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/1vr.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=546"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}