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,32 @@
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="UxrHandPoseAssetEditor.cs" company="VRMADA">
// Copyright (c) VRMADA, All rights reserved.
// </copyright>
// --------------------------------------------------------------------------------------------------------------------
using UltimateXR.Manipulation.HandPoses;
using UnityEditor;
using UnityEngine;
namespace UltimateXR.Editor.Manipulation.HandPoses
{
/// <summary>
/// Custom inspector for <see cref="UxrHandPoseAsset" />.
/// </summary>
[CustomEditor(typeof(UxrHandPoseAsset))]
public class UxrHandPoseAssetEditor : UnityEditor.Editor
{
#region Unity
/// <summary>
/// Draw the inspector but editing will be disabled because data should be only modified by the hand pose editor.
/// </summary>
public override void OnInspectorGUI()
{
GUI.enabled = false;
DrawPropertiesExcluding(serializedObject, "m_Script");
GUI.enabled = true;
}
#endregion
}
}