Class SingleExportCollection<T>
Inheritance
System.Object
SingleExportCollection<T>
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.PrimaryContent
Assembly: AssetRipper.Export.PrimaryContent.dll
Syntax
public class SingleExportCollection<T> : ExportCollectionBase where T : IUnityObjectBase
Type Parameters
Name | Description |
---|---|
T |
Constructors
| Improve this Doc View SourceSingleExportCollection(IContentExtractor, T)
Declaration
public SingleExportCollection(IContentExtractor contentExtractor, T asset)
Parameters
Type | Name | Description |
---|---|---|
IContentExtractor | contentExtractor | |
T | asset |
Properties
| Improve this Doc View SourceAsset
Declaration
public T Asset { get; }
Property Value
Type | Description |
---|---|
T |
Assets
Declaration
public override IEnumerable<IUnityObjectBase> Assets { get; }
Property Value
Type | Description |
---|---|
IEnumerable<IUnityObjectBase> |
Overrides
| Improve this Doc View SourceContentExtractor
Declaration
public override IContentExtractor ContentExtractor { get; }
Property Value
Type | Description |
---|---|
IContentExtractor |
Overrides
| Improve this Doc View SourceName
Declaration
public override string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Methods
| Improve this Doc View SourceContains(IUnityObjectBase)
Declaration
public override bool Contains(IUnityObjectBase asset)
Parameters
Type | Name | Description |
---|---|---|
IUnityObjectBase | asset |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
| Improve this Doc View SourceExport(String, FileSystem)
Declaration
public override bool Export(string projectDirectory, FileSystem fileSystem)
Parameters
Type | Name | Description |
---|---|---|
System.String | projectDirectory | |
FileSystem | fileSystem |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
| Improve this Doc View SourceExportInner(String, String, FileSystem)
Declaration
protected virtual bool ExportInner(string filePath, string dirPath, FileSystem fileSystem)
Parameters
Type | Name | Description |
---|---|---|
System.String | filePath | The full path to the exported asset destination |
System.String | dirPath | The full path to the project export directory |
FileSystem | fileSystem |
Returns
Type | Description |
---|---|
System.Boolean | True if export was successful, false otherwise |