Show / Hide Table of Contents

Class UnityObjectBase

The artificial base class for all generated Unity classes which inherit from Object.

Inheritance
System.Object
UnityAssetBase
UnityObjectBase
NullObject
AssetGroup
JsonAsset
Implements
IUnityObjectBase
IUnityAssetBase
AssetRipper.IO.Endian.IEndianSpanReadable
IAssetWritable
Inherited Members
UnityAssetBase.SerializedVersion
UnityAssetBase.FlowMappedInYaml
UnityAssetBase.IgnoreFieldInMetaFiles(String)
UnityAssetBase.ReadEditor(EndianSpanReader)
UnityAssetBase.ReadRelease(EndianSpanReader)
UnityAssetBase.WriteEditor(AssetWriter)
UnityAssetBase.WriteRelease(AssetWriter)
UnityAssetBase.FetchDependencies()
UnityAssetBase.ToString()
UnityAssetBase.Reset()
UnityAssetBase.CopyValues(IUnityAssetBase, PPtrConverter)
UnityAssetBase.WalkEditor(AssetWalker)
UnityAssetBase.WalkRelease(AssetWalker)
UnityAssetBase.WalkStandard(AssetWalker)
UnityAssetBase.AddToEqualityComparer(IUnityAssetBase, AssetEqualityComparer)
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)
Namespace: AssetRipper.Assets
Assembly: AssetRipper.Assets.dll
Syntax
public abstract class UnityObjectBase : UnityAssetBase, IUnityObjectBase, IUnityAssetBase, IEndianSpanReadable, IAssetWritable

Constructors

| Improve this Doc View Source

UnityObjectBase(AssetInfo)

Declaration
protected UnityObjectBase(AssetInfo assetInfo)
Parameters
Type Name Description
AssetRipper.Assets.Metadata.AssetInfo assetInfo

Properties

| Improve this Doc View Source

AssetBundleName

The name of the asset bundle containing this asset.

Declaration
public string AssetBundleName { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

AssetInfo

Declaration
public AssetInfo AssetInfo { get; }
Property Value
Type Description
AssetRipper.Assets.Metadata.AssetInfo
| Improve this Doc View Source

ClassID

Declaration
public int ClassID { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

ClassName

Declaration
public virtual string ClassName { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Collection

Declaration
public AssetCollection Collection { get; }
Property Value
Type Description
AssetCollection
| Improve this Doc View Source

MainAsset

Declaration
public IUnityObjectBase MainAsset { get; set; }
Property Value
Type Description
IUnityObjectBase
| Improve this Doc View Source

OriginalDirectory

The original directory of this object, if known.

Declaration
public string OriginalDirectory { get; set; }
Property Value
Type Description
System.String
Remarks

The path is relative to the project root and may use forward or back slashes. This will never be the empty string.

| Improve this Doc View Source

OriginalExtension

The original file extension of this object, if known.

Declaration
public string OriginalExtension { get; set; }
Property Value
Type Description
System.String
Remarks

This will never be the empty string.

| Improve this Doc View Source

OriginalName

The original file name of this object, if known.

Declaration
public string OriginalName { get; set; }
Property Value
Type Description
System.String
Remarks

This will never be the empty string.

| Improve this Doc View Source

OriginalPath

The original path of this object, if known.

Declaration
public string OriginalPath { get; set; }
Property Value
Type Description
System.String
Remarks

The path is relative to the project root and may use forward or back slashes. This will never be the empty string.

| Improve this Doc View Source

OverrideDirectory

The directory of this object, if chosen.

Declaration
public string OverrideDirectory { get; set; }
Property Value
Type Description
System.String
Remarks

The path is relative to the project root and may use forward or back slashes. This will never be the empty string.

| Improve this Doc View Source

OverrideExtension

The file extension of this object, if chosen.

Declaration
public string OverrideExtension { get; set; }
Property Value
Type Description
System.String
Remarks

This will never be the empty string.

| Improve this Doc View Source

OverrideName

The file name of this object, if chosen.

Declaration
public string OverrideName { get; set; }
Property Value
Type Description
System.String
Remarks

This will never be the empty string.

| Improve this Doc View Source

OverridePath

The path of this object, if chosen.

Declaration
public string OverridePath { get; set; }
Property Value
Type Description
System.String
Remarks

The path is relative to the project root and may use forward or back slashes. This will never be the empty string.

| Improve this Doc View Source

PathID

Declaration
public long PathID { get; }
Property Value
Type Description
System.Int64

Implements

IUnityObjectBase
IUnityAssetBase
AssetRipper.IO.Endian.IEndianSpanReadable
IAssetWritable

Extension Methods

UnityAssetBaseExtensions.Read(IUnityAssetBase, ref EndianSpanReader, TransferInstructionFlags)
UnityObjectBaseExtensions.Read(IUnityObjectBase, ref EndianSpanReader)
AssetWritableExtensions.Write(IAssetWritable, AssetWriter)
AssetWritableExtensions.Write(IAssetWritable, AssetWriter, TransferInstructionFlags)
PathExtensions.GetPath(IUnityObjectBase)
UnityObjectBaseExtensions.GetOriginalName(IUnityObjectBase)
UnityObjectBaseExtensions.TryGetName(IUnityObjectBase)
UnityObjectBaseExtensions.GetLogString(IUnityObjectBase)
TraversalHelperMethods.WalkPrimitiveField<TPrimitive>(IUnityAssetBase, AssetWalker, TPrimitive, String)
TraversalHelperMethods.WalkPrimitiveListField<TPrimitive>(IUnityAssetBase, AssetWalker, AssetList<TPrimitive>, String)
TraversalHelperMethods.WalkPPtrField<TAsset>(IUnityAssetBase, AssetWalker, IPPtr<TAsset>, String)
TraversalHelperMethods.WalkPPtrField<TAsset>(IUnityAssetBase, AssetWalker, PPtr<TAsset>, String)
TraversalHelperMethods.WalkPPtrField<TAsset>(IUnityObjectBase, AssetWalker, TAsset, String)
TraversalHelperMethods.VisitPPtr<TAsset>(IUnityObjectBase, AssetWalker, TAsset)
TraversalHelperMethods.WalkPPtrListField<TAsset>(IUnityAssetBase, AssetWalker, IReadOnlyList<IPPtr<TAsset>>, String)
TraversalHelperMethods.WalkPPtrListField<TAsset>(IUnityAssetBase, AssetWalker, IReadOnlyList<PPtr<TAsset>>, String)
TraversalHelperMethods.WalkPPtrListField<TAsset>(IUnityObjectBase, AssetWalker, IReadOnlyList<TAsset>, String)
TraversalHelperMethods.WalkDictionaryPPtrField<TKey, TValue>(IUnityAssetBase, AssetWalker, IReadOnlyCollection<KeyValuePair<PPtr<TKey>, PPtr<TValue>>>, String)
TraversalHelperMethods.WalkDictionaryPPtrField<TKey, TValue>(IUnityObjectBase, AssetWalker, IReadOnlyCollection<KeyValuePair<TKey, TValue>>, String)
TraversalHelperMethods.WalkStandardAssetField<TAsset>(IUnityAssetBase, AssetWalker, TAsset, String)
TraversalHelperMethods.WalkStandardAssetListField<TAsset>(IUnityAssetBase, AssetWalker, AssetList<TAsset>, String)
StrippedAssetExtensions.IsStripped(IUnityObjectBase)
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾