mirror of
https://github.com/lightsoutgames/godot-tts
synced 2024-11-22 17:25:57 +00:00
Minor convention cleanup.
This commit is contained in:
parent
abe9ab3f55
commit
0c9efa5c7b
4
TTS.gd
4
TTS.gd
|
@ -142,7 +142,7 @@ func stop():
|
||||||
JavaScript.eval("window.speechSynthesis.cancel()")
|
JavaScript.eval("window.speechSynthesis.cancel()")
|
||||||
|
|
||||||
|
|
||||||
func get_is_rate_supported():
|
func _get_is_rate_supported():
|
||||||
if Engine.has_singleton("GodotTTS"):
|
if Engine.has_singleton("GodotTTS"):
|
||||||
return true
|
return true
|
||||||
elif OS.has_feature('JavaScript'):
|
elif OS.has_feature('JavaScript'):
|
||||||
|
@ -153,7 +153,7 @@ func get_is_rate_supported():
|
||||||
return false
|
return false
|
||||||
|
|
||||||
|
|
||||||
var is_rate_supported setget , get_is_rate_supported
|
var is_rate_supported setget , _get_is_rate_supported
|
||||||
|
|
||||||
|
|
||||||
func _get_are_utterance_callbacks_supported():
|
func _get_are_utterance_callbacks_supported():
|
||||||
|
|
Loading…
Reference in New Issue
Block a user