浏览代码

Merge pull request #16080 from volzhs/doc-projectsettings

Update ProjectSettings description to correct usage
Rémi Verschelde 7 年之前
父节点
当前提交
4553c81ceb
共有 1 个文件被更改,包括 1 次插入1 次删除
  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>