diff --git a/unity/Runtime/Components/Shapes/MjHeightFieldShape.cs b/unity/Runtime/Components/Shapes/MjHeightFieldShape.cs index 390de7da..002d082c 100644 --- a/unity/Runtime/Components/Shapes/MjHeightFieldShape.cs +++ b/unity/Runtime/Components/Shapes/MjHeightFieldShape.cs @@ -40,9 +40,9 @@ public class MjHeightFieldShape : IMjShape private int updateCountdown; [HideInInspector] - public float MinimumHeight; + public float MinimumHeight { get; private set; } [HideInInspector] - public float MaximumHeight; + public float MaximumHeight { get; private set; } public int HeightFieldId { get; private set; }