Contains global variables accessible from everywhere.
</brief_description>
<description>
Contains global variables accessible from everywhere. Use the normal [Object] API, such as "ProjectSettings.get(variable)", "ProjectSettings.set(variable,value)" or "ProjectSettings.has(variable)" to access them. Variables stored in project.godot are also loaded into ProjectSettings, making this object very useful for reading custom game configuration options.
</description>
<tutorials>
</tutorials>
<demos>
</demos>
<methods>
<methodname="add_property_info">
<returntype="void">
</return>
<argumentindex="0"name="hint"type="Dictionary">
</argument>
<description>
Add a custom property info to a property. The dictionary must contain: name:[String](the name of the property) and type:[int](see TYPE_* in [@Global Scope]), and optionally hint:[int](see PROPERTY_HINT_* in [@Global Scope]), hint_string:[String].
Example:
[codeblock]
ProjectSettings.set("category/property_name", 0)
var property_info = {
"name": "category/property_name",
"type": TYPE_INT,
"hint": PROPERTY_HINT_ENUM,
"hint_string": "one,two,three"
}
ProjectSettings.add_property_info(property_info)
[/codeblock]
</description>
</method>
<methodname="clear">
<returntype="void">
</return>
<argumentindex="0"name="name"type="String">
</argument>
<description>
Clear the whole configuration (not recommended, may break things).
</description>
</method>
<methodname="get_order"qualifiers="const">
<returntype="int">
</return>
<argumentindex="0"name="name"type="String">
</argument>
<description>
Return the order of a configuration value (influences when saved to the config file).