◆ Gender
◆ VoiceState
Enumerator |
---|
Silent | |
Starting | |
Speaking | |
◆ Awake()
virtual void PixelCrushers.DialogueSystem.RTVoiceActor.Awake |
( |
| ) |
|
|
virtual |
◆ GetVoice()
Voice PixelCrushers.DialogueSystem.RTVoiceActor.GetVoice |
( |
| ) |
|
Gets the system's closest match voice to the preferred voice for the current language.
- Returns
- The voice.
◆ MatchesVoicePreference()
bool PixelCrushers.DialogueSystem.RTVoiceActor.MatchesVoicePreference |
( |
Voice |
voice, |
|
|
VoicePreference |
voicePreference |
|
) |
| |
|
protected |
◆ OnBarkLine()
void PixelCrushers.DialogueSystem.RTVoiceActor.OnBarkLine |
( |
Subtitle |
subtitle | ) |
|
When a bark line is spoken, speak it through RT-Voice.
- Parameters
-
◆ OnConversationLine()
void PixelCrushers.DialogueSystem.RTVoiceActor.OnConversationLine |
( |
Subtitle |
subtitle | ) |
|
When a conversation line is spoken, speak it through RT-Voice.
- Parameters
-
◆ OnDisable()
virtual void PixelCrushers.DialogueSystem.RTVoiceActor.OnDisable |
( |
| ) |
|
|
virtual |
◆ OnEnable()
virtual void PixelCrushers.DialogueSystem.RTVoiceActor.OnEnable |
( |
| ) |
|
|
virtual |
◆ OnSpeakComplete()
virtual void PixelCrushers.DialogueSystem.RTVoiceActor.OnSpeakComplete |
( |
Crosstales.RTVoice.Model.Wrapper |
wrapper | ) |
|
|
protectedvirtual |
◆ OnSpeakStart()
virtual void PixelCrushers.DialogueSystem.RTVoiceActor.OnSpeakStart |
( |
Crosstales.RTVoice.Model.Wrapper |
wrapper | ) |
|
|
protectedvirtual |
◆ RegisterRTVoiceCallbacks()
virtual void PixelCrushers.DialogueSystem.RTVoiceActor.RegisterRTVoiceCallbacks |
( |
| ) |
|
|
protectedvirtual |
◆ Speak()
virtual void PixelCrushers.DialogueSystem.RTVoiceActor.Speak |
( |
string |
text | ) |
|
|
virtual |
Speak the specified text using RT-Voice.
You can override this if you need to do anything extra.
- Parameters
-
◆ SpeakSubtitle()
void PixelCrushers.DialogueSystem.RTVoiceActor.SpeakSubtitle |
( |
Subtitle |
subtitle, |
|
|
bool |
wait |
|
) |
| |
◆ Start()
virtual void PixelCrushers.DialogueSystem.RTVoiceActor.Start |
( |
| ) |
|
|
virtual |
◆ UnregisterRTVoiceCallbacks()
virtual void PixelCrushers.DialogueSystem.RTVoiceActor.UnregisterRTVoiceCallbacks |
( |
| ) |
|
|
protectedvirtual |
◆ m_audioSource
AudioSource PixelCrushers.DialogueSystem.RTVoiceActor.m_audioSource = null |
|
protected |
◆ m_started
bool PixelCrushers.DialogueSystem.RTVoiceActor.m_started = false |
|
protected |
◆ voicePreferences
The voice preferences to try to match.
◆ voiceState
◆ waitForVoiceInConversations
bool PixelCrushers.DialogueSystem.RTVoiceActor.waitForVoiceInConversations = true |
In conversations, make the dialogue entry wait until RT-Voice is done playing.
The documentation for this class was generated from the following file:
- D:/Documents/Unity Projects/Dialogue System/Dev/Integration/RT-Voice Integration/Assets/Dialogue System/Third Party Support/RTVoice/Scripts/RTVoiceActor.cs