Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The MRTK3 Aquarium sample provides a Unity in-editor tutorial that explores various MRTK3 features. Set in an underwater scene, you'll be introduced to the creatures of the aquarium and the objects that make up their habitat. Using MRTK3 features, you'll add interactivity to the aquarium which will enable you to create an aquarium of your very own!
In this sample, you'll learn how to do the following:
- Preview scenes without the need to compile and deploy the project
- Simulate input directly into the Unity editor with MRTK In-Editor Input Simulation
- Move and manipulate the objects in the aquarium
- Add a bounding box around aquarium objects and manipulate the object using handles
- Create a Canvas button to toggle an object's visibility
- Create a Canvas button bar configured to spawn objects into the aquarium
Prerequisites
- A Windows 10 or 11 PC
- Visual Studio 2022 with the required workloads (as noted in the Installation Checklist)
- Windows 10 SDK 10.0.18362.0 or later
- Unity Hub with Unity 2021.3.4f1 LTS installed
Download the Project
You can clone or download the MRTK3 Aquarium project from its GitHub repository. Once the project is downloaded, add it to the Unity Hub and then open it from there.
How to Use the Tutorials
The Unity in-editor tutorial format provides step-by-step instructions within the Editor for how to accomplish each step of the tutorial. Each tutorial is independent of the others so you're welcome to complete them in any order you prefer.
- In Unity on the menu bar, select Tutorials > Show Tutorials.
- In the right-side Tutorials panel, select a tutorial.
- Each tutorial begins with a brief overview and learning objectives. Select the Start button to start the tutorial.
- Most steps in the tutorial require that you complete a series of tasks before continuing to the next step. You must complete the tasks as they're written. Once you complete all tasks, select Next to continue.
You can redo the tutorials as often as you'd like!
Note
This tutorial series will continue to undergo iterations while MRTK3 is in Public Preview. If you experience any issues with the tutorials, submit an issue in the respective GitHub repository.