From 3aaa432139cfa9ecec42f498d4ab062d543a4969 Mon Sep 17 00:00:00 2001 From: Michael Farnsworth <114595176+michaelfarnsworth@users.noreply.github.com> Date: Mon, 1 May 2023 11:42:25 -0500 Subject: [PATCH] Updating Readme with basic instructions --- .../HoloLens2_GettingStarted/README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/GettingStartedGuides/HoloLens2_GettingStarted/README.md b/GettingStartedGuides/HoloLens2_GettingStarted/README.md index 68ed7415..9abeedd2 100644 --- a/GettingStartedGuides/HoloLens2_GettingStarted/README.md +++ b/GettingStartedGuides/HoloLens2_GettingStarted/README.md @@ -12,3 +12,17 @@ urlFragment: HoloLens2_GettingStarted This sample, **HoloLens2_GettingStarted**, is the completed Unity project that results from following the steps in the tutorial [Get started with WebView2 in HoloLens 2 Unity apps](https://learn.microsoft.com/microsoft-edge/webview2/get-started/hololens2). ![The running app from the finished HoloLens 2 tutorial](screenshots/hololens-getting-started-webview2.png) + + +Follow these steps to get started with this sample code. WebView2 is already included as a Unity package, but you will need to load it via the Mixed Reality Feature Tool. + +1. Clone this repository +2. Launch the Microsoft Mixed Reality Feature Tool + - Click **Start** + - Click the **...** button, navigate to the `HoloLens2GetStartedApp` folder, and select **Open** + - With the project path selected, click **Restore Features** to load the required packages for the Mixed Reality Toolkit and the WebView2 plugin package. +3. Close the Mixed Reality Feature Tool +4. Launch Unity Hub +5. In Unity Hub, click **Open**, navigate to the `HoloLens2GetStartedApp` folder, and select **Open**. This should open the project in the Unity Editor. +6. In the Unity Editor, find the SampleScene in the `Assets/Scenes` folder and double-click to load it. +7. Click the play button in the Unity Editor to quickly test the app.