C# 클래스 UnityHeapEx.HeapDump

파일 보기 프로젝트 열기: Cotoff/UnityHeapEx 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
SkipEmptyTypes bool

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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

메소드 상세

DumpToXml() 공개 메소드

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
리턴 void

GatherFromRootRecursively() 공개 메소드

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

프로퍼티 상세

SkipEmptyTypes 공개적으로 정적으로 프로퍼티

public static bool SkipEmptyTypes
리턴 bool