From 7d8dd9b11534ecc5a353d7e819fd195648efe6a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dino=20Fejzagi=C4=87?= Date: Sat, 27 Jul 2024 16:40:01 +0200 Subject: [PATCH] Fix public members of lever should not be public --- Runtime/Input/InteractionBehaviours/LeverBehaviour.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Runtime/Input/InteractionBehaviours/LeverBehaviour.cs b/Runtime/Input/InteractionBehaviours/LeverBehaviour.cs index 84d5d066..6c61b29f 100644 --- a/Runtime/Input/InteractionBehaviours/LeverBehaviour.cs +++ b/Runtime/Input/InteractionBehaviours/LeverBehaviour.cs @@ -79,13 +79,13 @@ private enum ValueMapping private float smoothSnapSpeed = 5f; [SerializeField, Range(-1f, 1f), Tooltip("The lever's value on the x-axis.")] - public float valueX = 0f; + private float valueX = 0f; [SerializeField, Range(-1f, 1f), Tooltip("The lever's value on the y-axis.")] - public float valueY = 0f; + private float valueY = 0f; [SerializeField, Range(-1f, 1f), Tooltip("The lever's value on the z-axis.")] - public float valueZ = 0f; + private float valueZ = 0f; [SerializeField, Space, Tooltip("A normalized value per axis indicating the levers pose.")] private UnityEvent valueChanged = null;