Skip to content

Commit abe1b4b

Browse files
Update workspace list in various files
1 parent 30bb49e commit abe1b4b

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

doc/classes/EditorInterface.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@
438438
<return type="void" />
439439
<param index="0" name="name" type="String" />
440440
<description>
441-
Sets the editor's current main screen to the one specified in [param name]. [param name] must match the title of the tab in question exactly (e.g. [code]2D[/code], [code]3D[/code], [code skip-lint]Script[/code], or [code]AssetLib[/code] for default tabs).
441+
Sets the editor's current main screen to the one specified in [param name]. [param name] must match the title of the tab in question exactly (e.g. [code]2D[/code], [code]3D[/code], [code skip-lint]Script[/code], [code]Game[/code], or [code]AssetLib[/code] for default tabs).
442442
</description>
443443
</method>
444444
<method name="set_plugin_enabled">

doc/classes/EditorPlugin.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@
234234
<return type="Texture2D" />
235235
<description>
236236
Override this method in your plugin to return a [Texture2D] in order to give it an icon.
237-
For main screen plugins, this appears at the top of the screen, to the right of the "2D", "3D", "Script", and "AssetLib" buttons.
237+
For main screen plugins, this appears at the top of the screen, to the right of the "2D", "3D", "Script", "Game", and "AssetLib" buttons.
238238
Ideally, the plugin icon should be white with a transparent background and 16×16 pixels in size.
239239
[codeblocks]
240240
[gdscript]
@@ -260,7 +260,7 @@
260260
<return type="String" />
261261
<description>
262262
Override this method in your plugin to provide the name of the plugin when displayed in the Godot editor.
263-
For main screen plugins, this appears at the top of the screen, to the right of the "2D", "3D", "Script", and "AssetLib" buttons.
263+
For main screen plugins, this appears at the top of the screen, to the right of the "2D", "3D", "Script", "Game", and "AssetLib" buttons.
264264
</description>
265265
</method>
266266
<method name="_get_state" qualifiers="virtual const">
@@ -329,7 +329,7 @@
329329
<method name="_has_main_screen" qualifiers="virtual const">
330330
<return type="bool" />
331331
<description>
332-
Returns [code]true[/code] if this is a main screen editor plugin (it goes in the workspace selector together with [b]2D[/b], [b]3D[/b], [b]Script[/b] and [b]AssetLib[/b]).
332+
Returns [code]true[/code] if this is a main screen editor plugin (it goes in the workspace selector together with [b]2D[/b], [b]3D[/b], [b]Script[/b], [b]Game[/b], and [b]AssetLib[/b]).
333333
When the plugin's workspace is selected, other main screen plugins will be hidden, but your plugin will not appear automatically. It needs to be added as a child of [method EditorInterface.get_editor_main_screen] and made visible inside [method _make_visible].
334334
Use [method _get_plugin_name] and [method _get_plugin_icon] to customize the plugin button's appearance.
335335
[codeblock]
@@ -784,7 +784,7 @@
784784
<signal name="main_screen_changed">
785785
<param index="0" name="screen_name" type="String" />
786786
<description>
787-
Emitted when user changes the workspace ([b]2D[/b], [b]3D[/b], [b]Script[/b], [b]AssetLib[/b]). Also works with custom screens defined by plugins.
787+
Emitted when user changes the workspace ([b]2D[/b], [b]3D[/b], [b]Script[/b], [b]Game[/b], [b]AssetLib[/b]). Also works with custom screens defined by plugins.
788788
</description>
789789
</signal>
790790
<signal name="project_settings_changed" deprecated="Use [signal ProjectSettings.settings_changed] instead.">

doc/classes/EditorSettings.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -890,7 +890,7 @@
890890
If [code]true[/code], scenes and scripts are saved when the editor loses focus. Depending on the work flow, this behavior can be less intrusive than [member text_editor/behavior/files/autosave_interval_secs] or remembering to save manually.
891891
</member>
892892
<member name="interface/editor/separate_distraction_mode" type="bool" setter="" getter="">
893-
If [code]true[/code], the editor's Script tab will have a separate distraction mode setting from the 2D/3D/AssetLib tabs. If [code]false[/code], the distraction-free mode toggle is shared between all tabs.
893+
If [code]true[/code], the editor's Script tab will have a separate distraction mode setting from the 2D/3D/Game/AssetLib tabs. If [code]false[/code], the distraction-free mode toggle is shared between all tabs.
894894
</member>
895895
<member name="interface/editor/show_internal_errors_in_toast_notifications" type="int" setter="" getter="">
896896
If enabled, displays internal engine errors in toast notifications (toggleable by clicking the "bell" icon at the bottom of the editor). No matter the value of this setting, non-internal engine errors will always be visible in toast notifications.

editor/editor_interface.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -741,7 +741,7 @@ void EditorInterface::get_argument_options(const StringName &p_function, int p_i
741741
const String pf = p_function;
742742
if (p_idx == 0) {
743743
if (pf == "set_main_screen_editor") {
744-
for (String E : { "\"2D\"", "\"3D\"", "\"Script\"", "\"AssetLib\"" }) {
744+
for (String E : { "\"2D\"", "\"3D\"", "\"Script\"", "\"Game\"", "\"AssetLib\"" }) {
745745
r_options->push_back(E);
746746
}
747747
} else if (pf == "get_editor_viewport_3d") {

0 commit comments

Comments
 (0)