EditorPluginAddControlToContainer Method |
Adds a custom control to a container (see EditorPluginCustomControlContainer). There are many locations where custom controls can be added in the editor UI.
Please remember that you have to manage the visibility of your custom controls yourself (and likely hide it after adding it).
When your plugin is deactivated, make sure to remove your custom control with RemoveControlFromContainer(EditorPluginCustomControlContainer, Control) and free it with QueueFree.
Namespace: Godot
public void AddControlToContainer( EditorPluginCustomControlContainer container, Control control )
[Missing <param name="container"/> documentation for "M:Godot.EditorPlugin.AddControlToContainer(Godot.EditorPlugin.CustomControlContainer,Godot.Control)"]
[Missing <param name="control"/> documentation for "M:Godot.EditorPlugin.AddControlToContainer(Godot.EditorPlugin.CustomControlContainer,Godot.Control)"]