Move third party assets to ThirdParty folder

This commit is contained in:
2024-08-08 11:26:28 +02:00
parent 386f303057
commit bd91af6f98
10340 changed files with 100 additions and 175 deletions

View File

@@ -0,0 +1,53 @@
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="UxrInput2DEventArgs.cs" company="VRMADA">
// Copyright (c) VRMADA, All rights reserved.
// </copyright>
// --------------------------------------------------------------------------------------------------------------------
using System;
using UltimateXR.Core;
using UnityEngine;
namespace UltimateXR.Devices
{
/// <summary>
/// Stores information of a <see cref="UxrInput2D" /> input event.
/// </summary>
public sealed class UxrInput2DEventArgs : EventArgs
{
#region Public Types & Data
/// <summary>
/// Gets which hand performed the input.
/// </summary>
public UxrHandSide HandSide { get; }
/// <summary>
/// Gets the input target.
/// </summary>
public UxrInput2D Target { get; }
/// <summary>
/// Gets the new input value.
/// </summary>
public Vector2 Value { get; }
#endregion
#region Constructors & Finalizer
/// <summary>
/// Constructor.
/// </summary>
/// <param name="handSide">Target hand</param>
/// <param name="target">Input target</param>
/// <param name="newValue">New input value</param>
public UxrInput2DEventArgs(UxrHandSide handSide, UxrInput2D target, Vector2 newValue)
{
HandSide = handSide;
Target = target;
Value = newValue;
}
#endregion
}
}