reckfellENGINE

ContentBrowser

Reckfell editor's dock for managing files in the project.

On this page
class ContentBrowserReckfellSharpEditorInherits EditorDock

Reckfell editor's dock for managing files in the project.

This class is available only in EditorPlugins and can't be instantiated. You can access it using EditorInterface.GetContentBrowser. While ContentBrowser doesn't expose any methods for file manipulation, it can listen for various file-related signals.

Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.

Methods4

AddResourceTooltipPluginvoid
# AddResourceTooltipPlugin
C#
public void AddResourceTooltipPlugin(EditorResourceTooltipPlugin plugin);

Registers a new EditorResourceTooltipPlugin.

Parameters
NameTypeDefault
pluginEditorResourceTooltipPlugin—
ChangeTreeRoleError
# ChangeTreeRole
C#
public Error ChangeTreeRole(string path, bool isScene);
Parameters
NameTypeDefault
pathstring—
isScenebool—
Returns Error
NavigateToPathvoid
# NavigateToPath
C#
public void NavigateToPath(string path);

Sets the given path as currently selected, ensuring that the selected file/directory is visible.

Parameters
NameTypeDefault
pathstring—
RemoveResourceTooltipPluginvoid
# RemoveResourceTooltipPlugin
C#
public void RemoveResourceTooltipPlugin(EditorResourceTooltipPlugin plugin);

Removes an EditorResourceTooltipPlugin. Fails if the plugin wasn't previously added.

Parameters
NameTypeDefault
pluginEditorResourceTooltipPlugin—

Signals and events10

DisplayModeChangedEvent
# DisplayModeChanged
C#
public event Action DisplayModeChanged;

Emitted when the user switches file display mode or split mode.

FileRemovedEvent
# FileRemoved
C#
public event ContentBrowser.FileRemovedEventHandler FileRemoved;

Emitted when the given file was removed.

Handler parameters
NameTypeDefault
filestring—
FilesMovedEvent
# FilesMoved
C#
public event ContentBrowser.FilesMovedEventHandler FilesMoved;

Emitted when a file is moved from old_file path to new_file path.

Handler parameters
NameTypeDefault
oldFilestring—
newFilestring—
FolderColorChangedEvent
# FolderColorChanged
C#
public event Action FolderColorChanged;

Emitted when folders change color.

FolderMovedEvent
# FolderMoved
C#
public event ContentBrowser.FolderMovedEventHandler FolderMoved;

Emitted when a folder is moved from old_folder path to new_folder path.

Handler parameters
NameTypeDefault
oldFolderstring—
newFolderstring—
FolderRemovedEvent
# FolderRemoved
C#
public event ContentBrowser.FolderRemovedEventHandler FolderRemoved;

Emitted when the given folder was removed.

Handler parameters
NameTypeDefault
folderstring—
InheritEvent
# Inherit
C#
public event ContentBrowser.InheritEventHandler Inherit;

Emitted when a new scene is created that inherits the scene at file path.

Handler parameters
NameTypeDefault
filestring—
InstantiateEvent
# Instantiate
C#
public event ContentBrowser.InstantiateEventHandler Instantiate;

Emitted when the given scenes are being instantiated in the editor.

Handler parameters
NameTypeDefault
filesstring[]—
ResourceRemovedEvent
# ResourceRemoved
C#
public event ContentBrowser.ResourceRemovedEventHandler ResourceRemoved;

Emitted when an external resource had its file removed.

Handler parameters
NameTypeDefault
resourceResource—
SelectionChangedEvent
# SelectionChanged
C#
public event Action SelectionChanged;

Emitted when the selection changes. Use EditorInterface.GetSelectedPaths in the connected method to get the selected paths.

Reckfell Engine documentationBack to top ↑
QUICK LINKSGetting startedEntity hierarchyC# & .NET 10Scenes and prefabs
Reckfell guides and full API K
reckfellENGINE
RECKFELL ACCOUNT

Sign in

Sign in to your Reckfell account.

One account for the entire Reckfell platform.