mirror of
https://github.com/AssetRipper/AssetRipper.git
synced 2025-12-11 20:15:29 +01:00
24 lines
777 B
C#
24 lines
777 B
C#
using AssetRipper.Assets;
|
|
using AssetRipper.Assets.Export;
|
|
using AssetRipper.Export.UnityProjects.Configuration;
|
|
using AssetRipper.Export.UnityProjects.Project.Collections;
|
|
|
|
namespace AssetRipper.Export.UnityProjects.Textures;
|
|
|
|
public sealed class TextureArrayAssetExportCollection : AssetExportCollection
|
|
{
|
|
public TextureArrayAssetExportCollection(TextureArrayAssetExporter assetExporter, IUnityObjectBase asset) : base(assetExporter, asset)
|
|
{
|
|
}
|
|
|
|
protected override string GetExportExtension(IUnityObjectBase asset)
|
|
{
|
|
return ((TextureArrayAssetExporter)AssetExporter).ImageExportFormat.GetFileExtension();
|
|
}
|
|
|
|
protected override IUnityObjectBase CreateImporter(IExportContainer container)
|
|
{
|
|
return ImporterFactory.GenerateTextureImporter(container, Asset);
|
|
}
|
|
}
|