string RootTitle { get; set; }

book_4_sparkGenerated
code_blocksInput

Description

The RootTitle property of the Editor.AssetBrowserLocation class represents the title of the root directory in the asset browser. This property is a string and provides a user-friendly name for the root location, which can be displayed in the user interface of the asset browser.

Usage

Use the RootTitle property to retrieve or set the title of the root directory in the asset browser. This can be useful when you want to customize the display name of the root directory in the editor's asset browser interface.

Example

// Example of accessing the RootTitle property

// Assume assetBrowserLocation is an instance of Editor.AssetBrowserLocation
Editor.AssetBrowserLocation assetBrowserLocation = new Editor.AssetBrowserLocation();

// Get the current root title
string currentRootTitle = assetBrowserLocation.RootTitle;

// Set a new root title
assetBrowserLocation.RootTitle = "My Custom Root Title";

// Output the root title
string rootTitle = assetBrowserLocation.RootTitle;
// Use rootTitle in your application logic