Interface IUnityAssetBase
Inherited Members
AssetRipper.IO.Endian.IEndianSpanReadable.ReadEditor(AssetRipper.IO.Endian.EndianSpanReader)
AssetRipper.IO.Endian.IEndianSpanReadable.ReadRelease(AssetRipper.IO.Endian.EndianSpanReader)
Namespace: AssetRipper.Assets
Assembly: AssetRipper.Assets.dll
Syntax
public interface IUnityAssetBase : IEndianSpanReadable, IAssetWritable
Properties
| Improve this Doc View SourceFlowMappedInYaml
Declaration
bool FlowMappedInYaml { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
SerializedVersion
Declaration
int SerializedVersion { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
| Improve this Doc View SourceAddToEqualityComparer(IUnityAssetBase, AssetEqualityComparer)
Compares this object to another object for deep value equality.
Declaration
bool? AddToEqualityComparer(IUnityAssetBase other, AssetEqualityComparer comparer)
Parameters
Type | Name | Description |
---|---|---|
IUnityAssetBase | other | The other object. |
AssetEqualityComparer | comparer | The AssetEqualityComparer to which any dependent comparisons are added. |
Returns
Type | Description |
---|---|
System.Nullable<System.Boolean> | Null if it could not be immediately determined |
Remarks
other
is expected to be not null and of the same type as this object.
CopyValues(IUnityAssetBase, PPtrConverter)
Declaration
void CopyValues(IUnityAssetBase source, PPtrConverter converter)
Parameters
Type | Name | Description |
---|---|---|
IUnityAssetBase | source | |
AssetRipper.Assets.Cloning.PPtrConverter | converter |
FetchDependencies()
Declaration
IEnumerable<(string, PPtr)> FetchDependencies()
Returns
Type | Description |
---|---|
IEnumerable<System.ValueTuple<System.String, AssetRipper.Assets.Metadata.PPtr>> |
IgnoreFieldInMetaFiles(String)
Declaration
bool IgnoreFieldInMetaFiles(string fieldName)
Parameters
Type | Name | Description |
---|---|---|
System.String | fieldName | The field's name, according to the original naming. |
Returns
Type | Description |
---|---|
System.Boolean | True if the field should not be emitted in yaml meta files. |
Reset()
Declaration
void Reset()
WalkEditor(AssetWalker)
Walk this asset using original naming.
Declaration
void WalkEditor(AssetWalker walker)
Parameters
Type | Name | Description |
---|---|---|
AssetWalker | walker | A walker for traversal. |
WalkRelease(AssetWalker)
Walk this asset using original naming.
Declaration
void WalkRelease(AssetWalker walker)
Parameters
Type | Name | Description |
---|---|---|
AssetWalker | walker | A walker for traversal. |
WalkStandard(AssetWalker)
Walk this asset using standardized naming.
Declaration
void WalkStandard(AssetWalker walker)
Parameters
Type | Name | Description |
---|---|---|
AssetWalker | walker | A walker for traversal. |