summaryrefslogtreecommitdiff
path: root/doc/classes/ProjectSettings.xml
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-10-02 13:49:59 +0200
committerGitHub <noreply@github.com>2018-10-02 13:49:59 +0200
commit88a14949dda474fd8fa5be6b4be527cd0a56f6cd (patch)
tree2bd78af33023eab853fe29b3dc20f8bca868eff7 /doc/classes/ProjectSettings.xml
parent12d80e9d834ebdbfa66a50236cb8a752ae710150 (diff)
parent73429cf9f5c6733b4dcca5aa20e1832898f128c0 (diff)
Merge pull request #22612 from Dragoncraft89/master
Improve doc of ProjectSettings
Diffstat (limited to 'doc/classes/ProjectSettings.xml')
-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 c05d6bc849..0b7c0a63ad 100644
--- a/doc/classes/ProjectSettings.xml
+++ b/doc/classes/ProjectSettings.xml
@@ -83,6 +83,8 @@
<argument index="0" name="pack" type="String">
</argument>
<description>
+ Loads the contents of the .pck or .zip file specified by [code]pack[/code] into the resource filesystem (res://). Returns true on success.
+ Note: If a file from [code]pack[/code] shares the same path as a file already in the resource filesystem, any attempts to load that file will use the file from [code]pack[/code].
</description>
</method>
<method name="localize_path" qualifiers="const">
@@ -100,6 +102,7 @@
<argument index="0" name="name" type="String">
</argument>
<description>
+ Returns true if the specified property exists and its initial value differs from the current value.
</description>
</method>
<method name="property_get_revert">
@@ -108,12 +111,14 @@
<argument index="0" name="name" type="String">
</argument>
<description>
+ Returns the initial value of the specified property. Returns null if the property does not exist.
</description>
</method>
<method name="save">
<return type="int" enum="Error">
</return>
<description>
+ Saves the configuration to the project.godot file.
</description>
</method>
<method name="save_custom">
@@ -122,6 +127,7 @@
<argument index="0" name="file" type="String">
</argument>
<description>
+ Saves the configuration to a custom file.
</description>
</method>
<method name="set_initial_value">