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