From 0b413656b8592239f934feea2c33d50643f63596 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=A1lint=20Hodossy?= Date: Thu, 7 Dec 2023 14:02:21 +0000 Subject: [PATCH] Restrict access to height range properties of the HField shape --- unity/Runtime/Components/Shapes/MjHeightFieldShape.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }