Skip to content

Commit e109392

Browse files
author
András Velvárt
committed
HeadsetAdjustment tweaks, added info to README.md
1 parent e4e9eda commit e109392

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

Assets/HoloToolkit/Utilities/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,14 @@ A drop in direction indicator that stays in the users view at all times.
1414
#### HeadsUpDirectionIndicatorPointer.prefab
1515
A quad based pointer to be used with the HeadsUpDirectionIndicator prefab to create an out of box direction indicator.
1616

17+
###[Scenes](Scenes)
18+
####HeadsetAdjustment.unity
19+
Helps the user adjust the headset so that he/she gets the full experience in demo scenarios.
20+
21+
When demoing an app, it is important to ensure that the user has the headset on properly. This scene shows a border at the edge of the user's field of view and instructs him/her to adjust the headset until all four edges are visible. The user (or the demonstrator) can then air-tap or say "I'm ready" to proceed to the actual experience.
22+
23+
This scene is designed to be the first scene the user sees, once the experience is ready to begin. Once the user is ready, it loads either the next scene in the sequence or a scene specified by the NextSceneName property of the HeadsetAdjustment script.
24+
1725
### [Scripts](Scripts)
1826
---
1927
Utilitiy Scripts.

Assets/HoloToolkit/Utilities/Scenes/HeadsetAdjustment.unity

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ MonoBehaviour:
469469
m_Script: {fileID: 11500000, guid: a74ada5ef10acb14a8a07fc789a8bad2, type: 3}
470470
m_Name:
471471
m_EditorClassIdentifier:
472-
NextSceneName: GazeRulerTest
472+
NextSceneName:
473473
--- !u!4 &1952827301
474474
Transform:
475475
m_ObjectHideFlags: 0

Assets/HoloToolkit/Utilities/Scripts/HeadsetAdjustment.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
public class HeadsetAdjustment : MonoBehaviour, IInputClickHandler, ISpeechHandler {
99

10+
[Tooltip("The name of the scene to load when the user is ready. If left empty, the next scene is loaded as specified in the 'Scenes in Build')")]
1011
public string NextSceneName;
1112

1213
public void OnInputClicked(InputClickedEventData eventData)
@@ -30,7 +31,6 @@ private void GotoNextScene()
3031

3132
public void OnSpeechKeywordRecognized(SpeechKeywordRecognizedEventData eventData)
3233
{
33-
Debug.Log("Speech command recognized");
3434
GotoNextScene();
3535
}
3636

0 commit comments

Comments
 (0)