Show / Hide Table of Contents

Class AssetsExportCollection<T>

A collection of assets that are exported together.

Inheritance
System.Object
ExportCollection
AssetExportCollection<T>
AssetsExportCollection<T>
AnimatorControllerExportCollection
AudioMixerExportCollection
FontAssetExportCollection
PrefabExportCollection
TerrainYamlExportCollection
TextureExportCollection
Implements
IExportCollection
Inherited Members
AssetExportCollection<T>.Export(IExportContainer, String, FileSystem)
AssetExportCollection<T>.CreateExportPointer(IExportContainer, IUnityObjectBase, Boolean)
AssetExportCollection<T>.CreateImporter(IExportContainer)
AssetExportCollection<T>.GUID
AssetExportCollection<T>.AssetExporter
AssetExportCollection<T>.Name
AssetExportCollection<T>.Asset
ExportCollection.ExportMeta(IExportContainer, Meta, String, FileSystem)
ExportCollection.ExportAsset(IExportContainer, IUnityObjectBase, IUnityObjectBase, String, String, FileSystem)
ExportCollection.GetUniqueFileName(IUnityObjectBase, String, FileSystem)
ExportCollection.GetUniqueFileName(String, String, FileSystem)
ExportCollection.GetExportExtension(IUnityObjectBase)
ExportCollection.Flags
ExportCollection.ExportableAssets
ExportCollection.AssetExtension
ExportCollection.AssetsKeyword
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: AssetRipper.Export.UnityProjects.Project
Assembly: AssetRipper.Export.UnityProjects.dll
Syntax
public abstract class AssetsExportCollection<T> : AssetExportCollection<T>, IExportCollection where T : IUnityObjectBase
Type Parameters
Name Description
T

The type of Asset.

Constructors

| Improve this Doc View Source

AssetsExportCollection(IAssetExporter, T)

Declaration
public AssetsExportCollection(IAssetExporter assetExporter, T asset)
Parameters
Type Name Description
IAssetExporter assetExporter
T asset

Fields

| Improve this Doc View Source

m_file

Declaration
protected AssetCollection m_file
Field Value
Type Description
AssetCollection

Properties

| Improve this Doc View Source

Assets

Declaration
public override IEnumerable<IUnityObjectBase> Assets { get; }
Property Value
Type Description
IEnumerable<IUnityObjectBase>
Overrides
AssetRipper.Export.UnityProjects.AssetExportCollection<T>.Assets
| Improve this Doc View Source

File

Declaration
public override AssetCollection File { get; }
Property Value
Type Description
AssetCollection
Overrides
AssetRipper.Export.UnityProjects.AssetExportCollection<T>.File

Methods

| Improve this Doc View Source

AddAsset(IUnityObjectBase)

Add an asset to this export collection.

Declaration
protected bool AddAsset(IUnityObjectBase asset)
Parameters
Type Name Description
IUnityObjectBase asset

The asset to be added to this export collection.

Returns
Type Description
System.Boolean

true if the asset is added to the object; false if the asset is already present.

| Improve this Doc View Source

AddAssets(IEnumerable<IUnityObjectBase>)

Declaration
protected void AddAssets(IEnumerable<IUnityObjectBase> assets)
Parameters
Type Name Description
IEnumerable<IUnityObjectBase> assets
| Improve this Doc View Source

Contains(IUnityObjectBase)

Declaration
public override bool Contains(IUnityObjectBase asset)
Parameters
Type Name Description
IUnityObjectBase asset
Returns
Type Description
System.Boolean
Overrides
AssetRipper.Export.UnityProjects.AssetExportCollection<T>.Contains(AssetRipper.Assets.IUnityObjectBase)
| Improve this Doc View Source

ExportInner(IExportContainer, String, String, FileSystem)

Declaration
protected override bool ExportInner(IExportContainer container, string filePath, string dirPath, FileSystem fileSystem)
Parameters
Type Name Description
IExportContainer container
System.String filePath
System.String dirPath
FileSystem fileSystem
Returns
Type Description
System.Boolean
Overrides
AssetRipper.Export.UnityProjects.AssetExportCollection<T>.ExportInner(AssetRipper.Export.UnityProjects.IExportContainer, System.String, System.String, FileSystem)
| Improve this Doc View Source

GenerateExportID(IUnityObjectBase)

Declaration
protected virtual long GenerateExportID(IUnityObjectBase asset)
Parameters
Type Name Description
IUnityObjectBase asset
Returns
Type Description
System.Int64
| Improve this Doc View Source

GetExportID(IExportContainer, IUnityObjectBase)

Declaration
public override long GetExportID(IExportContainer container, IUnityObjectBase asset)
Parameters
Type Name Description
IExportContainer container
IUnityObjectBase asset
Returns
Type Description
System.Int64
Overrides
AssetRipper.Export.UnityProjects.AssetExportCollection<T>.GetExportID(AssetRipper.Export.UnityProjects.IExportContainer, AssetRipper.Assets.IUnityObjectBase)

Implements

IExportCollection
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾