Vixen
02b45cc4
csharp
public sealed class ImporterRegistry

Which importer claims a file.

Read the guide page for this →

Remarks

Told, never discovered. An assembly scan looking for [Importer] would read metadata that a trimmed publish has already deleted, and would make "which importers does this build have" a question with a different answer in the editor and in the asset compiler. Registration is a line of code where the importers are decided.

Two importers claiming one extension is an error naming both, rather than last-one-wins. The alternative is an artist's PNG being imported as a cubemap because a plugin loaded in a different order today.

Fields and properties (3)

  • public int Count

    How many importers are registered.

  • public IReadOnlyCollection<IAssetImporter> Importers

    Everything registered.

  • public IAssetImporter? Fallback

    The one that takes anything nothing else claimed, or .

Methods (4)

Used by (14)

  • AssetEditorRegistryTestsVixen.Editor.AssetEditors.Tests
  • AssetPickerVixen.Editor.App
  • BuiltInImportersVixen.Editor.Assets
  • CreateMenuTestsVixen.Editor.App.Tests
  • EditorScriptTestsVixen.Editor.Scripts.Tests
  • ImportPipelineVixen.Editor.Assets
  • ImportPipelineTestsVixen.Editor.Assets.Tests
  • ImporterContributionTestsVixen.Editor.Assets.Tests
  • ImporterContributionsVixen.Editor.Assets
  • ImporterRegistryTestsVixen.Editor.Assets.Tests
  • InProcessImportExecutorVixen.Editor.Assets
  • ProjectVixen.Cli
  • ProjectWorkspaceVixen.Editor.Assets
  • TextureImporterTestsVixen.Editor.Assets.Tests