public override void OnGUI(Rect position, SerializedProperty property, GUIContent label) { var name = property.FindPropertyRelative("dstItemUnit.itemName").stringValue; if (!string.IsNullOrWhiteSpace(name)) { label = new GUIContent(name); } PropertyDrawerUtility.DrawDefaultGUI(position, property, label); return; }