IReadOnlyList<string> FileExtensions { get; set; }

book_4_sparkGenerated
code_blocksInput

Description

The FileExtensions property provides a read-only list of all file extensions associated with a specific asset type in the editor. This property is useful for determining which file formats are supported by a particular asset type, allowing for better file management and filtering within the editor environment.

Usage

To access the FileExtensions property, you need to have an instance of the AssetType class. Once you have the instance, you can retrieve the list of file extensions by simply accessing the property.

Example

// Example of accessing the FileExtensions property

// Assume 'assetType' is an instance of Editor.AssetType
var fileExtensions = assetType.FileExtensions;

// Iterate through the file extensions
foreach (var extension in fileExtensions)
{
    // Process each extension
    Console.WriteLine(extension);
}