Move third party assets to ThirdParty folder
This commit is contained in:
36
Assets/ThirdParty/UltimateXR/Runtime/Scripts/Locomotion/UxrTeleportTargetMaterialID.cs
vendored
Normal file
36
Assets/ThirdParty/UltimateXR/Runtime/Scripts/Locomotion/UxrTeleportTargetMaterialID.cs
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
// --------------------------------------------------------------------------------------------------------------------
|
||||
// <copyright file="UxrTeleportTargetMaterialID.cs" company="VRMADA">
|
||||
// Copyright (c) VRMADA, All rights reserved.
|
||||
// </copyright>
|
||||
// --------------------------------------------------------------------------------------------------------------------
|
||||
using UltimateXR.Core.Components;
|
||||
using UnityEngine;
|
||||
|
||||
namespace UltimateXR.Locomotion
|
||||
{
|
||||
/// <summary>
|
||||
/// Component that allows to specify which material ID needs to be changed by an <see cref="UxrTeleportTarget" /> when
|
||||
/// different colors are used to indicate whether the teleport is currently valid or not.
|
||||
/// </summary>
|
||||
public class UxrTeleportTargetMaterialID : UxrComponent
|
||||
{
|
||||
#region Inspector Properties/Serialized Fields
|
||||
|
||||
[SerializeField] private int _materialID;
|
||||
|
||||
#endregion
|
||||
|
||||
#region Public Types & Data
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the Material ID.
|
||||
/// </summary>
|
||||
public int MaterialID
|
||||
{
|
||||
get => _materialID;
|
||||
set => _materialID = value;
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user