Browse Source

Merge pull request #16080 from volzhs/doc-projectsettings

Update ProjectSettings description to correct usage
Rémi Verschelde 7 years ago
parent
commit
4553c81ceb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      doc/classes/ProjectSettings.xml

+ 1 - 1
doc/classes/ProjectSettings.xml

@@ -4,7 +4,7 @@
 		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.
+		Contains global variables accessible from everywhere. Use "ProjectSettings.get_setting(variable)", "ProjectSettings.set_setting(variable,value)" or "ProjectSettings.has_setting(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>