Skip to content

Commit

Permalink
Updating Readme with basic instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfarnsworth committed May 1, 2023
1 parent c2dcaf4 commit 3aaa432
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions GettingStartedGuides/HoloLens2_GettingStarted/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

0 comments on commit 3aaa432

Please sign in to comment.