summaryrefslogtreecommitdiff
path: root/doc/classes/OS.xml
diff options
context:
space:
mode:
authorBastiaan Olij <mux213@gmail.com>2021-02-25 22:20:13 +1100
committerBastiaan Olij <mux213@gmail.com>2021-02-25 23:36:14 +1100
commit4c8f5b998faa2fdf72e52fa434fdd4ad84bfb2ca (patch)
tree29831d8e97555f574c249a00879ac1446f6cc71e /doc/classes/OS.xml
parent2adacd751c9f83f0dbbedcd2d4ce112104e09513 (diff)
Expose set_environment to GDScript
Diffstat (limited to 'doc/classes/OS.xml')
-rw-r--r--doc/classes/OS.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/classes/OS.xml b/doc/classes/OS.xml
index f6602d5f4d..6a59f24ac2 100644
--- a/doc/classes/OS.xml
+++ b/doc/classes/OS.xml
@@ -501,6 +501,17 @@
[b]Note:[/b] This method is implemented on Android.
</description>
</method>
+ <method name="set_environment" qualifiers="const">
+ <return type="bool">
+ </return>
+ <argument index="0" name="environment" type="String">
+ </argument>
+ <argument index="1" name="value" type="String">
+ </argument>
+ <description>
+ Change the value of an environment variable.
+ </description>
+ </method>
<method name="set_thread_name">
<return type="int" enum="Error">
</return>