From d09644dff3ed3552f82e63d4a15f7f62442bf733 Mon Sep 17 00:00:00 2001 From: Zak Grumbles Date: Mon, 30 Mar 2020 21:53:39 -0500 Subject: [PATCH] Clarify docs for Thread.start() godotengine#36032 * Updated docs for Thread.start() to specify that the method argument must accept one parameter. --- doc/classes/Thread.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/classes/Thread.xml b/doc/classes/Thread.xml index 3bb5797df51..4d6e89fa6f6 100644 --- a/doc/classes/Thread.xml +++ b/doc/classes/Thread.xml @@ -36,7 +36,7 @@ - Starts a new [Thread] that runs [code]method[/code] on object [code]instance[/code] with [code]userdata[/code] passed as an argument. The [code]priority[/code] of the [Thread] can be changed by passing a value from the [enum Priority] enum. + Starts a new [Thread] that runs [code]method[/code] on object [code]instance[/code] with [code]userdata[/code] passed as an argument. Even if no userdata is passed, [code]method[/code] must accept one argument and it will be null. The [code]priority[/code] of the [Thread] can be changed by passing a value from the [enum Priority] enum. Returns [constant OK] on success, or [constant ERR_CANT_CREATE] on failure.