Browse Source

Merge pull request #33195 from conankzhang/doc-project-settings

Add descriptions to set_initial_value and set_setting.
Rémi Verschelde 5 years ago
parent
commit
ac38f0782f
1 changed files with 6 additions and 0 deletions
  1. 6 0
      doc/classes/ProjectSettings.xml

+ 6 - 0
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>