Skip to content

Commit 20928f6

Browse files
committed
Merge pull request godotengine#107082 from KoBeWi/this_setting_does_not_exist
Clarify existence of custom project settings
2 parents 1b2adba + b011078 commit 20928f6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doc/classes/ProjectSettings.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@
9797
[/csharp]
9898
[/codeblocks]
9999
[b]Note:[/b] This method doesn't take potential feature overrides into account automatically. Use [method get_setting_with_override] to handle seamlessly.
100+
See also [method has_setting] to check whether a setting exists.
100101
</description>
101102
</method>
102103
<method name="get_setting_with_override" qualifiers="const">
@@ -149,6 +150,7 @@
149150
<param index="0" name="name" type="String" />
150151
<description>
151152
Returns [code]true[/code] if a configuration value is present.
153+
[b]Note:[/b] In order to be be detected, custom settings have to be either defined with [method set_setting], or exist in the [code]project.godot[/code] file. This is especially relevant when using [method set_initial_value].
152154
</description>
153155
</method>
154156
<method name="load_resource_pack">

0 commit comments

Comments
 (0)