// --------------------------------------------------------------------------------------------------------------------
//
// Copyright (c) VRMADA, All rights reserved.
//
// --------------------------------------------------------------------------------------------------------------------
using System;
namespace UltimateXR.Locomotion
{
public abstract partial class UxrTeleportLocomotionBase
{
#region Private Types & Data
///
/// Stores a destination validator function and its mode.
///
private class Validator
{
#region Public Types & Data
///
/// Gets the validator function.
///
public Func ValidatorFunc { get; }
///
/// Gets the validator execution mode.
///
public UxrDestinationValidatorMode Mode { get; }
#endregion
#region Constructors & Finalizer
///
/// Constructor.
///
/// The validator function
/// The validator execution mode
public Validator(Func validatorFunc, UxrDestinationValidatorMode mode)
{
ValidatorFunc = validatorFunc;
Mode = mode;
}
#endregion
}
#endregion
}
}