Class AssetsExportCollection<T>
A collection of assets that are exported together.
Inheritance
System.Object
AssetsExportCollection<T>
Implements
Inherited Members
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 SourceAssetsExportCollection(IAssetExporter, T)
Declaration
public AssetsExportCollection(IAssetExporter assetExporter, T asset)
Parameters
Type | Name | Description |
---|---|---|
IAssetExporter | assetExporter | |
T | asset |
Fields
| Improve this Doc View Sourcem_file
Declaration
protected AssetCollection m_file
Field Value
Type | Description |
---|---|
AssetCollection |
Properties
| Improve this Doc View SourceAssets
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 SourceAddAsset(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 |
AddAssets(IEnumerable<IUnityObjectBase>)
Declaration
protected void AddAssets(IEnumerable<IUnityObjectBase> assets)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<IUnityObjectBase> | assets |
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 |
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)