Move third party assets to ThirdParty folder
This commit is contained in:
51
Assets/ThirdParty/UltimateXR/Runtime/Scripts/Locomotion/UxrTeleportLocomotionBase.Validator.cs
vendored
Normal file
51
Assets/ThirdParty/UltimateXR/Runtime/Scripts/Locomotion/UxrTeleportLocomotionBase.Validator.cs
vendored
Normal file
@@ -0,0 +1,51 @@
|
||||
// --------------------------------------------------------------------------------------------------------------------
|
||||
// <copyright file="UxrTeleportLocomotionBase.Validator.cs" company="VRMADA">
|
||||
// Copyright (c) VRMADA, All rights reserved.
|
||||
// </copyright>
|
||||
// --------------------------------------------------------------------------------------------------------------------
|
||||
using System;
|
||||
|
||||
namespace UltimateXR.Locomotion
|
||||
{
|
||||
public abstract partial class UxrTeleportLocomotionBase
|
||||
{
|
||||
#region Private Types & Data
|
||||
|
||||
/// <summary>
|
||||
/// Stores a destination validator function and its mode.
|
||||
/// </summary>
|
||||
private class Validator
|
||||
{
|
||||
#region Public Types & Data
|
||||
|
||||
/// <summary>
|
||||
/// Gets the validator function.
|
||||
/// </summary>
|
||||
public Func<UxrTeleportDestination, bool> ValidatorFunc { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the validator execution mode.
|
||||
/// </summary>
|
||||
public UxrDestinationValidatorMode Mode { get; }
|
||||
|
||||
#endregion
|
||||
|
||||
#region Constructors & Finalizer
|
||||
|
||||
/// <summary>
|
||||
/// Constructor.
|
||||
/// </summary>
|
||||
/// <param name="validatorFunc">The validator function</param>
|
||||
/// <param name="mode">The validator execution mode</param>
|
||||
public Validator(Func<UxrTeleportDestination, bool> validatorFunc, UxrDestinationValidatorMode mode)
|
||||
{
|
||||
ValidatorFunc = validatorFunc;
|
||||
Mode = mode;
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user