using System;
using UnityEngine.Scripting.APIUpdating;
namespace UnityEngine.XR.Interaction.Toolkit.Locomotion.Climbing
{
///
/// Settings for climb locomotion. These settings can be used globally as part of the
/// or as overrides per-instance of .
///
[Serializable]
[MovedFrom("UnityEngine.XR.Interaction.Toolkit")]
public class ClimbSettings
{
[SerializeField]
[Tooltip("Controls whether to allow unconstrained movement along the climb interactable's x-axis.")]
bool m_AllowFreeXMovement = true;
///
/// Controls whether to allow unconstrained movement along the 's x-axis.
///
public bool allowFreeXMovement
{
get => m_AllowFreeXMovement;
set => m_AllowFreeXMovement = value;
}
[SerializeField]
[Tooltip("Controls whether to allow unconstrained movement along the climb interactable's y-axis.")]
bool m_AllowFreeYMovement = true;
///
/// Controls whether to allow unconstrained movement along the 's y-axis.
///
public bool allowFreeYMovement
{
get => m_AllowFreeYMovement;
set => m_AllowFreeYMovement = value;
}
[SerializeField]
[Tooltip("Controls whether to allow unconstrained movement along the climb interactable's z-axis.")]
bool m_AllowFreeZMovement = true;
///
/// Controls whether to allow unconstrained movement along the 's z-axis.
///
public bool allowFreeZMovement
{
get => m_AllowFreeZMovement;
set => m_AllowFreeZMovement = value;
}
}
}