We have made some demo scenes demonstrating various onAirXR Playground features. Explore the scenes to see how to use the features.
Import “Demo Scene” sample from onAirXR Playground package.

In Project Settings,

Add the below scenes to the Build Settings.

Open “PlaygroundEntry” scene then play.
VR Avatar (see “VRAvatar1.prefab” in “Demo Scene” sample)
The head and hands can trigger any trigger volume. (refer to Create Trigger Volume)

The flashlight lights up while a player holds down the grip button of the left controller. (refer to Handle Player Input and Share Animator)

A tennis ball is thrown when a player presses the trigger button while holding down the grip button on the left controller. (refer to Handle Player Input and Instantiate From Prefab)

Mono Avatar (see “MonoAvatar1.prefab” in “Demo Scene” sample)
A player can click any interactable object in the scene by screen touch. (refer to Handle Player Input)

Avatar Selector (see “AvatarSelector.prefab”, “VRAvatarSelector.prefab” and “MonoAvatarSelector.prefab” in “Demo Scene” sample)
The avatar of a VR HMD player is selected by user ID :
| User ID | Avatar |
|---|---|
| player1 | VRAvatar1.prefab |
| player2 | VRAvatar2.prefab |
The avatar of a mobile AR device player is selected by user ID :
| User ID | Avatar |
|---|---|
| player1 | MonoAvatar1.prefab |
| player2 | MonoAvatar2.prefab |
| operator | Operator.prefab |
Refer to Create Avatar.
There are two places - “place1” and place2 - where players can move around. (refer to Set Places )

A girl listening to music is sitting on the couch.

A video of a whales swimming is playing on the screen.

A whale appears from the screen when an “operator” player clicks the “3D FX” button. (refer to Share Timeline)

Peaceful music fills the room. (refer to Share Audio Source)

A player can grab some objects using the grip button. (refer to Share Game Object Movement)

Any player can change the scene of all players to “Game Room” by clicking on the door. (refer to Move Between Scenes)

A hidden space appears when a player puts their hand into the red box. (refer to Create Trigger Volume and Share Timeline)

A player can grab the swords in the hidden space. (refer to Share Game Object Movement)

The player holding the sword can swing it towards the spinning coin. (refer to Create Trigger Volume and Share Animator)
