From b93c71358b701e630d6e37311e35cb7d71da6c9e Mon Sep 17 00:00:00 2001 From: Vladimir Garnovsky <39696331+vladimir-garnovski@users.noreply.github.com> Date: Thu, 20 Aug 2026 22:20:49 +0200 Subject: [PATCH 1/3] Correction for example C# code in 'A custom dock' Code has two errors: _dock.DefaultSlot = DockSlot.LeftUl; _dock.AvailableLayouts = DockLayout.Horizontal | DockLayout.Floating; Lines corrected to the proper types: _dock.DefaultSlot = EditorDock.DockSlot.LeftUl; _dock.AvailableLayouts = EditorDock.DockLayout.Horizontal | EditorDock.DockLayout.Floating; --- tutorials/plugins/editor/making_plugins.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tutorials/plugins/editor/making_plugins.rst b/tutorials/plugins/editor/making_plugins.rst index eae528f81..f89acca96 100644 --- a/tutorials/plugins/editor/making_plugins.rst +++ b/tutorials/plugins/editor/making_plugins.rst @@ -371,7 +371,7 @@ The script could look like this: .. code-tab:: csharp - #if TOOLS +#if TOOLS using Godot; [Tool] @@ -390,10 +390,10 @@ The script could look like this: _dock.Title = "My Dock"; // Note that LeftUl means the left of the editor, upper-left dock. - _dock.DefaultSlot = DockSlot.LeftUl; + _dock.DefaultSlot = EditorDock.DockSlot.LeftUl; //DockSlot.LeftUl; // Allow the dock to be on the left or right of the editor, and to be made floating. - _dock.AvailableLayouts = DockLayout.Horizontal | DockLayout.Floating; + _dock.AvailableLayouts = EditorDock.DockLayout.Horizontal | EditorDock.DockLayout.Floating; AddDock(_dock); } From e1d057ee5bcd02c8334d17fbc0090cf4a8417548 Mon Sep 17 00:00:00 2001 From: Vladimir Garnovsky <39696331+vladimir-garnovski@users.noreply.github.com> Date: Fri, 21 Aug 2026 07:50:47 +0200 Subject: [PATCH 2/3] Update making_plugins.rst Returning the indentation. --- tutorials/plugins/editor/making_plugins.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorials/plugins/editor/making_plugins.rst b/tutorials/plugins/editor/making_plugins.rst index f89acca96..fb23a50bf 100644 --- a/tutorials/plugins/editor/making_plugins.rst +++ b/tutorials/plugins/editor/making_plugins.rst @@ -371,7 +371,7 @@ The script could look like this: .. code-tab:: csharp -#if TOOLS + #if TOOLS using Godot; [Tool] From 41b6d71d0ea3bab4ce74389bc2dd208c3df674a9 Mon Sep 17 00:00:00 2001 From: Vladimir Garnovsky <39696331+vladimir-garnovski@users.noreply.github.com> Date: Fri, 21 Aug 2026 07:52:48 +0200 Subject: [PATCH 3/3] Update making_plugins.rst Indentation, comment removal --- tutorials/plugins/editor/making_plugins.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorials/plugins/editor/making_plugins.rst b/tutorials/plugins/editor/making_plugins.rst index fb23a50bf..5e284aa17 100644 --- a/tutorials/plugins/editor/making_plugins.rst +++ b/tutorials/plugins/editor/making_plugins.rst @@ -390,7 +390,7 @@ The script could look like this: _dock.Title = "My Dock"; // Note that LeftUl means the left of the editor, upper-left dock. - _dock.DefaultSlot = EditorDock.DockSlot.LeftUl; //DockSlot.LeftUl; + _dock.DefaultSlot = EditorDock.DockSlot.LeftUl; // Allow the dock to be on the left or right of the editor, and to be made floating. _dock.AvailableLayouts = EditorDock.DockLayout.Horizontal | EditorDock.DockLayout.Floating;