Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetAllImporters()

Gets all Android asset pack importers.
Read time 1 minuteLast updated 10 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static AndroidAssetPackImporter[] GetAllImporters()

Returns

Type

Description

AndroidAssetPackImporter[]Returns an array with all Android asset pack importers.

Examples

using UnityEditor;using UnityEngine;public class GetAllImportersExample{ [MenuItem("Tools/GetAllImportersExample")] static void Example() { //Get all asset pack importers var importers = AndroidAssetPackImporter.GetAllImporters(); foreach (var importer in importers) { Debug.Log($"Asset pack importer found at: {importer.assetPath}"); } }}