Add heightfield geom type with Unity terrain, import not yet supported
This commit is contained in:
@@ -30,7 +30,7 @@ public class MjShapeComponentEditor : Editor {
|
||||
var shapeType = serializedObject.FindProperty("ShapeType");
|
||||
EditorGUILayout.PropertyField(shapeType);
|
||||
EditorGUILayout.PropertyField(
|
||||
serializedObject.FindProperty($"{shapeType.enumDisplayNames[shapeType.enumValueIndex]}"),
|
||||
serializedObject.FindProperty($"{shapeType.enumNames[shapeType.enumValueIndex]}"),
|
||||
includeChildren: true);
|
||||
serializedObject.ApplyModifiedProperties();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user