Add ultimate xr

This commit is contained in:
2024-08-06 21:58:35 +02:00
parent 864033bf10
commit 7165bacd9d
3952 changed files with 2162037 additions and 35 deletions

View File

@@ -0,0 +1,21 @@
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="UxrComponentProcessor.cs" company="VRMADA">
// Copyright (c) VRMADA, All rights reserved.
// </copyright>
// --------------------------------------------------------------------------------------------------------------------
using UnityEngine;
namespace UltimateXR.Editor
{
/// <summary>
/// Component processor delegate used by <see cref="UxrEditorUtils.ModifyComponent{T}" /> and
/// <see cref="UxrEditorUtils.ProcessAllProjectComponents{T}" />.
/// The component processor is responsible for modifying/processing all the components that these methods will send.
/// </summary>
/// <typeparam name="T">Type of component to process</typeparam>
/// <param name="onlyCheck">
/// Whether to only check if components should be processed, without making any changes. This
/// can be used to get how many elements would be changed without modifying any data
/// </param>
public delegate bool UxrComponentProcessor<T>(UxrComponentInfo<T> componentInfo, bool onlyCheck) where T : Component;
}