mixedreality/com.microsoft.mixedreality..../Editor/Inspectors/RemotingSettingsInspector.cs

20 lines
579 B
C#

// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using Microsoft.MixedReality.OpenXR.Remoting;
using UnityEditor;
namespace Microsoft.MixedReality.OpenXR.Editor
{
[CustomEditor(typeof(RemotingSettings))]
internal class RemotingSettingsInspector : UnityEditor.Editor
{
public override void OnInspectorGUI()
{
serializedObject.UpdateIfRequiredOrScript();
DrawPropertiesExcluding(serializedObject, new string[] { "m_Script" });
serializedObject.ApplyModifiedProperties();
}
}
}