適用於 Unity 的 MRTK 簡介Introducing MRTK for Unity

MRTK

混合實境工具組 (MRTK) 是什麼?What is Mixed Reality Toolkit (MRTK)?

MRTK 是一項令人驚奇的開放原始碼工具組,自 HoloLens 首次發行之後就已經存在。MRTK is an amazing open-source toolkit that has been around since the HoloLens was first released. 沒有開發人員社群的努力,就不會達到今天的境界。The toolkit wouldn't be where it is today without the hard work of our contributing developer community. 過去三年來,我們聽取了開發人員社群的意見反應,將最主要的考量納入,建置了 MRTK v2。Over the past three years, we've listened to the feedback of our developer community, and built MRTK v2 to take the biggest concerns into account.

適用於 Unity 的 MRTK 是混合實境應用程式的開放原始碼跨平台開發套件。MRTK for Unity is an open-source, cross-platform development kit for mixed reality applications. 此工具組提供跨平台輸入系統、基礎元件,以及空間互動的常見基本要素。The toolkit provides a cross-platform input system, foundational components, and common building blocks for spatial interactions. MRTK 第 2 版主要用於加速開發適用於 Microsoft HoloLens、Windows Mixed Reality 沈浸式 (VR) 頭戴裝置和 OpenVR 平台的應用程式。MRTK version 2 intends to speed up application development for Microsoft HoloLens, Windows Mixed Reality immersive (VR) headsets, and OpenVR platform. 此專案的目標是減少進入障礙、建立混合實境應用程式,以及回饋伴著我們成長的社群。The project is aimed at reducing barriers to entry, creating mixed reality applications, and contributing back to the community as we all grow.


請參閱 GitHub 上的 MRTK 文件,並從安裝指南來開始著手。Take a look at the MRTK's documentation on GitHub and get started with the installation guide.

MRTK v2 的新功能New with MRTK v2

我們想要強調我們對這些平台工具的承諾。We want to stress our commitment to these platform tools. 事實上,我們使用 MRTK 第 2 版來開發收件匣體驗,例如全新安裝體驗 (OOBE) 和我們的混合實境提示應用程式。In fact, we used MRTK version 2 to develop our inbox experiences, such as the out-of-box setup experience (OOBE) and our Mixed Reality Tips application. 您也可以預期新的 HoloLens 2 功能會先透過 MRTK 公開,因為我們認為這是在我們的平台上進行開發的最佳方式。You can also expect to see new HoloLens 2 capabilities first exposed through MRTK because we believe it’s the best way to develop on our platform.

模組化Modular

我們以模組化的方式建置,因此您不需要個別將工具組的部分納入您的專案中。We have built it in a modular way, so you don't need to take every bit of the toolkit into your project. 這其實有幾個優點。There are actually a few benefits to this. 它會讓您的專案大小變小,讓您更容易管理。It keeps your project size smaller, and makes it easier to manage. 此外,由於它是以可編寫指令碼的物件建置,而且是介面驅動的,因此您也可以用自己的物件取代其中所包含的元件,以支援其他服務、系統和平台。Additionally, because it’s built with scriptable objects and is interface-driven, it’s also possible for you to replace the components that are included with your own, to support other services, systems, and platforms.

跨平台Cross-platform

說到其他平台,它有跨平台支援。Speaking of other platforms, it has cross-platform support. 雖然這並不代表每個平台都會獲得支援,但是我們確定當您將建置目標切換至其他平台時,不會有任何工具組程式碼中斷。And while this doesn’t mean every single platform is supported, we have made sure none of the toolkit code will break when you switch your build target to other platforms. 模組化設計的健全性和擴充性,會讓應用程式有能力支援多個平台,例如 ARCore、ARKit 和 OpenVR。The robustness and extensibility of the modular design sets your apps up to support multiple platforms, such as ARCore, ARKit, and OpenVR.

效能Performant

使用行動平台時,我們會考慮到效能。Working with mobile platforms, we constructed it with performance in mind. 這是非常重要的,我們想要確保工具不會與您作對。This is super important, and we wanted to ensure that the tools aren't going to work against you.

另請參閱See also