Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added See-It Say-It Labels To Buttons #11466

Merged

Conversation

marlenaklein-msft
Copy link
Contributor

Overview

  • Adds a SeeItSayItLabelEnabler script which enables SeeItSayIt labels at runtime, if voice commands are enabled for a button and the speech and input packages are installed.

  • Adds anims to uxcomponents and uxcomponents.noncanvas, and adds a StateVisualizer component to both of the label prefabs, to show SeeItSayIt label on active hover.

  • Updates the Canvas and Non-Canvas button prefabs (Empty Button and Pressable Button_128x32mm_TextOnly) to add SeeItSayItLabels (disabled by default) and the SeeItSayItLabelEnabler.

  • Updates the SeeItSayIt sample scene to use the SeeItSayItLabelEnabler component to enable labels at runtime.

  • Adds unit tests for canvas and non-canvas label prefabs, as well as SeeItSayItLabelEnabler script.

  • Adds null checks to StateVisualizer

Changes

@marlenaklein-msft marlenaklein-msft merged commit 4e1a5eb into microsoft:mrtk3 Apr 14, 2023
7 checks passed
@AMollis AMollis changed the title [MRTK3] Port Enabled SeeItSayIt Labels Added See-It Say-It Labels To Buttons Apr 28, 2023
drusk-unity pushed a commit to drusk-unity/MixedRealityToolkit-Unity that referenced this pull request Jun 26, 2023
- Adds a SeeItSayItLabelEnabler script which enables See-It Say-It labels at runtime, if voice commands are enabled for a button and the speech and input packages are installed.

- Adds anims to uxcomponents and uxcomponents.noncanvas, and adds a StateVisualizer component to canvas and non-canvas See-It Say-It label prefabs, to show See-It Say-It label on active hover.

- Updates the canvas and non-canvas button prefabs (Empty Button and Pressable Button_128x32mm_TextOnly) to add See-It Say-It Labels (disabled by default) and the SeeItSayItLabelEnabler. 

- Updates the SeeItSayIt Example scene to use the SeeItSayItLabelEnabler component to enable labels at runtime. 

- Adds unit tests for canvas and non-canvas label prefabs, as well as SeeItSayItLabelEnabler script.

- Adds null checks to StateVisualizer.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants