Editor Scripting API
    • Finds or creates a native asset with the specified name.

      Parameters

      • nativeAssetTypeName: string

        The name of the native asset.

      • assetManager: AssetManager

        The asset manager.

      • basename: string

        The base name of the asset.

      • OptionaldestinationDir: Path

        the relative path to Assets root in the project, if searching will be limited to this directory, and the asset will be created in this directory if not found. If not provided, the search will be done in the entire project and the creation will be in the root directory.

      Returns Editor.Assets.Asset

      The found or created native asset.

    MMNEPVFCICPMFPCPTTAAATR