Running the example scenes provided with the Unity SDK is a great way to get started developing your Unity project for the Meta 2!

In addition to demonstrating how to build Unity scenes which interact with our SDK, several of these scenes also demonstrate our Spatial Interface Design principles.

These scenes are distributed with our Unity package (Meta.unitypackage). To run them, simply follow the steps to build a new application, but skip the following steps:

  • Create a Meta Scene. You won’t need to do this because you’ll be opening one of the example scenes.
  • Most instructions marked optional.

After that, in Unity’s Project window, navigate to Assets > MetaSDK > MetaExamples > Scenes and select a scene to open.

We recommend exploring the Hand Cube Interaction scene first, as it demonstrates a range of hand interactions and physics with AR objects in a simple scene.

Here are some of the other example scenes we provide:

  • Hardware Button Events - Handling button presses on the Meta 2 device
  • Gaze - Building gaze-sensitive content
  • Hand Cube Interaction - Creating objects that you can manipulate with your hands
  • Hand Trigger - Detecting when hands get near interactive objects
  • Meta Interaction Halo - Visual cues for improved UX on interactive objects
  • Meta Locking - Scripts which allow content to be locked relative to your head pose, e.g. to make a HUD
  • Mouse Cube Interaction - Using the Meta Mouse to interact with AR objects in 3D space
  • Reconstruction - Scanning your environment to reconstruct surfaces and physics interactions
  • Turn Table - An AR imagining of a traditional carousel UI widget
  • Swipe Interactions - Novel widgets that allow one-handed control of one or two analog axes
  • UGUI - Integrating Unity 2D GUI into 3D AR applications