コード例 #1
0
        static public void Inspect(PackedMemorySnapshot snapshot, PackedManagedObject managedObject)
        {
            var wnd = MemoryWindow.CreateInstance <ManagedObjectInspectorWindow>();

            wnd.InspectInternal(snapshot, managedObject);
            wnd.ShowUtility();
        }
コード例 #2
0
        static public void Inspect(PackedMemorySnapshot memory, System.UInt64 address, System.UInt64 size)
        {
            var wnd = MemoryWindow.CreateInstance <MemoryWindow>();

            wnd.InspectInternal(memory, address, size);
            wnd.ShowUtility();
        }
コード例 #3
0
            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);
            }