Editar

Compartilhar via


KeywordEvent Class

Definition

A container for a keyword and its associated Unity event. This container is utilized in SpeechKeywordEvents.

public ref class KeywordEvent
[System.Serializable]
public class KeywordEvent
[<System.Serializable>]
type KeywordEvent = class
Public Class KeywordEvent
Inheritance
KeywordEvent
Attributes

Constructors

KeywordEvent()

Fields

OnKeywordRecognized

Unity Event fired when a specific keyword is recognized.

Properties

Keyword

The Keyword for the Speech Handler to listen for if speech is enabled. If this keyword is recognized, the OnKeywordRecognized event will fire. This keyword must also be registered in the Speech Input configuration profile.

Applies to