private void OpenHeapshot(string fileName)
{
this.heapshotReader = new HeapshotReader();
string str = this.HeapshotPath + "/" + fileName;
if (this.heapshotReader.Open(str))
{
this.lastOpenedHeapshotFile = fileName;
this.RefreshHeapshotUIObjects();
}
else
{
Debug.LogError("Failed to read " + str);
}
}