summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorconankzhang <conankzhang@gmail.com>2019-10-30 23:39:24 -0700
committerconankzhang <conankzhang@gmail.com>2019-10-30 23:39:24 -0700
commite72d6cf54a7d93082f5e0600276b7114d868de07 (patch)
treea3ce56687d3771f0a186aa7a10497f1bcddf13d4 /doc/classes
parentd482a1d8e8b4e68f2f386ba618cd091c79c20424 (diff)
Add descriptions to set_initial_value and set_setting.
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/ProjectSettings.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/classes/ProjectSettings.xml b/doc/classes/ProjectSettings.xml
index fa735b8918..eb937df286 100644
--- a/doc/classes/ProjectSettings.xml
+++ b/doc/classes/ProjectSettings.xml
@@ -145,6 +145,7 @@
<argument index="1" name="value" type="Variant">
</argument>
<description>
+ Sets the specified property's initial value. This is the value the property reverts to.
</description>
</method>
<method name="set_order">
@@ -166,6 +167,11 @@
<argument index="1" name="value" type="Variant">
</argument>
<description>
+ Sets the value of a setting.
+ [b]Example:[/b]
+ [codeblock]
+ ProjectSettings.set_setting("application/config/name", "Example")
+ [/codeblock]
</description>
</method>
</methods>