static public void Inspect(PackedMemorySnapshot snapshot, PackedManagedObject managedObject) { var wnd = MemoryWindow.CreateInstance <ManagedObjectInspectorWindow>(); wnd.InspectInternal(snapshot, managedObject); wnd.ShowUtility(); }
static public void Inspect(PackedMemorySnapshot memory, System.UInt64 address, System.UInt64 size) { var wnd = MemoryWindow.CreateInstance <MemoryWindow>(); wnd.InspectInternal(memory, address, size); wnd.ShowUtility(); }
public override void OnGUI(Rect position, int column) { if (column == 0) { if (HeEditorGUI.CsButton(HeEditorGUI.SpaceL(ref position, position.height))) { MemoryWindow.Inspect(m_Snapshot, address, size); } } base.OnGUI(position, column); }