diff --git a/microsoft-edge/webview2/get-started/hololens2-images/mrtk_webview2_selected.png b/microsoft-edge/webview2/get-started/hololens2-images/mrtk_webview2_selected.png index 7eb12ea2e1..d7e0fe42a1 100644 Binary files a/microsoft-edge/webview2/get-started/hololens2-images/mrtk_webview2_selected.png and b/microsoft-edge/webview2/get-started/hololens2-images/mrtk_webview2_selected.png differ diff --git a/microsoft-edge/webview2/get-started/hololens2.md b/microsoft-edge/webview2/get-started/hololens2.md index 151e6a5744..3be7f15496 100644 --- a/microsoft-edge/webview2/get-started/hololens2.md +++ b/microsoft-edge/webview2/get-started/hololens2.md @@ -6,7 +6,7 @@ ms.author: msedgedevrel ms.topic: conceptual ms.prod: microsoft-edge ms.technology: webview -ms.date: 05/11/2023 +ms.date: 08/10/2023 --- # Get started with WebView2 in HoloLens 2 Unity apps (Preview) @@ -25,7 +25,7 @@ In this tutorial, you: * Install the Mixed Reality Toolkit, by using the Mixed Reality Feature Tool. * Create an initial Unity project for HoloLens 2 development. * Add the Microsoft Mixed Reality WebView plugin for Unity, by using the Mixed Reality Feature Tool. -* Configure a WebView2 prefab that displays webpage content in your HoloLens 2 app. +* Configure a WebView prefab that displays webpage content in your HoloLens 2 app. * Learn about WebView2 concepts and interactions in Unity. @@ -164,7 +164,7 @@ In this step, as above, you'll use the Mixed Reality Feature Tool to install the 1. Click the **Approve** button to finalize the changes. -1. In your Unity project, in your project's **Assets** folder, inspect the WebView2 prefab. +1. In your Unity project, in your project's **Assets** folder, inspect the WebView prefab. The Microsoft Mixed Reality WebView plugin for Unity is now installed and imported. Continue with the next Step below. @@ -172,17 +172,17 @@ For more information, see [Welcome to the Mixed Reality Feature Tool](/windows/m -## Step 5 - Set up the WebView2 prefab in Unity scene +## Step 5 - Set up the WebView prefab in Unity scene -Now that the WebView plugin for Unity is installed and imported, set up the WebView2 prefab in your Unity scene, as follows: +Now that the WebView plugin for Unity is installed and imported, set up the WebView prefab in your Unity scene, as follows: -1. In the Unity Editor, navigate to the **Project** window, and then find the WebView2 prefab by going to **Packages** > **Microsoft Mixed Reality WebView (Preview)** > **Runtime** > **Prefab**. +1. In the Unity Editor, navigate to the **Project** window, and then find the WebView prefab by going to **Packages** > **Microsoft Mixed Reality WebView (Preview)** > **Runtime** > **Prefab**. -1. Drag the WebView2 prefab into your scene. +1. Drag the WebView prefab into your scene. -1. With the WebView2 prefab selected in the **Hierarchy** window, move it to a suitable starting location within the scene (such as under the `MixedRealitySceneContent` node), making sure it's in view of the default camera. +1. With the WebView prefab selected in the **Hierarchy** window, move it to a suitable starting location within the scene (such as under the `MixedRealitySceneContent` node), making sure it's in view of the default camera. -1. In the **Inspector** window, you can change the initial URL that's loaded by the WebView2 prefab. To do this, locate the **Current URL** text box, and then enter the desired URL. By default, the prefab loads `https://www.microsoft.com`: +1. In the **Inspector** window, you can change the initial URL that's loaded by the WebView prefab. To do this, locate the **Current URL** text box, and then enter the desired URL. By default, the prefab loads `https://www.microsoft.com`: ![The Current URL input field for WebView prefab in Unity's Inspector](./hololens2-images/unity_inspector_change_url.png)