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

Add descriptions to set_initial_value and set_setting.
This commit is contained in:
Rémi Verschelde 2019-10-31 08:04:46 +01:00 committed by GitHub
commit ac38f0782f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -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>