예제 #1
0
            public override void OnGUI(Rect position, int column)
            {
                if (column == 0)
                {
                    HeEditorGUI.ManagedTypeIcon(HeEditorGUI.SpaceL(ref position, position.height), m_Type.packed);
                }

                switch ((Column)column)
                {
                case Column.Name:
                    HeEditorGUI.TypeName(position, typeName);
                    break;

                case Column.Size:
                    HeEditorGUI.Size(position, size);
                    break;

                case Column.ValueType:
                    EditorGUI.ToggleLeft(position, GUIContent.none, isValueType);
                    break;

                case Column.AssemblyName:
                    HeEditorGUI.AssemblyName(position, assemblyName);
                    break;
                }
            }