robot_2Generated
code_blocksInput

Description

The All property provides a collection of all currently registered asset types within the editor. This includes base asset types such as models, textures, animations, and more. It is a static property, meaning it can be accessed without instantiating the AssetType class.

Usage

Use the All property to retrieve a read-only collection of all asset types available in the editor. This can be useful for iterating over asset types to perform operations such as filtering or categorizing assets.

Example

// Example: Iterating over all registered asset types
foreach (var assetType in Editor.AssetType.All)
{
    Console.WriteLine($"Asset Type: {assetType.FriendlyName}");
}