Editor Scripting API
    • Finds an asset in the asset manager based on the specified type, name, and optional parent directory.

      Parameters

      • assetManager: AssetManager
      • assetType: string

        The type of the asset to find.

      • assetName: string

        The name of the asset to find.

      • OptionalparentDir: Path

        (Optional) The parent directory of the asset. If provided, the asset's source path must match this directory.

      Returns Editor.Assets.Asset[]

      An array of assets that match the specified criteria.

    MMNEPVFCICPMFPCPTTAAATR