IReadOnlyList<string> FileExtensions { get; set; }

robot_2Generated
code_blocksInput

Description

Provides a list of all file extensions associated with this asset type. This property is useful for determining which file formats are supported by a particular asset type in the editor.

Usage

To access the file extensions for a specific asset type, use the FileExtensions property on an instance of Editor.AssetType. This property returns a read-only list of strings, each representing a file extension.

Example

// Example of accessing the FileExtensions property
Editor.AssetType assetType = Editor.AssetType.Model;
IReadOnlyList<string> extensions = assetType.FileExtensions;

foreach (string extension in extensions)
{
    // Process each file extension
    // For example, print them
    Console.WriteLine(extension);
}