mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-05 22:09:56 +03:00
Fix mixed use of tabs and spaces in indented blocks
4-space is our convention for indented blocks and should be used consistently. The only exception is for C++ code which is tab-indented, as the engine code.
This commit is contained in:
@@ -201,8 +201,8 @@ You can now use your newly created module from any script:
|
||||
::
|
||||
|
||||
var t = TTS.new()
|
||||
var script = "Hello world. This is a test!"
|
||||
var is_spoken = t.say_text(script)
|
||||
print('is_spoken: ', is_spoken)
|
||||
var script = "Hello world. This is a test!"
|
||||
var is_spoken = t.say_text(script)
|
||||
print('is_spoken: ', is_spoken)
|
||||
|
||||
And the output will be ``is_spoken: True`` if the text is spoken.
|
||||
|
||||
Reference in New Issue
Block a user