2 Commits
1.8.3 ... 1.8.4

Author SHA1 Message Date
max
05b4ea9f80 Update MA_TextureAtlasserProInspectorView.cs
Fix 2020.2+ mesh input fields.
2021-04-08 23:51:05 +02:00
max
0933abdace Update MA_TextureAtlasserProInspectorView.cs 2021-04-03 17:09:27 +02:00

View File

@ -109,7 +109,8 @@ namespace MA_TextureAtlasserPro
}
SerializedProperty meshesSP = modelGroupsSP.GetArrayElementAtIndex(i).FindPropertyRelative("meshes");
#if UNITY_2020_2
#if UNITY_2020_2_OR_NEWER
meshesSP.isExpanded = EditorGUILayout.Foldout(meshesSP.isExpanded, "Meshes", true);
#else
EditorGUILayout.PropertyField(meshesSP, false, GUILayout.ExpandWidth(false), GUILayout.MaxWidth(editorViewRect.width * 0.5f));
#endif