Description
The Category
property of the Editor.AssetType
class represents the category of the asset type. This property is used for grouping asset types in the user interface, allowing for better organization and navigation within the asset browser or other UI components.
Usage
Use the Category
property to retrieve or set the category name for a specific asset type. This can help in organizing assets into logical groups, making it easier for users to find and manage assets within the editor.
Example
// Example of setting the Category property for a custom asset type
var customAssetType = new Editor.AssetType();
customAssetType.Category = "Custom Models";
// Example of retrieving the Category property
string category = customAssetType.Category;
Console.WriteLine($"Asset Category: {category}");