EditorPluginAddControlToDock Method |
Adds the control to a specific dock slot (see EditorPluginDockSlot for options).
If the dock is repositioned and as long as the plugin is active, the editor will save the dock position on further sessions.
When your plugin is deactivated, make sure to remove your custom control with RemoveControlFromDocks(Control) and free it with QueueFree.
Namespace: Godot
public void AddControlToDock( EditorPluginDockSlot slot, Control control )
[Missing <param name="slot"/> documentation for "M:Godot.EditorPlugin.AddControlToDock(Godot.EditorPlugin.DockSlot,Godot.Control)"]
[Missing <param name="control"/> documentation for "M:Godot.EditorPlugin.AddControlToDock(Godot.EditorPlugin.DockSlot,Godot.Control)"]