Add descriptions to set_initial_value and set_setting.

This commit is contained in:
conankzhang 2019-10-30 23:39:24 -07:00
parent d482a1d8e8
commit e72d6cf54a

View File

@ -145,6 +145,7 @@
<argument index="1" name="value" type="Variant"> <argument index="1" name="value" type="Variant">
</argument> </argument>
<description> <description>
Sets the specified property's initial value. This is the value the property reverts to.
</description> </description>
</method> </method>
<method name="set_order"> <method name="set_order">
@ -166,6 +167,11 @@
<argument index="1" name="value" type="Variant"> <argument index="1" name="value" type="Variant">
</argument> </argument>
<description> <description>
Sets the value of a setting.
[b]Example:[/b]
[codeblock]
ProjectSettings.set_setting("application/config/name", "Example")
[/codeblock]
</description> </description>
</method> </method>
</methods> </methods>