C# Class UnityHeapEx.HeapDump

Afficher le fichier Open project: Cotoff/UnityHeapEx Class Usage Examples

Méthodes publiques

Свойство Type Description
SkipEmptyTypes bool

Méthodes publiques

Méthode Description
DumpToXml ( ) : void

Collect all roots, i.e. static fields in all classes and all scripts; then dump all object hierarchy reachable from these roots to file

GatherFromRootRecursively ( object root, string depth ) : int

Works through all fields of an object, dumpoing them into xml

Private Methods

Méthode Description
DoStuff ( ) : void
GetTotalLength ( Array val ) : int
ReportField ( object root, string depth, FieldInfo fieldInfo ) : int

Dumps info on the field in xml. Provides some rough estimate on size taken by its contents, and recursively enumerates fields if this one contains an object reference.

WriteUnityObjectData ( string depth, Object uo, bool seen ) : void

Method Details

DumpToXml() public méthode

Collect all roots, i.e. static fields in all classes and all scripts; then dump all object hierarchy reachable from these roots to file
public DumpToXml ( ) : void
Résultat void

GatherFromRootRecursively() public méthode

Works through all fields of an object, dumpoing them into xml
public GatherFromRootRecursively ( object root, string depth ) : int
root object
depth string
Résultat int

Property Details

SkipEmptyTypes public_oe static_oe property

public static bool SkipEmptyTypes
Résultat bool