Class RawAssetImporterBase<TAsset>
public abstract class RawAssetImporterBase<TAsset> : AssetImporterBase, IAssetImporter where TAsset : Asset, IAssetWithSource, new()
Type Parameters
TAsset
- Inheritance
-
RawAssetImporterBase<TAsset>
- Implements
- Derived
- Inherited Members
Properties
RootAssetTypes
Gets the types of asset that are mainly generated by this importer.
public override sealed IEnumerable<Type> RootAssetTypes { get; }
Property Value
Methods
Import(UFile, AssetImporterParameters)
Imports a raw assets from the specified path into the specified package.
public override sealed IEnumerable<AssetItem> Import(UFile rawAssetPath, AssetImporterParameters importParameters)
Parameters
rawAssetPath
UFileThe path to a raw asset on the disk.
importParameters
AssetImporterParametersThe parameters. It is mandatory to call GetDefaultParameters(bool) and pass the parameters instance here