#Hololens – Using voice commands to display a menu with #HoloToolkit


In yesterday’s post, I wrote on how to interact with a menu with Hololens, Unity3D and HoloToolkit. Today I will wrote on how to show the menu in a specific location using a voice command.

Ideally, the menu is displayed in the direction in which we are looking with the Hololens.


Holo view Hide Menu 03.gif

It’s very easy, in the Managers collection, we will add a new Script with the following code.


The code is very simple, although a couple of commenrs will help

  • The voice command to show / hide the menu is “Menu”
  • Lines 26 to 28 is where the show or hidden the Group Menu action is placed
  • Lines 30 to 32 is where the menu at 30% is displayed of normal size and position it in front of the view of the camera of the Hololens

As someone has asked me, I leave the full example on GitHub to download here (link)

Greetings @ Toronto

El Bruno



Leave a comment

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: