-
Notifications
You must be signed in to change notification settings - Fork 14
Example Scripts
There are several example scripts part of BDK. These can be separated into three different categories: Hands, voice, head gaze and eye gaze. Example classes are found in the BDK Essentials sample package.
A simple script that allows a floating menu to follow the player. If the player grabs it and moves it it will stay in place.
A simple script that allows a menu to be shown on the inner side of the hand when the palm is facing the HoloLens.
A simple button script.
A simple script that allows a menu to be shown on the inner side of the hand when the palm is facing the HoloLens. This menu can be expanded by pulling on a tab.
A setup script for a slider object.
A script that allow a game object to be moved up an down only in one axis and restricts it movement inside the slider area.
An example script that changes the color of a material.
A simple script that allows the developer to type in a command and select a corresponding action.
A simple scripts that invokes the Tapped event on the InteractableButton currently being targeted.
Simple script that displays a cursor on the object in front of the HoloLens.
Button that can be clicked on by targeting it with the Head Gaze.
GazeCursor allows a cursor to be displayed at the point the user is looking. This can be just a visible cursor or a HoverLight.
A script that toggles a gameobject on when the user looks at the target.