Skip to content

Commit

Permalink
Fix public members of lever should not be public (#146)
Browse files Browse the repository at this point in the history
  • Loading branch information
FejZa authored Jul 27, 2024
1 parent 70c19f7 commit e68a9f7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Runtime/Input/InteractionBehaviours/LeverBehaviour.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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<Vector3> valueChanged = null;
Expand Down

0 comments on commit e68a9f7

Please sign in to comment.