From 73429cf9f5c6733b4dcca5aa20e1832898f128c0 Mon Sep 17 00:00:00 2001 From: florian Date: Tue, 2 Oct 2018 11:07:44 +0200 Subject: Improve doc of ProjectSettings Documentation added for: * bool load_resource_pack(String) * bool property_can_revert(String) * Variant property_get_revert(String) * Error save() * Error save_custom(String) --- doc/classes/ProjectSettings.xml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'doc/classes/ProjectSettings.xml') 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 @@ + 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]. @@ -100,6 +102,7 @@ + Returns true if the specified property exists and its initial value differs from the current value. @@ -108,12 +111,14 @@ + Returns the initial value of the specified property. Returns null if the property does not exist. + Saves the configuration to the project.godot file. @@ -122,6 +127,7 @@ + Saves the configuration to a custom file. -- cgit v1.2.3