summaryrefslogtreecommitdiffstats
path: root/doc/classes
diff options
context:
space:
mode:
authorWinston <44872771+winston-yallow@users.noreply.github.com>2023-05-24 04:33:35 +0200
committerWinston <44872771+winston-yallow@users.noreply.github.com>2023-05-24 13:28:08 +0200
commit263aedc1ad04a2b09ccec64393196802e36be927 (patch)
tree1bba7d5b746ea5002678fa97fe897556cb379cca /doc/classes
parentf581f21dd61a8fb581b80d07755cdf60c95d146d (diff)
downloadredot-engine-263aedc1ad04a2b09ccec64393196802e36be927.tar.gz
Expose ProjectSettings.set_as_basic() to GDScript
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/ProjectSettings.xml10
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/classes/ProjectSettings.xml b/doc/classes/ProjectSettings.xml
index 0b60f0dbf6..add2faa962 100644
--- a/doc/classes/ProjectSettings.xml
+++ b/doc/classes/ProjectSettings.xml
@@ -177,12 +177,20 @@
Saves the configuration to a custom file. The file extension must be [code].godot[/code] (to save in text-based [ConfigFile] format) or [code].binary[/code] (to save in binary format). You can also save [code]override.cfg[/code] file, which is also text, but can be used in exported projects unlike other formats.
</description>
</method>
+ <method name="set_as_basic">
+ <return type="void" />
+ <param index="0" name="name" type="String" />
+ <param index="1" name="basic" type="bool" />
+ <description>
+ Defines if the specified setting is considered basic or advanced. Basic settings will always be shown in the project settings. Advanced settings will only be shown if the user enables the "Advanced Settings" option.
+ </description>
+ </method>
<method name="set_initial_value">
<return type="void" />
<param index="0" name="name" type="String" />
<param index="1" name="value" type="Variant" />
<description>
- Sets the specified property's initial value. This is the value the property reverts to.
+ Sets the specified setting's initial value. This is the value the setting reverts to.
</description>
</method>
<method name="set_order">