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.
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.
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 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); }