mirror of
https://github.com/maxartz15/MA_TextureAtlasser.git
synced 2025-07-08 01:06:07 +02:00
Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
05b4ea9f80 | |||
0933abdace |
@ -109,7 +109,8 @@ namespace MA_TextureAtlasserPro
|
|||||||
}
|
}
|
||||||
|
|
||||||
SerializedProperty meshesSP = modelGroupsSP.GetArrayElementAtIndex(i).FindPropertyRelative("meshes");
|
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
|
#else
|
||||||
EditorGUILayout.PropertyField(meshesSP, false, GUILayout.ExpandWidth(false), GUILayout.MaxWidth(editorViewRect.width * 0.5f));
|
EditorGUILayout.PropertyField(meshesSP, false, GUILayout.ExpandWidth(false), GUILayout.MaxWidth(editorViewRect.width * 0.5f));
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user