Document InstancePlaceholder.create_instance not being thread-safe.

(cherry picked from commit a6f3ef3ac7)
This commit is contained in:
Wilson E. Alvarez 2020-11-09 23:28:24 -05:00 committed by Rémi Verschelde
parent beddfb4437
commit aa6406874e
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 2 additions and 1 deletions

View File

@ -18,13 +18,14 @@
<argument index="1" name="custom_scene" type="PackedScene" default="null">
</argument>
<description>
Not thread-safe. Use [method Object.call_deferred] if calling from a thread.
</description>
</method>
<method name="get_instance_path" qualifiers="const">
<return type="String">
</return>
<description>
Gets the path to the [PackedScene] resource file that is loaded by default when calling [method replace_by_instance].
Gets the path to the [PackedScene] resource file that is loaded by default when calling [method replace_by_instance]. Not thread-safe. Use [method Object.call_deferred] if calling from a thread.
</description>
</method>
<method name="get_stored_values">