Unity (遊戲引擎)

本頁使用了標題或全文手工轉換
維基百科,自由的百科全書
Unity
開發者Unity Technologies英語Unity Technologies
首次發佈1.0 / 2005年6月8日,​18年前​(2005-06-08
目前版本
  • 2023.2.0b17 (2023年11月7日;測試版本)[1]
  • 2023.2.15 (2024年3月19日;穩定版本)[2]
編輯維基數據連結
程式語言C#
C++執行環境[3]
平台參見 § 支援平台
類型遊戲引擎
許可協定專有
網站https://www.unity.com

Unity是一款跨平台遊戲引擎[4],可用於開發2D3D遊戲[5][6],支援多種個人電腦流動裝置遊戲主機網頁平台擴張實境虛擬實境,其中在iOSAndroid的遊戲開發上特別受歡迎,被認為容易上手,並在獨立遊戲開發中廣受歡迎[7]。截至2018年,該引擎所支援的平台已經達到27個[8]

除了在遊戲產業外,Unity也應用在電腦動畫電腦模擬電影產業汽車產業建築業工程、甚至美國武裝部隊[9]

歷史[編輯]

Unity最初於2005年6月在Apple全球開發者大會上公開,由史考特·福斯托透過Mac OS X展示[10],目的在使遊戲開發得以「大眾化」[11][12]。隔年,Unity在蘋果公司的Apple Design Awards中獲得了最佳Mac OS X圖形應用程式的亞軍[13]。Unity最初是為Mac OS X開發的,後增加了對Microsoft Windows和網頁瀏覽器的支援[14]

在Unity發佈以來,陸續公佈了數個更新版本,包括Unity 4.x和Unity 5.x。2016年12月,鑑於引擎的更新速度逐漸加快,Unity官方決定不再在其版本號中標註純數字,而改用年份與版本號的複合形式[15],如Unity 2018.2,發佈時間為2018年7月10日。[16]

授權[編輯]

Unity分為免費的個人版,付費的進階版、專業版以及面向大型用戶的企業版。[17]以下是所有現行的發行版本及其差異:

版本名稱 是否為全部引擎功能及平台提供支援 標誌頁面 雲構建優先級 伺服器承載 盈利上限 績效報告 是否提供原始碼和進階功能支援 價格(美金)
個人版 Made with Unity標誌+自訂動畫(可選) 標準 20 CCUs英語Concurrent user $100,000 免費
進階版 優先 50 CCUs英語Concurrent user $200,000 $40/月
專業版 多線程構建 200 CCUs英語Concurrent user 無上限 $150/月
企業版 最高(專用構建通道) 無限制 $200/月

主要特性[編輯]

Unity引擎主要使用基於MonoC#指令碼API,除了遊戲本體外,也用Unity編輯器與拖放功能等[18]。在採用C#前,Unity曾支援BOO語言,但Unity 5中被移除[19],而基於BOO的JavaScript實作—UnityScript,則在2017年8月發表的Unity 2017.1棄用[20][21]

在2D遊戲中,Unity允許匯入精靈圖(sprites)和高級2D世界彩現器。在3D遊戲中,Unity允許為每個支援平台指定紋理壓縮mipmap和解像度調整[22],並支援凹凸貼圖反射貼圖視差貼圖熒幕空間環境光遮蔽(SSAO)、使用陰影貼圖的動態陰影、彩現到紋理以及畫面後期處理效果[23]

有兩個獨立的彩現管線化可用,即高清彩現管線化(HDRP)和通用彩現管線化(URP,前身為LWRP),此外還有不再支援的傳統內建管線化[24][25]。這三種彩現管線化彼此不相容[26]。Unity提供了一個工具,可以將使用傳統彩現器的着色器升級到URP或HDRP。

創作者可以透過Unity Asset Store販售製作的素材給其他開發者。包括3D和2D素材[27]。Unity Asset Store於2010年推出。截至2018年,商店的下載量約為4000萬次[28]

支援平台[編輯]

Unity是一個跨平台引擎[29]。Unity編輯器支援WindowsmacOSLinux平台,而開發的遊戲支援多種平台,包括流動裝置、個人電腦、遊戲主機和虛擬實境[30][31]。截至Unity 2020 LTS,官方支援以下平台[32]

曾支援的平台有Wii[50]Wii U[51]PlayStation 3[52]Xbox 360[52]Tizen[53]PlayStation Vita[54]任天堂3DS[55]BlackBerry 10[56]Windows Phone 8[56]Samsung Smart TV[57]Gear VR[58]Daydream[59]Vuforia[60]、Facebook Gameroom[59]Stadia[61]。Unity以前支援其他平台,包括其自家的Web瀏覽器外掛程式Unity Web Player[62],但後被WebGL取代[63]。自版本5起,Unity提供了WebGL捆綁包,使用兩階段語言轉換器(C#C++,再到JavaScript)編譯為JavaScript。[64]

Unity是任天堂Wii U使用的預設軟件開發套件(SDK),任天堂在給予Wii U開發者許可證時會免費附送一份副本。Unity Technologies稱這種第三方SDK的捆綁是「業界首創」[65][66]

2023年8月,Unity中國宣佈即將推出基於Unity 2022 LTS的中國版本,名為團結引擎(Tuanjie Engine),包括對中國平台如微信小遊戲、OpenHarmonyAliOS的支援[67]

歷史[編輯]

在正式發佈前,Unity經歷了多年的開發階段,Gooball在2005三月發佈,運用了Unity的預發售版本開發。

  • 2005年6月,Unity 1.0.1發佈
  • 2009年3月,Unity 2.5加入了對Windows的支援
  • 2009年10月,Unity 2.6獨立版開始免費
  • 2013年11月,Unity跟Xbox One合作,Xbox One將可以使用Unity開發遊戲[68]
  • 2014年5月,Unity 4.5發佈,加入了在iOS裝置上支援OpenGL ES 3.0[69]
  • 2014年11月26日,Unity 4.6發佈,正式匯入新的UI系統「UGUI」。[70]
  • 2015年3月3日,Unity 5.0於GDC 2015發佈,開始支援WebGL[71]
  • 2015年4月13日,Unity宣佈支援任天堂的掌機新任天堂3DS作為引擎執行平台。[72]
  • 2023年8月23日,Unity中國發佈基於Unity 2022LTS版本的Unity中國版引擎「團結引擎」,已支援微信小程式、HMI-Android、QNX、Embedded Linux等平台,並宣佈將很快支援OpenHarmony以及AliOS作業系統。[73]
  • 2023年9月13日,宣佈將從2024年1月開始,開發者透過Unity達到收入門檻,將依照遊戲被安裝的次數對遊戲開發者收進行收費;知名開發商INNERSLOTH對此表達不滿。(此政策已取消)[74]
  • 2023年9月23日,Unity宣佈取消此前提出的按照下載安裝次數的新收費標準。[75]
  • 2023年10月9日,Unity宣佈公司CEO兼公司主席約翰·里奇蒂洛英語John Riccitiello從公司離職,並辭去董事會職位。此舉看作是為此前引發巨大爭議的新收費規則負責。[76]

遊戲[編輯]

相關[編輯]

參考[編輯]

  1. ^ Unity Editor Beta Releases. 2023年11月7日 [2023年11月7日] (英語). 
  2. ^ https://unity3d.com/get-unity/download/archive.
  3. ^ Meijer, Lucas. Is Unity Engine written in Mono/C#? or C++. [2011-04-26]. (原始內容存檔於2011-04-14) (英語). 
  4. ^ Dealessandri, Marie. What is the best game engine: is Unity right for you?. GamesIndustry.biz. Gamer Network. 16 January 2020 [April 27, 2021]. (原始內容存檔於April 4, 2020) (英語). 
  5. ^ Axon, Samuel. Unity at 10: For better—or worse—game development has never been easier. Ars Technica. September 27, 2016 [October 17, 2018]. (原始內容存檔於October 5, 2018) (英語). 
  6. ^ Takahashi, Dean. John Riccitiello Q&A: How Unity CEO views Epic's Fortnite success. VentureBeat. September 15, 2018 [October 17, 2018]. (原始內容存檔於September 17, 2018) (英語). 
  7. ^ Dealessandri, Marie. What is the best game engine: is Unity right for you?. GamesIndustry.biz. Gamer Network. 16 January 2020 [April 27, 2021]. (原始內容存檔於April 4, 2020) (英語). 
  8. ^ Unity - Multiplatform. Unity. Unity Technologies. [2018-06-27]. (原始內容存檔於2018-06-12) (英語). 
  9. ^ Government & Aerospace. Unity. [August 28, 2021]. (原始內容存檔於September 13, 2021) (英語). 
  10. ^ 5 Years Later, Unity Used by 170,000 Developers and Available on 9 Different Devices. TechCrunch. 2010-06-07 [2024-02-19] (美國英語). 
  11. ^ 參照錯誤:沒有為名為Easier2的參考文獻提供內容
  12. ^ McWhertor, Michael. Former EA CEO John Riccitiello is now head of Unity. Polygon. October 22, 2014 [October 17, 2018]. (原始內容存檔於December 5, 2018) (英語). 
  13. ^ Smykill, Jeff. Apple Design Award winners announced. ArsTechnica. August 9, 2006 [January 18, 2015]. (原始內容存檔於January 19, 2015) (英語). 
  14. ^ Brodkin, Jon. How Unity3D Became a Game-Development Beast. Dice Insights. June 3, 2013 [October 30, 2018]. (原始內容存檔於October 19, 2018) (英語). 
  15. ^ Batchelor, James. Unity dropping major updates in favour of date-based model. GamesIndustry.biz. [2017-03-18]. (原始內容存檔於2017-03-19) (英語). 
  16. ^ 2018.2 is now available – Unity. Unity Technologies Blog. 2018-07-10 [2018-07-10]. (原始內容存檔於2021-02-13) (美國英語). 
  17. ^ New Unity products and prices launching soon. blogs.unity3d.com. Unity. 2016-05-31 [2016-09-26]. (原始內容存檔於2017-09-04). 
  18. ^ UNITY: Unity Whitepaper. unity3d.com. (原始內容存檔於2006-02-22) (英語). 
  19. ^ What's new in Unity 5.0. Unity Technologies. [2017-09-18]. (原始內容存檔於2017-10-17) (英語). 
  20. ^ Fine, Richard. UnityScript's long ride off into the sunset. Unity Technologies Blog. 2017-08-11 [2017-09-18]. (原始內容存檔於2017-10-17) (英語). 
  21. ^ GitHub - UnityScript. Unity Technologies. [2021-11-24]. (原始內容存檔於2021-11-24) (英語). 
  22. ^ Unity – Multiplatform. Unity. Unity Technologies. [2018-06-27]. (原始內容存檔於2018-06-12) (英語). 
  23. ^ Using DirectX11 in Unity 4. Unity Technologies. [2013-02-19]. (原始內容存檔於2013-03-12) (英語). 
  24. ^ Torres Bonet, Ruben. Unity SRP Overview: Scriptable Render Pipeline. Game Developer. 2018-04-19 [2022-12-11]. (原始內容存檔於2022-12-11) (英語). 
  25. ^ Unity - Manual: Render pipelines. Unity Docs. [2022-02-21]. (原始內容存檔於2022-02-21) (英語). 
  26. ^ Unity - Manual: Built-in shaders. Unity Docs. [2022-02-24]. (原始內容存檔於2022-02-22) (英語). 
  27. ^ Savov, Vlad. Unity is the little game engine that could revolutionize animated movies. The Verge. 2017-06-30 [2018-10-29]. (原始內容存檔於2018-09-09) (英語). 
  28. ^ Grubb, Jeff. Unity's asset store boss has big plans to fight Epic's Unreal. VentureBeat. 2018-07-18 [2018-10-30]. (原始內容存檔於2018-09-09) (英語). 
  29. ^ Riccitiello, John. John Riccitiello sets out to identify the engine of growth for Unity Technologies (interview). VentureBeat. 訪談 with Dean Takahashi. 2014-10-23 [2015-01-18]. (原始內容存檔於2015-01-17) (英語). 
  30. ^ Kelliher, Fiona. Video game company grabs two buildings on Mission Street for big expansion. San Francisco Business Times. 2018-08-24 [2018-10-17]. (原始內容存檔於2019-10-03) (英語). 
  31. ^ 31.0 31.1 Robertson, Adi. Unity officially releases its new game engine: Unity 5. The Verge. 2015-03-03 [2018-10-17]. (原始內容存檔於2018-11-16) (英語). 
  32. ^ Unity - Manual: System requirements for Unity 2020 LTS. docs.unity3d.com. [2021-04-15]. (原始內容存檔於2021-04-15) (英語). 
  33. ^ 33.0 33.1 33.2 33.3 33.4 33.5 Dillet, Romain. Unity CEO says half of all games are built on Unity. TechCrunch. 2018-09-05 [2018-12-03]. (原始內容存檔於2018-12-20) (英語). 
  34. ^ Lavieri, Edward. Getting Started with Unity 2018: A Beginner's Guide to 2D and 3D game development with Unity, 3rd Edition. Packt Publishing. 2018: 20 [2018-12-04]. ISBN 9781788832915 (英語). 
  35. ^ Suckley, Matt. Unity 5.3 launches with improved support for iOS 9 and WebGL. Pocketgamer.biz. 2015-12-10 [2018-12-04]. (原始內容存檔於2019-03-22) (英語). 
  36. ^ Coppock, Mark. Unity 5.5 can now be used to create HoloLens augmented reality titles. Digital Trends. 2016-11-30 [2018-12-03]. (原始內容存檔於2019-02-09) (英語). 
  37. ^ 37.0 37.1 參照錯誤:沒有為名為Head2的參考文獻提供內容
  38. ^ Bright, Peter. Unity game engine heading to the browser without plug-ins. Ars Technica. 2014-03-18 [2018-10-29]. (原始內容存檔於2019-03-22) (英語). 
  39. ^ Takahashi, Dean. Unity Technologies posts Q4 revenue of $220.3 million, up 39%. VentureBeat. GamesBeat. 2021-02-04 [2021-02-25]. (原始內容存檔於2021-02-21) (英語). 
  40. ^ Parijat, Shubhankar. Xbox Series S is "An Extremely Capable Machine" – Unity Chief Product Officer. GamingBolt. 2020-11-20 [2021-02-24]. (原始內容存檔於2021-04-22) (英語). 
  41. ^ DeNisco Rayome, Alison. How to become a Unity developer for VR and AR. Tech Republic. 2017-01-23 [2018-12-03]. (原始內容存檔於2018-12-13) (英語). 
  42. ^ Graham, Peter. Unity 2017.2 Featuring Optimised Support for ARCore and ARKit launching This Month. VR Focus. 2017-10-04 [2018-12-04]. (原始內容存檔於2019-10-03) (英語). 
  43. ^ Clayton, Natalie. Unity ARKit update includes persistent mapping and improved tracking. Pocketgamer.biz. 2018-06-15 [2018-12-04]. (原始內容存檔於2019-03-22) (英語). 
  44. ^ Graham, Peter. Build in Unity? Want to Know More About Crafting for Windows Mixed Reality? Then Check out These new Videos From Microsoft. VR Focus. 2018-02-17 [2018-12-04]. (原始內容存檔於2019-10-03) (英語). 
  45. ^ Wawro, Alex. Unity rolls out support for Microsoft's HoloLens goggles. Game Developer. 2015-04-29 [2022-02-22]. (原始內容存檔於2022-02-23) (英語). 
  46. ^ Palladino, Tommy. Magic Leap Publishes More L.E.A.P. Developer Videos Featuring Insomniac Games, Weta Workshop & More. Next Reality. 2018-11-09 [2018-12-04]. (原始內容存檔於2019-03-22) (英語). 
  47. ^ Unity - Manual: XR. docs.unity3d.com. [2021-04-15]. (原始內容存檔於2021-04-15) (英語). 
  48. ^ Plummer, Quinten. Unity and SteamVR Unite for Native Vive Support. Tech News World. 2016-02-16 [2018-12-03]. (原始內容存檔於2019-03-22) (英語). 
  49. ^ Grubb, Jeff. Unity game-making tool gets native support for Google's 5M Cardboard virtual reality devices. VentureBeat. 2016-02-10 [2018-12-03]. (原始內容存檔於2019-03-22) (英語). 
  50. ^ Caoili, Eric. Unity to Support Wii Console as Authorized Middleware Provider. Game Developer. 2008-06-02 [2022-02-22]. (原始內容存檔於2022-02-23) (英語). 
  51. ^ Handrahan, Matthew. Unity signs "industry first" licensing agreement for Wii U. GamesIndustry.biz. 2012-09-19 [2022-02-22]. (原始內容存檔於2022-04-09) (英語). 
  52. ^ 52.0 52.1 DeLoura, Mark. In-Depth: The State Of Game Engines At GDC 2010. Game Developer. 2010-03-09 [2022-02-22]. (原始內容存檔於2022-02-23) (英語). 
  53. ^ Pitcher, Jenna. Unity supporting Linux-based platform Tizen. Polygon. 2013-05-24 [2018-12-03]. (原始內容存檔於2019-03-22) (英語). 
  54. ^ Gilbert, Ben. One of gaming's most-used engines arrives today on PlayStation Vita. Engadget. 2014-01-15 [2018-12-03]. (原始內容存檔於2019-02-14) (英語). 
  55. ^ Jarvis, Matthew. Unity now supports Nintendo 3DS. MCVUK. 2016-02-01 [2018-12-03]. (原始內容存檔於2019-03-22) (英語). 
  56. ^ 56.0 56.1 Rose, Mike. Unity now supports Windows Phone 8, Windows Store and BlackBerry 10. Game Developer. 2013-07-22 [2022-02-22]. (原始內容存檔於2022-02-23) (英語). 
  57. ^ Harris, Richard. Unity Adds Another Big Screen Option for Game Developers with Unity 4.5 for Samsung Smart TV. App Developer Magazine. 2014-08-28 [2018-12-04]. (原始內容存檔於2019-03-22) (英語). 
  58. ^ 參照錯誤:沒有為名為Robertson4的參考文獻提供內容
  59. ^ 59.0 59.1 Batchelor, James. Unity dropping major updates in favour of date-based model. Gamesindustry.biz. 2016-12-14 [2018-10-29]. (原始內容存檔於2018-07-21) (英語). 
  60. ^ 參照錯誤:沒有為名為ARCore4的參考文獻提供內容
  61. ^ Moon, Mariella. Google makes it easier for studios to self-publish Stadia games. Engadget. 2020-03-24. (原始內容存檔於2021-04-15) (英語). 
  62. ^ 參照錯誤:沒有為名為Bright4的參考文獻提供內容
  63. ^ Echterhoff, Jonas. Unity Web Player Roadmap. Unity Technologies Blog. 2015-10-08 [2016-04-18]. (原始內容存檔於2016-04-25) (英語). 
  64. ^ Kovelenov, Yuri. Verge3D versus Unity WebGL. Soft8Soft. 2018-08-23 [2018-08-24]. (原始內容存檔於2018-08-24) (英語). 
  65. ^ 參照錯誤:沒有為名為VB Unity interview3的參考文獻提供內容
  66. ^ McElroy, Griffin. Unity for Wii U opens up GamePad hardware and more to developers. Polygon. 2013-08-20 [2014-08-04]. (原始內容存檔於2014-08-08) (英語). 
  67. ^ Unity 引擎中国版“团结引擎”正式发布 [Chinese edition of Unity Engine 'Tuanjie Engine' officially announced]. PingWest. 2023-08-23 [2023-09-17] (中文). 
  68. ^ 存档副本. [2013-11-09]. (原始內容存檔於2021-04-22). 
  69. ^ Unity - What's new in Unity 4.5. Unity Technologies. [2014-11-26]. (原始內容存檔於2022-01-25). 
  70. ^ Unity - What's new in Unity 4.6. Unity Technologies. [2014-11-26]. (原始內容存檔於2022-05-05). 
  71. ^ Mozilla 與 Unity 共同公開 Unity 5! 3D 遊戲開發引擎現可支援 WebGL. 巴哈姆特. 2015-03-19 [2015-03-19]. (原始內容存檔於2016-03-04). 
  72. ^ UNITY TO SUPPORT NEW NINTENDO 3DS AND NEW NINTENDO 3DS XL頁面存檔備份,存於互聯網檔案館).Unity Technologies.2015-04-13.[2015-04-13].
  73. ^ Unity中国正式推出Unity中国版引擎-36氪. 36kr.com. 2023-08-23 [2023-08-23]. (原始內容存檔於2023-08-23). 
  74. ^ 遊戲開發者傻眼!Unity 遊戲開發引擎宣佈明年起將根據遊戲安裝量對開發者進行收費. 2023-09-14 [2023-09-14]. (原始內容存檔於2023-09-16). 
  75. ^ Unity 撤回受開發者猛烈抨擊的「安裝數」收費新規則頁面存檔備份,存於互聯網檔案館).YahooTech.2023-09-23.[2023-10-16].
  76. ^ Unity CEO John Riccitiello Steps Down After Pricing Blowup頁面存檔備份,存於互聯網檔案館).Wired.2023-10-09.[2023-10-16].

外部連結[編輯]