Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice

Hololens voice input - choose options

Discussion in 'VR' started by WavyRancheros, Apr 25, 2018.

  1. WavyRancheros

    WavyRancheros

    Joined:
    Feb 5, 2013
    Posts:
    176
    Hi,

    I want to choose from a couple of options, like:

    which would call

    public void OpenItem(int id) { ... }


    which would call

    public void ChangeColor(Color color) { ... }


    How would I go about that? With the keyword recognizer, I guess I would need to put each command explicitly into the list of keywords?
     
  2. JasonCostanza

    JasonCostanza

    Unity Technologies

    Joined:
    May 23, 2017
    Posts:
    404