Document InstancePlaceholder.create_instance not being thread-safe.
(cherry picked from commit a6f3ef3ac7
)
This commit is contained in:
parent
beddfb4437
commit
aa6406874e
1 changed files with 2 additions and 1 deletions
|
@ -18,13 +18,14 @@
|
||||||
<argument index="1" name="custom_scene" type="PackedScene" default="null">
|
<argument index="1" name="custom_scene" type="PackedScene" default="null">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
|
Not thread-safe. Use [method Object.call_deferred] if calling from a thread.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="get_instance_path" qualifiers="const">
|
<method name="get_instance_path" qualifiers="const">
|
||||||
<return type="String">
|
<return type="String">
|
||||||
</return>
|
</return>
|
||||||
<description>
|
<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>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="get_stored_values">
|
<method name="get_stored_values">
|
||||||
|
|
Loading…
Reference in a new issue