public override void OnGUI(Rect position, int column) { if (column == 0 && this.icon != null) { GUI.Box(HeEditorGUI.SpaceL(ref position, position.height), this.icon, HeEditorStyles.iconStyle); } switch ((EColumn)column) { case EColumn.Type: HeEditorGUI.TypeName(position, displayName ?? k_UnknownTypeString); break; case EColumn.SizeA: HeEditorGUI.Size(position, size[0]); break; case EColumn.SizeB: HeEditorGUI.Size(position, size[1]); break; case EColumn.SizeDiff: HeEditorGUI.SizeDiff(position, sizeDiff); break; case EColumn.CountA: HeEditorGUI.Count(position, count[0]); break; case EColumn.CountB: HeEditorGUI.Count(position, count[1]); break; case EColumn.CountDiff: HeEditorGUI.CountDiff(position, countDiff); break; } }