You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/classes/ProjectSettings.xml
+26Lines changed: 26 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -54,13 +54,32 @@
54
54
[b]Note:[/b] Setting [code]"usage"[/code] for the property is not supported. Use [method set_as_basic], [method set_restart_if_changed], and [method set_as_internal] to modify usage flags.
Checks if any settings with the prefix [param setting_prefix] exist in the set of changed settings. See also [method get_changed_settings].
62
+
</description>
63
+
</method>
57
64
<methodname="clear">
58
65
<returntype="void" />
59
66
<paramindex="0"name="name"type="String" />
60
67
<description>
61
68
Clears the whole configuration (not recommended, may break things).
62
69
</description>
63
70
</method>
71
+
<methodname="clear_changed_settings">
72
+
<returntype="void" />
73
+
<description>
74
+
Clears the list of changed settings. Note that internally [code]changed_settings[/code] is cleared after a successful save, so generally the most appropriate place to use this method is when processing [signal settings_changed].
Gets an array of the settings which have been changed since the last save. Note that internally [code]changed_settings[/code] is cleared after a successful save, so generally the most appropriate place to use this method is when processing [signal settings_changed].
81
+
</description>
82
+
</method>
64
83
<methodname="get_global_class_list">
65
84
<returntype="Dictionary[]" />
66
85
<description>
@@ -172,6 +191,13 @@
172
191
Returns the localized path (starting with [code]res://[/code]) corresponding to the absolute, native OS [param path]. See also [method globalize_path].
173
192
</description>
174
193
</method>
194
+
<methodname="mark_setting_changed">
195
+
<returntype="void" />
196
+
<paramindex="0"name="setting"type="String" />
197
+
<description>
198
+
Marks the passed project setting as being changed, see [method get_changed_settings]. Only settings which exist (see [method has_setting]) will be accepted.
0 commit comments